#C987EA#C987EA

#C987EA is a light, vivid purple. Relative luminance 0.357; OKLCH L 72.7% C 0.154 H 313.7°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#C987EA
RGBrgb(201, 135, 234)
HSLhsl(280, 70%, 72%)
HSVhsv(280, 42%, 92%)
CMYKcmyk(14.1%, 42.3%, 0%, 8.2%)
CIE-LABlab(66.28, 42.41, -40.25)
CIE-LCHlch(66.28, 58.47, 316.49°)
OKLaboklab(72.66% 0.1065 -0.1114)
OKLCHoklch(72.66% 0.154 313.7)
XYZxyz(47.6002, 35.6870, 82.2067)
Luminance0.3569 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C987EA #A8EA87
analogous
#9887EA #C987EA #EA87DA
triadic
#C987EA #EAC987 #87EAC9
tetradic
#C987EA #EA9887 #A8EA87 #87DAEA
square
#C987EA #EA9887 #A8EA87 #87DAEA
split-complementary
#C987EA #DAEA87 #87EA98
monochromatic
#9825D2 #B253E1 #C987EA #E0BBF3 #F3E5FA

Accessibility & contrast

On white

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

On black

8.14
#C987EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C987EA
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C987EA#FFFFFF#000000##000000
##C987EA1.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#749DEE
Deuteranopia (green-blind)
#85A3E7
Tritanopia (blue-blind)
#C695AD
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #c987ea;
/* rgb */ color: rgb(201, 135, 234);
/* oklch */ color: oklch(72.7% 0.154 313.7);
Tailwind
colors: {
  custom: {
    50: '#dbabf1',
    500: '#c987ea',
    950: '#000000',
  },
}
SCSS
$custom: #c987ea;
$custom-light: #dbabf1;
$custom-dark: #000000;
JSON
{
  "hex": "#c987ea",
  "rgb": {
    "r": 201,
    "g": 135,
    "b": 234
  },
  "hsl": {
    "h": 280,
    "s": 70.213,
    "l": 72.353
  },
  "oklch": {
    "l": 0.72657,
    "c": 0.15414,
    "h": 313.7
  },
  "luminance": 0.35686
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C987EA

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

Preview Lab → · Contrast checker → · Palette generator →

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