#CD51EE#CD51EE

#CD51EE is a light, highly saturated purple. Relative luminance 0.250; OKLCH L 66.1% C 0.241 H 318.5°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#CD51EE
RGBrgb(205, 81, 238)
HSLhsl(287, 82%, 63%)
HSVhsv(287, 66%, 93%)
CMYKcmyk(13.9%, 66%, 0%, 6.7%)
CIE-LABlab(57.11, 70.32, -56.94)
CIE-LCHlch(57.11, 90.49, 321.00°)
OKLaboklab(66.09% 0.1801 -0.1595)
OKLCHoklch(66.09% 0.241 318.5)
XYZxyz(43.5498, 25.0390, 83.4114)
Luminance0.2504 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD51EE #72EE51
analogous
#7F51EE #CD51EE #EE51C0
triadic
#CD51EE #EECD51 #51EECD
tetradic
#CD51EE #EE7F51 #72EE51 #51C0EE
square
#CD51EE #EE7F51 #72EE51 #51C0EE
split-complementary
#CD51EE #C0EE51 #51EE7F
monochromatic
#9111B3 #BD19E9 #CD51EE #DD89F3 #EDC1F9

Accessibility & contrast

On white

3.50
#CD51EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#CD51EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD51EE
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD51EE#FFFFFF#000000##000000
##CD51EE1.003.506.016.01
#FFFFFF3.501.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0E81F3
Deuteranopia (green-blind)
#598DEA
Tritanopia (blue-blind)
#CD6E99
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cd51ee;
/* rgb */ color: rgb(205, 81, 238);
/* oklch */ color: oklch(66.1% 0.241 318.5);
Tailwind
colors: {
  custom: {
    50: '#e08bf4',
    500: '#cd51ee',
    950: '#000000',
  },
}
SCSS
$custom: #cd51ee;
$custom-light: #e08bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd51ee",
  "rgb": {
    "r": 205,
    "g": 81,
    "b": 238
  },
  "hsl": {
    "h": 287.389,
    "s": 82.199,
    "l": 62.549
  },
  "oklch": {
    "l": 0.66085,
    "c": 0.24056,
    "h": 318.5
  },
  "luminance": 0.25037
}

Semantic roles & 50–950 ramp

primary
#CD51EE
secondary
#BDEAB1
accent
#DF0734
background
#FEF8FF
surface
#FCF0FE
border
#D5CBD6
text
#160D17
muted
#847D85

Preview Lab

Preview with #CD51EE

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

Preview Lab → · Contrast checker → · Palette generator →

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