#C987E7#C987E7

#C987E7 is a light, vivid purple. Relative luminance 0.355; OKLCH L 72.5% C 0.151 H 314.7°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#C987E7
RGBrgb(201, 135, 231)
HSLhsl(281, 67%, 72%)
HSVhsv(281, 42%, 91%)
CMYKcmyk(13%, 41.6%, 0%, 9.4%)
CIE-LABlab(66.15, 41.78, -38.80)
CIE-LCHlch(66.15, 57.02, 317.12°)
OKLaboklab(72.52% 0.106 -0.1073)
OKLCHoklch(72.52% 0.151 314.7)
XYZxyz(47.1729, 35.5161, 79.9561)
Luminance0.3552 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C987E7 #A5E787
analogous
#9987E7 #C987E7 #E787D5
triadic
#C987E7 #E7C987 #87E7C9
tetradic
#C987E7 #E79987 #A5E787 #87D5E7
square
#C987E7 #E79987 #A5E787 #87D5E7
split-complementary
#C987E7 #D5E787 #87E799
monochromatic
#9829CB #B254DD #C987E7 #E0BAF1 #F4E5FA

Accessibility & contrast

On white

2.59
#C987E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.10
#C987E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C987E7
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C987E7#FFFFFF#000000##000000
##C987E71.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#769DEA
Deuteranopia (green-blind)
#87A3E4
Tritanopia (blue-blind)
#C794AC
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #c987e7;
/* rgb */ color: rgb(201, 135, 231);
/* oklch */ color: oklch(72.5% 0.151 314.7);
Tailwind
colors: {
  custom: {
    50: '#dbabef',
    500: '#c987e7',
    950: '#000000',
  },
}
SCSS
$custom: #c987e7;
$custom-light: #dbabef;
$custom-dark: #000000;
JSON
{
  "hex": "#c987e7",
  "rgb": {
    "r": 201,
    "g": 135,
    "b": 231
  },
  "hsl": {
    "h": 281.25,
    "s": 66.667,
    "l": 71.765
  },
  "oklch": {
    "l": 0.72515,
    "c": 0.15077,
    "h": 314.7
  },
  "luminance": 0.35515
}

Semantic roles & 50–950 ramp

primary
#C987E7
secondary
#E0F1D9
accent
#CF1750
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #C987E7

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

Preview Lab → · Contrast checker → · Palette generator →

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