#CD4DEA#CD4DEA

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

Color values

HEX#CD4DEA
RGBrgb(205, 77, 234)
HSLhsl(289, 79%, 61%)
HSVhsv(289, 67%, 92%)
CMYKcmyk(12.4%, 67.1%, 0%, 8.2%)
CIE-LABlab(56.32, 71.17, -55.98)
CIE-LCHlch(56.32, 90.55, 321.81°)
OKLaboklab(65.44% 0.1844 -0.1567)
OKLCHoklch(65.44% 0.242 319.7)
XYZxyz(42.6801, 24.2294, 80.2546)
Luminance0.2423 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4DEA #6AEA4D
analogous
#7E4DEA #CD4DEA #EA4DB8
triadic
#CD4DEA #EACD4D #4DEACD
tetradic
#CD4DEA #EA7E4D #6AEA4D #4DB8EA
square
#CD4DEA #EA7E4D #6AEA4D #4DB8EA
split-complementary
#CD4DEA #B8EA4D #4DEA7E
monochromatic
#8D14A9 #BB1ADF #CD4DEA #DC84F0 #ECBAF7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD4DEA#FFFFFF#000000##000000
##CD4DEA1.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)
#087EEF
Deuteranopia (green-blind)
#598BE6
Tritanopia (blue-blind)
#CD6996
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cd4dea;
/* rgb */ color: rgb(205, 77, 234);
/* oklch */ color: oklch(65.4% 0.242 319.7);
Tailwind
colors: {
  custom: {
    50: '#e088f1',
    500: '#cd4dea',
    950: '#000000',
  },
}
SCSS
$custom: #cd4dea;
$custom-light: #e088f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4dea",
  "rgb": {
    "r": 205,
    "g": 77,
    "b": 234
  },
  "hsl": {
    "h": 288.917,
    "s": 78.894,
    "l": 60.98
  },
  "oklch": {
    "l": 0.65439,
    "c": 0.24198,
    "h": 319.7
  },
  "luminance": 0.24227
}

Semantic roles & 50–950 ramp

primary
#CD4DEA
secondary
#B7E7AC
accent
#DB0A31
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C17
muted
#847D85

Preview Lab

Preview with #CD4DEA

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

Preview Lab → · Contrast checker → · Palette generator →

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