#C987FF#C987FF

#C987FF is a light, vivid violet. Relative luminance 0.370; OKLCH L 73.7% C 0.178 H 308.0°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#C987FF
RGBrgb(201, 135, 255)
HSLhsl(273, 100%, 76%)
HSVhsv(273, 47%, 100%)
CMYKcmyk(21.2%, 47.1%, 0%, 0%)
CIE-LABlab(67.25, 46.92, -50.25)
CIE-LCHlch(67.25, 68.75, 313.04°)
OKLaboklab(73.7% 0.1096 -0.1404)
OKLCHoklch(73.7% 0.178 308)
XYZxyz(50.7978, 36.9661, 99.0475)
Luminance0.3696 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C987FF #BDFF87
analogous
#8D87FF #C987FF #FF87F9
triadic
#C987FF #FFC987 #87FFC9
tetradic
#C987FF #FF8D87 #BDFF87 #87F9FF
square
#C987FF #FF8D87 #BDFF87 #87F9FF
split-complementary
#C987FF #F9FF87 #87FF8D
monochromatic
#920DFF #AD4AFF #C987FF #E5C4FF #F1E0FF

Accessibility & contrast

On white

2.50
#C987FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.39
#C987FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C987FF
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C987FF#FFFFFF#000000##000000
##C987FF1.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#68A1FF
Deuteranopia (green-blind)
#7AA5FC
Tritanopia (blue-blind)
#C19BB7
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #c987ff;
/* rgb */ color: rgb(201, 135, 255);
/* oklch */ color: oklch(73.7% 0.178 308.0);
Tailwind
colors: {
  custom: {
    50: '#dcabff',
    500: '#c987ff',
    950: '#000000',
  },
}
SCSS
$custom: #c987ff;
$custom-light: #dcabff;
$custom-dark: #000000;
JSON
{
  "hex": "#c987ff",
  "rgb": {
    "r": 201,
    "g": 135,
    "b": 255
  },
  "hsl": {
    "h": 273,
    "s": 100,
    "l": 76.471
  },
  "oklch": {
    "l": 0.73701,
    "c": 0.17811,
    "h": 308
  },
  "luminance": 0.36965
}

Semantic roles & 50–950 ramp

primary
#C987FF
secondary
#E4F7D4
accent
#E60067
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #C987FF

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

Preview Lab → · Contrast checker → · Palette generator →

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