#CD87F0#CD87F0

#CD87F0 is a light, vivid purple. Relative luminance 0.366; OKLCH L 73.4% C 0.163 H 313.6°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#CD87F0
RGBrgb(205, 135, 240)
HSLhsl(280, 78%, 74%)
HSVhsv(280, 44%, 94%)
CMYKcmyk(14.6%, 43.8%, 0%, 5.9%)
CIE-LABlab(66.98, 44.80, -42.44)
CIE-LCHlch(66.98, 61.71, 316.55°)
OKLaboklab(73.36% 0.1122 -0.1176)
OKLCHoklch(73.36% 0.163 313.6)
XYZxyz(49.5664, 36.5995, 86.8745)
Luminance0.3660 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD87F0 #AAF087
analogous
#9887F0 #CD87F0 #F087DE
triadic
#CD87F0 #F0CD87 #87F0CD
tetradic
#CD87F0 #F09887 #AAF087 #87DEF0
square
#CD87F0 #F09887 #AAF087 #87DEF0
split-complementary
#CD87F0 #DEF087 #87F098
monochromatic
#9F1CE1 #B651E9 #CD87F0 #E4BDF7 #F4E4FC

Accessibility & contrast

On white

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

On black

8.32
#CD87F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD87F0
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD87F0#FFFFFF#000000##000000
##CD87F01.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#729FF4
Deuteranopia (green-blind)
#85A5ED
Tritanopia (blue-blind)
#CA96B0
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cd87f0;
/* rgb */ color: rgb(205, 135, 240);
/* oklch */ color: oklch(73.4% 0.163 313.6);
Tailwind
colors: {
  custom: {
    50: '#deabf5',
    500: '#cd87f0',
    950: '#000000',
  },
}
SCSS
$custom: #cd87f0;
$custom-light: #deabf5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd87f0",
  "rgb": {
    "r": 205,
    "g": 135,
    "b": 240
  },
  "hsl": {
    "h": 280,
    "s": 77.778,
    "l": 73.529
  },
  "oklch": {
    "l": 0.73361,
    "c": 0.16257,
    "h": 313.6
  },
  "luminance": 0.36598
}

Semantic roles & 50–950 ramp

primary
#CD87F0
secondary
#E1F3D8
accent
#DA0B50
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#151017
muted
#837F85

Preview Lab

Preview with #CD87F0

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

Preview Lab → · Contrast checker → · Palette generator →

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