#CD54EA#CD54EA

#CD54EA is a light, highly saturated purple. Relative luminance 0.253; OKLCH L 66.2% C 0.233 H 319.3°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#CD54EA
RGBrgb(205, 84, 234)
HSLhsl(288, 78%, 62%)
HSVhsv(288, 64%, 92%)
CMYKcmyk(12.4%, 64.1%, 0%, 8.2%)
CIE-LABlab(57.33, 68.34, -54.36)
CIE-LCHlch(57.33, 87.33, 321.50°)
OKLaboklab(66.17% 0.1769 -0.152)
OKLCHoklch(66.17% 0.233 319.3)
XYZxyz(43.1965, 25.2623, 80.4267)
Luminance0.2526 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD54EA #71EA54
analogous
#8254EA #CD54EA #EA54BC
triadic
#CD54EA #EACD54 #54EACD
tetradic
#CD54EA #EA8254 #71EA54 #54BCEA
square
#CD54EA #EA8254 #71EA54 #54BCEA
split-complementary
#CD54EA #BCEA54 #54EA82
monochromatic
#9115AE #BD1DE3 #CD54EA #DD8BF1 #EDC1F7

Accessibility & contrast

On white

3.47
#CD54EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#CD54EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD54EA
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD54EA#FFFFFF#000000##000000
##CD54EA1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2481EE
Deuteranopia (green-blind)
#5E8EE6
Tritanopia (blue-blind)
#CD6E98
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cd54ea;
/* rgb */ color: rgb(205, 84, 234);
/* oklch */ color: oklch(66.2% 0.233 319.3);
Tailwind
colors: {
  custom: {
    50: '#e08cf1',
    500: '#cd54ea',
    950: '#000000',
  },
}
SCSS
$custom: #cd54ea;
$custom-light: #e08cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd54ea",
  "rgb": {
    "r": 205,
    "g": 84,
    "b": 234
  },
  "hsl": {
    "h": 288.4,
    "s": 78.125,
    "l": 62.353
  },
  "oklch": {
    "l": 0.66168,
    "c": 0.23323,
    "h": 319.3
  },
  "luminance": 0.2526
}

Semantic roles & 50–950 ramp

primary
#CD54EA
secondary
#BCE8B2
accent
#DA0B33
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CD54EA

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

Preview Lab → · Contrast checker → · Palette generator →

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