#9C87DA#9C87DA

#9C87DA is a light, vivid violet. Relative luminance 0.295; OKLCH L 67.6% C 0.122 H 294.6°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#9C87DA
RGBrgb(156, 135, 218)
HSLhsl(255, 53%, 69%)
HSVhsv(255, 38%, 85%)
CMYKcmyk(28.4%, 38.1%, 0%, 14.5%)
CIE-LABlab(61.18, 25.79, -39.67)
CIE-LCHlch(61.18, 47.31, 303.02°)
OKLaboklab(67.55% 0.0506 -0.1107)
OKLCHoklch(67.55% 0.122 294.6)
XYZxyz(35.0261, 29.4573, 70.1566)
Luminance0.2946 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C87DA #C5DA87
analogous
#879CDA #9C87DA #C687DA
triadic
#9C87DA #DA9C87 #87DA9C
tetradic
#9C87DA #DA879C #C5DA87 #87DAC6
square
#9C87DA #DA879C #C5DA87 #87DAC6
split-complementary
#9C87DA #DAC687 #9CDA87
monochromatic
#5536B0 #7558CC #9C87DA #C3B6E8 #E9E5F7

Accessibility & contrast

On white

3.05
#9C87DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#9C87DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C87DA
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C87DA#FFFFFF#000000##000000
##9C87DA1.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7094DD
Deuteranopia (green-blind)
#7392D8
Tritanopia (blue-blind)
#8F96A6
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #9c87da;
/* rgb */ color: rgb(156, 135, 218);
/* oklch */ color: oklch(67.6% 0.122 294.6);
Tailwind
colors: {
  custom: {
    50: '#bbaae6',
    500: '#9c87da',
    950: '#000000',
  },
}
SCSS
$custom: #9c87da;
$custom-light: #bbaae6;
$custom-dark: #000000;
JSON
{
  "hex": "#9c87da",
  "rgb": {
    "r": 156,
    "g": 135,
    "b": 218
  },
  "hsl": {
    "h": 255.181,
    "s": 52.866,
    "l": 69.216
  },
  "oklch": {
    "l": 0.67554,
    "c": 0.12169,
    "h": 294.6
  },
  "luminance": 0.29458
}

Semantic roles & 50–950 ramp

primary
#9C87DA
secondary
#E4EAD2
accent
#C02599
background
#FBFAFE
surface
#F6F4FC
border
#D0CED5
text
#121016
muted
#817F84

Preview Lab

Preview with #9C87DA

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

Preview Lab → · Contrast checker → · Palette generator →

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