#CD54E8#CD54E8

#CD54E8 is a light, highly saturated purple. Relative luminance 0.251; OKLCH L 66.1% C 0.231 H 319.9°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#CD54E8
RGBrgb(205, 84, 232)
HSLhsl(289, 76%, 62%)
HSVhsv(289, 64%, 91%)
CMYKcmyk(11.6%, 63.8%, 0%, 9%)
CIE-LABlab(57.22, 67.97, -53.42)
CIE-LCHlch(57.22, 86.45, 321.84°)
OKLaboklab(66.05% 0.1769 -0.1492)
OKLCHoklch(66.05% 0.231 319.9)
XYZxyz(42.9108, 25.1480, 78.9220)
Luminance0.2515 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD54E8 #6FE854
analogous
#8354E8 #CD54E8 #E854B9
triadic
#CD54E8 #E8CD54 #54E8CD
tetradic
#CD54E8 #E88354 #6FE854 #54B9E8
square
#CD54E8 #E88354 #6FE854 #54B9E8
split-complementary
#CD54E8 #B9E854 #54E883
monochromatic
#9017AB #BD1EE1 #CD54E8 #DD8AEF #EDC0F7

Accessibility & contrast

On white

3.48
#CD54E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#CD54E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD54E8
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD54E8#FFFFFF#000000##000000
##CD54E81.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2881EC
Deuteranopia (green-blind)
#608EE4
Tritanopia (blue-blind)
#CE6D97
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cd54e8;
/* rgb */ color: rgb(205, 84, 232);
/* oklch */ color: oklch(66.1% 0.231 319.9);
Tailwind
colors: {
  custom: {
    50: '#e08cf0',
    500: '#cd54e8',
    950: '#000000',
  },
}
SCSS
$custom: #cd54e8;
$custom-light: #e08cf0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd54e8",
  "rgb": {
    "r": 205,
    "g": 84,
    "b": 232
  },
  "hsl": {
    "h": 289.054,
    "s": 76.289,
    "l": 61.961
  },
  "oklch": {
    "l": 0.66053,
    "c": 0.23145,
    "h": 319.9
  },
  "luminance": 0.25146
}

Semantic roles & 50–950 ramp

primary
#CD54E8
secondary
#BBE7B1
accent
#D80D32
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CD54E8

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

Preview Lab → · Contrast checker → · Palette generator →

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