#CD51E0#CD51E0

#CD51E0 is a light, highly saturated purple. Relative luminance 0.242; OKLCH L 65.3% C 0.228 H 322.1°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#CD51E0
RGBrgb(205, 81, 224)
HSLhsl(292, 70%, 60%)
HSVhsv(292, 64%, 88%)
CMYKcmyk(8.5%, 63.8%, 0%, 12.2%)
CIE-LABlab(56.34, 67.75, -50.33)
CIE-LCHlch(56.34, 84.40, 323.39°)
OKLaboklab(65.27% 0.1802 -0.1402)
OKLCHoklch(65.27% 0.228 322.1)
XYZxyz(41.5724, 24.2480, 72.9971)
Luminance0.2425 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD51E0 #64E051
analogous
#8651E0 #CD51E0 #E051AC
triadic
#CD51E0 #E0CD51 #51E0CD
tetradic
#CD51E0 #E08651 #64E051 #51ACE0
square
#CD51E0 #E08651 #64E051 #51ACE0
split-complementary
#CD51E0 #ACE051 #51E086
monochromatic
#8A1C9B #B825CF #CD51E0 #DC85E9 #EBB9F3

Accessibility & contrast

On white

3.59
#CD51E0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#CD51E0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD51E0
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD51E0#FFFFFF#000000##000000
##CD51E01.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E7EE4
Deuteranopia (green-blind)
#638CDC
Tritanopia (blue-blind)
#CF6892
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cd51e0;
/* rgb */ color: rgb(205, 81, 224);
/* oklch */ color: oklch(65.3% 0.228 322.1);
Tailwind
colors: {
  custom: {
    50: '#e08aea',
    500: '#cd51e0',
    950: '#000000',
  },
}
SCSS
$custom: #cd51e0;
$custom-light: #e08aea;
$custom-dark: #000000;
JSON
{
  "hex": "#cd51e0",
  "rgb": {
    "r": 205,
    "g": 81,
    "b": 224
  },
  "hsl": {
    "h": 292.028,
    "s": 69.756,
    "l": 59.804
  },
  "oklch": {
    "l": 0.65274,
    "c": 0.22834,
    "h": 322.1
  },
  "luminance": 0.24246
}

Semantic roles & 50–950 ramp

primary
#CD51E0
secondary
#B2E2AB
accent
#ED3B53
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #CD51E0

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

Preview Lab → · Contrast checker → · Palette generator →

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