#9E87DA#9E87DA

#9E87DA is a light, vivid violet. Relative luminance 0.297; OKLCH L 67.7% C 0.122 H 295.7°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#9E87DA
RGBrgb(158, 135, 218)
HSLhsl(257, 53%, 69%)
HSVhsv(257, 38%, 85%)
CMYKcmyk(27.5%, 38.1%, 0%, 14.5%)
CIE-LABlab(61.36, 26.36, -39.38)
CIE-LCHlch(61.36, 47.39, 303.79°)
OKLaboklab(67.73% 0.0529 -0.1098)
OKLCHoklch(67.73% 0.122 295.7)
XYZxyz(35.4164, 29.6586, 70.1749)
Luminance0.2966 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E87DA #C3DA87
analogous
#879ADA #9E87DA #C887DA
triadic
#9E87DA #DA9E87 #87DA9E
tetradic
#9E87DA #DA879A #C3DA87 #87DAC8
square
#9E87DA #DA879A #C3DA87 #87DAC8
split-complementary
#9E87DA #DAC887 #9ADA87
monochromatic
#5836B0 #7858CC #9E87DA #C4B6E8 #EAE5F7

Accessibility & contrast

On white

3.03
#9E87DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#9E87DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E87DA
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E87DA#FFFFFF#000000##000000
##9E87DA1.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7095DD
Deuteranopia (green-blind)
#7493D8
Tritanopia (blue-blind)
#9295A6
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #9e87da;
/* rgb */ color: rgb(158, 135, 218);
/* oklch */ color: oklch(67.7% 0.122 295.7);
Tailwind
colors: {
  custom: {
    50: '#bcaae6',
    500: '#9e87da',
    950: '#000000',
  },
}
SCSS
$custom: #9e87da;
$custom-light: #bcaae6;
$custom-dark: #000000;
JSON
{
  "hex": "#9e87da",
  "rgb": {
    "r": 158,
    "g": 135,
    "b": 218
  },
  "hsl": {
    "h": 256.627,
    "s": 52.866,
    "l": 69.216
  },
  "oklch": {
    "l": 0.6773,
    "c": 0.12189,
    "h": 295.7
  },
  "luminance": 0.29659
}

Semantic roles & 50–950 ramp

primary
#9E87DA
secondary
#E4EAD2
accent
#C02595
background
#FBFAFE
surface
#F7F4FC
border
#D0CED5
text
#121016
muted
#817F84

Preview Lab

Preview with #9E87DA

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#9E87DA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva