#EB87EA Violet

rgb(235, 135, 234)

Color conversions

HEX
#EB87EA
RGB
rgb(235, 135, 234)
RGBA
rgba(235, 135, 234, 1)
HSL
hsl(301, 71%, 73%)
HSV / HSB
hsv(301, 43%, 92%)
CMYK
cmyk(0%, 43%, 0%, 8%)

Wide-gamut spaces

XYZ
xyz(57.775, 40.933, 82.684)
LAB
lab(70.13 52.3 -33.97)
LCH
lch(70.13 62.36 327)
OKLAB
oklab(76.38% 0.1454 -0.0928)
OKLCH
oklch(76.38% 0.1725 327.46)
Nearest name
Violet

Shades, tints and tones

Shades

Tints

Tones

Color harmonies

Complementary

The hue directly opposite on the color wheel. Maximum contrast, ideal for a single accent against a dominant brand color.

Analogous

Neighbouring hues that share a temperature. The safest harmony for calm, cohesive interfaces.

Triadic

Three hues evenly spaced 120 degrees apart. Vibrant and balanced — use one as dominant and the other two sparingly.

Split Complementary

The complement split into two adjacent hues. Nearly the contrast of complementary with noticeably less tension.

Square (Tetradic)

Four hues at 90-degree intervals. A rich set for illustration, data visualisation, and category coding.

Rectangle (Tetradic)

Two complementary pairs offset by 60 degrees. Gives two warm and two cool options in one system.

Monochromatic

A single hue across five lightness levels. The foundation of most UI scales and the most accessible starting point.

Similar colors

Closest matches

Opacity variations

#eb87ea1a

#eb87ea33

#eb87ea4d

#eb87ea66

#eb87ea80

#eb87ea99

#eb87eab3

#eb87eacc

#eb87eae6

#eb87eaff

Accessibility and contrast

On white

2.29:1

Body text Fail · Large text Fail

On black

9.19:1

Body text AAA · Large text AA

White-on-color contrast is 2.29:1.

Color blindness preview

Protanopia

No red cones — ~1% of men

Protanomaly

Reduced red sensitivity — ~1% of men

Deuteranopia

No green cones — ~1% of men

Deuteranomaly

Reduced green sensitivity — ~5% of men

Tritanopia

No blue cones — very rare

Tritanomaly

Reduced blue sensitivity — very rare

Achromatopsia

No color perception — ~1 in 30,000

Achromatomaly

Partial color perception — rare

Meaning, psychology and brand usage

Confident, contemporary, impossible to ignore

Magenta has no single wavelength — the brain constructs it — and that unusual quality is part of why it feels synthetic and current. It signals boldness and non-conformity without red's aggression.

Modernity, playfulness, and inclusivity in contemporary Western design; historically associated with fashion and print.

Named after the 1859 Battle of Magenta, the dye arrived alongside mauveine in the first wave of synthetic colours. It is one of the four process inks in CMYK printing.

Works as a high-impact accent or a brave primary in fashion, telecom, and culture. Needs generous white space; at scale it fatigues the eye quickly.

Common industries: Fashion, Telecom, Music, Culture, Beauty. Pairs well with deep indigo for depth, cream for softness, charcoal for editorial contrast.

Code exports

CSS

:root {
  --color-violet: #eb87ea;
  --color-violet-rgb: 235 135 234;
  --color-violet-hsl: 301 71% 73%;
  --color-violet-oklch: 76.38% 0.1725 327.46;
}

.element {
  color: #eb87ea;
  background-color: hsl(301, 71%, 73%);
  border: 1px solid rgb(235 135 234 / 40%);
}

SCSS

$violet: #eb87ea;
$violet-light: #f5c3f5;
$violet-dark: #764475;

.element {
  color: $violet;
  background: rgba($violet, 0.12);

  &:hover {
    color: darken($violet, 8%);
  }
}

LESS

@violet: #eb87ea;
@violet-light: lighten(@violet, 12%);
@violet-dark: darken(@violet, 12%);

.element {
  color: @violet;
  background: fade(@violet, 12%);
}

Tailwind CSS

/* Tailwind v4 — src/styles.css */
@theme {
  --color-violet-50: #fbe7fb;
  --color-violet-100: #f9dbf9;
  --color-violet-200: #f7cff7;
  --color-violet-300: #f3b7f2;
  --color-violet-400: #ef9fee;
  --color-violet-500: #eb87ea;
  --color-violet-600: #d47ad3;
  --color-violet-700: #a55fa4;
  --color-violet-800: #764475;
  --color-violet-900: #472946;
}

/* Usage */
<div class="bg-violet-500 text-violet-50 ring-violet-600" />

/* Arbitrary value, no config needed */
<div class="bg-[#eb87ea]" />

Bootstrap

// Bootstrap 5 — _variables.scss (before importing bootstrap)
$violet: #eb87ea;
$primary: $violet;

$theme-colors: map-merge($theme-colors, (
  "violet": $violet
));

// Generates .text-violet, .bg-violet, .btn-violet
@import "bootstrap/scss/bootstrap";

Flutter

import 'package:flutter/material.dart';

const Color violet = Color(0xFFEB87EA);

// As a MaterialColor swatch
const MaterialColor violetSwatch = MaterialColor(0xFFEB87EA, <int, Color>{
  50: Color(0xFFFBE7FB),
  100: Color(0xFFF9DBF9),
  200: Color(0xFFF7CFF7),
  300: Color(0xFFF3B7F2),
  400: Color(0xFFEF9FEE),
  500: Color(0xFFEB87EA),
  600: Color(0xFFD47AD3),
  700: Color(0xFFA55FA4),
  800: Color(0xFF764475),
  900: Color(0xFF472946),
});

Swift / SwiftUI

import SwiftUI

extension Color {
    /// #eb87ea — Violet
    static let violet = Color(
        red: 0.9216,
        green: 0.5294,
        blue: 0.9176
    )
}

// UIKit
extension UIColor {
    static let violet = UIColor(
        red: 0.9216,
        green: 0.5294,
        blue: 0.9176,
        alpha: 1.0
    )
}

Android

<!-- res/values/colors.xml -->
<resources>
    <color name="violet">#EB87EA</color>
    <color name="violet_translucent">#80EB87EA</color>
</resources>

<!-- Jetpack Compose -->
val Violet = Color(0xFFEB87EA)

JavaScript

export const VIOLET = {
  hex: "#eb87ea",
  rgb: [235, 135, 234],
  hsl: [301, 71, 73],
  oklch: "oklch(76.38% 0.1725 327.46)",
};

JSON tokens

{
  "$schema": "https://design-tokens.org/schema.json",
  "violet": {
    "$type": "color",
    "$value": "#eb87ea",
    "$description": "Violet — generated by ColorVerse AI"
  }
}