#C987FD#C987FD

#C987FD is a light, vivid violet. Relative luminance 0.368; OKLCH L 73.6% C 0.176 H 308.5°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#C987FD
RGBrgb(201, 135, 253)
HSLhsl(274, 97%, 76%)
HSVhsv(274, 47%, 99%)
CMYKcmyk(20.6%, 46.6%, 0%, 0.8%)
CIE-LABlab(67.16, 46.48, -49.31)
CIE-LCHlch(67.16, 67.76, 313.31°)
OKLaboklab(73.6% 0.1094 -0.1376)
OKLCHoklch(73.6% 0.176 308.5)
XYZxyz(50.4776, 36.8379, 97.3607)
Luminance0.3684 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C987FD #BBFD87
analogous
#8E87FD #C987FD #FD87F6
triadic
#C987FD #FDC987 #87FDC9
tetradic
#C987FD #FD8E87 #BBFD87 #87F6FD
square
#C987FD #FD8E87 #BBFD87 #87F6FD
split-complementary
#C987FD #F6FD87 #87FD8E
monochromatic
#930FFB #AE4BFC #C987FD #E4C3FE #F1E1FE

Accessibility & contrast

On white

2.51
#C987FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#C987FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C987FD
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C987FD#FFFFFF#000000##000000
##C987FD1.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6AA1FF
Deuteranopia (green-blind)
#7BA4FA
Tritanopia (blue-blind)
#C29AB6
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #c987fd;
/* rgb */ color: rgb(201, 135, 253);
/* oklch */ color: oklch(73.6% 0.176 308.5);
Tailwind
colors: {
  custom: {
    50: '#dbabfe',
    500: '#c987fd',
    950: '#000000',
  },
}
SCSS
$custom: #c987fd;
$custom-light: #dbabfe;
$custom-dark: #000000;
JSON
{
  "hex": "#c987fd",
  "rgb": {
    "r": 201,
    "g": 135,
    "b": 253
  },
  "hsl": {
    "h": 273.559,
    "s": 96.721,
    "l": 76.078
  },
  "oklch": {
    "l": 0.73597,
    "c": 0.17582,
    "h": 308.5
  },
  "luminance": 0.36837
}

Semantic roles & 50–950 ramp

primary
#C987FD
secondary
#E3F7D4
accent
#E60065
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #C987FD

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

Preview Lab → · Contrast checker → · Palette generator →

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