#C987EB#C987EB

#C987EB is a light, vivid violet. Relative luminance 0.357; OKLCH L 72.7% C 0.155 H 313.4°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#C987EB
RGBrgb(201, 135, 235)
HSLhsl(280, 71%, 73%)
HSVhsv(280, 43%, 92%)
CMYKcmyk(14.5%, 42.6%, 0%, 7.8%)
CIE-LABlab(66.32, 42.62, -40.74)
CIE-LCHlch(66.32, 58.95, 316.29°)
OKLaboklab(72.7% 0.1067 -0.1128)
OKLCHoklch(72.7% 0.155 313.4)
XYZxyz(47.7443, 35.7446, 82.9655)
Luminance0.3574 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C987EB #A9EB87
analogous
#9787EB #C987EB #EB87DB
triadic
#C987EB #EBC987 #87EBC9
tetradic
#C987EB #EB9787 #A9EB87 #87DBEB
square
#C987EB #EB9787 #A9EB87 #87DBEB
split-complementary
#C987EB #DBEB87 #87EB97
monochromatic
#9823D4 #B153E2 #C987EB #E1BBF4 #F3E5FB

Accessibility & contrast

On white

2.58
#C987EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#C987EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C987EB
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C987EB#FFFFFF#000000##000000
##C987EB1.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#749EEF
Deuteranopia (green-blind)
#85A3E8
Tritanopia (blue-blind)
#C695AE
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #c987eb;
/* rgb */ color: rgb(201, 135, 235);
/* oklch */ color: oklch(72.7% 0.155 313.4);
Tailwind
colors: {
  custom: {
    50: '#dbabf2',
    500: '#c987eb',
    950: '#000000',
  },
}
SCSS
$custom: #c987eb;
$custom-light: #dbabf2;
$custom-dark: #000000;
JSON
{
  "hex": "#c987eb",
  "rgb": {
    "r": 201,
    "g": 135,
    "b": 235
  },
  "hsl": {
    "h": 279.6,
    "s": 71.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.72704,
    "c": 0.15527,
    "h": 313.4
  },
  "luminance": 0.35744
}

Semantic roles & 50–950 ramp

primary
#C987EB
secondary
#E1F2D9
accent
#D31254
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #C987EB

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

Preview Lab → · Contrast checker → · Palette generator →

#C987EB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva