#CD4DE8#CD4DE8

#CD4DE8 is a light, highly saturated purple. Relative luminance 0.241; OKLCH L 65.3% C 0.240 H 320.2°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#CD4DE8
RGBrgb(205, 77, 232)
HSLhsl(290, 77%, 61%)
HSVhsv(290, 67%, 91%)
CMYKcmyk(11.6%, 66.8%, 0%, 9%)
CIE-LABlab(56.20, 70.81, -55.04)
CIE-LCHlch(56.20, 89.68, 322.14°)
OKLaboklab(65.32% 0.1845 -0.1539)
OKLCHoklch(65.32% 0.24 320.2)
XYZxyz(42.3944, 24.1152, 78.7499)
Luminance0.2411 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4DE8 #68E84D
analogous
#7F4DE8 #CD4DE8 #E84DB6
triadic
#CD4DE8 #E8CD4D #4DE8CD
tetradic
#CD4DE8 #E87F4D #68E84D #4DB6E8
square
#CD4DE8 #E87F4D #68E84D #4DB6E8
split-complementary
#CD4DE8 #B6E84D #4DE87F
monochromatic
#8C15A5 #BA1CDB #CD4DE8 #DC83EF #EBB9F6

Accessibility & contrast

On white

3.61
#CD4DE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#CD4DE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4DE8
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4DE8#FFFFFF#000000##000000
##CD4DE81.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#117EED
Deuteranopia (green-blind)
#5B8BE4
Tritanopia (blue-blind)
#CE6995
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cd4de8;
/* rgb */ color: rgb(205, 77, 232);
/* oklch */ color: oklch(65.3% 0.240 320.2);
Tailwind
colors: {
  custom: {
    50: '#e088f0',
    500: '#cd4de8',
    950: '#000000',
  },
}
SCSS
$custom: #cd4de8;
$custom-light: #e088f0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4de8",
  "rgb": {
    "r": 205,
    "g": 77,
    "b": 232
  },
  "hsl": {
    "h": 289.548,
    "s": 77.114,
    "l": 60.588
  },
  "oklch": {
    "l": 0.65321,
    "c": 0.24025,
    "h": 320.2
  },
  "luminance": 0.24113
}

Semantic roles & 50–950 ramp

primary
#CD4DE8
secondary
#B5E6AB
accent
#D90C30
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C17
muted
#847D85

Preview Lab

Preview with #CD4DE8

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

Preview Lab → · Contrast checker → · Palette generator →

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