#C987FA#C987FA

#C987FA is a light, vivid violet. Relative luminance 0.366; OKLCH L 73.4% C 0.172 H 309.2°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#C987FA
RGBrgb(201, 135, 250)
HSLhsl(274, 92%, 75%)
HSVhsv(274, 46%, 98%)
CMYKcmyk(19.6%, 46%, 0%, 2%)
CIE-LABlab(67.01, 45.82, -47.89)
CIE-LCHlch(67.01, 66.29, 313.73°)
OKLaboklab(73.44% 0.109 -0.1335)
OKLCHoklch(73.44% 0.172 309.2)
XYZxyz(50.0034, 36.6483, 94.8636)
Luminance0.3665 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C987FA #B8FA87
analogous
#8F87FA #C987FA #FA87F1
triadic
#C987FA #FAC987 #87FAC9
tetradic
#C987FA #FA8F87 #B8FA87 #87F1FA
square
#C987FA #FA8F87 #B8FA87 #87F1FA
split-complementary
#C987FA #F1FA87 #87FA8F
monochromatic
#9411F5 #AF4CF8 #C987FA #E3C2FC #F2E2FE

Accessibility & contrast

On white

2.52
#C987FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.33
#C987FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C987FA
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C987FA#FFFFFF#000000##000000
##C987FA1.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6BA0FE
Deuteranopia (green-blind)
#7DA4F7
Tritanopia (blue-blind)
#C399B5
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #c987fa;
/* rgb */ color: rgb(201, 135, 250);
/* oklch */ color: oklch(73.4% 0.172 309.2);
Tailwind
colors: {
  custom: {
    50: '#dbabfc',
    500: '#c987fa',
    950: '#000000',
  },
}
SCSS
$custom: #c987fa;
$custom-light: #dbabfc;
$custom-dark: #000000;
JSON
{
  "hex": "#c987fa",
  "rgb": {
    "r": 201,
    "g": 135,
    "b": 250
  },
  "hsl": {
    "h": 274.435,
    "s": 92,
    "l": 75.49
  },
  "oklch": {
    "l": 0.73444,
    "c": 0.17237,
    "h": 309.2
  },
  "luminance": 0.36648
}

Semantic roles & 50–950 ramp

primary
#C987FA
secondary
#E3F6D5
accent
#E60062
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #C987FA

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

Preview Lab → · Contrast checker → · Palette generator →

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