#CD54E4#CD54E4

#CD54E4 is a light, highly saturated purple. Relative luminance 0.249; OKLCH L 65.8% C 0.228 H 320.9°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#CD54E4
RGBrgb(205, 84, 228)
HSLhsl(290, 73%, 61%)
HSVhsv(290, 63%, 89%)
CMYKcmyk(10.1%, 63.2%, 0%, 10.6%)
CIE-LABlab(57.00, 67.23, -51.52)
CIE-LCHlch(57.00, 84.70, 322.54°)
OKLaboklab(65.82% 0.1769 -0.1437)
OKLCHoklch(65.82% 0.228 320.9)
XYZxyz(42.3491, 24.9233, 75.9637)
Luminance0.2492 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD54E4 #6BE454
analogous
#8554E4 #CD54E4 #E454B3
triadic
#CD54E4 #E4CD54 #54E4CD
tetradic
#CD54E4 #E48554 #6BE454 #54B3E4
square
#CD54E4 #E48554 #6BE454 #54B3E4
split-complementary
#CD54E4 #B3E454 #54E485
monochromatic
#8E1AA4 #BB22D9 #CD54E4 #DC89EC #ECBEF5

Accessibility & contrast

On white

3.51
#CD54E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#CD54E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD54E4
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD54E4#FFFFFF#000000##000000
##CD54E41.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E80E8
Deuteranopia (green-blind)
#638DE0
Tritanopia (blue-blind)
#CF6C95
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cd54e4;
/* rgb */ color: rgb(205, 84, 228);
/* oklch */ color: oklch(65.8% 0.228 320.9);
Tailwind
colors: {
  custom: {
    50: '#e08ced',
    500: '#cd54e4',
    950: '#000000',
  },
}
SCSS
$custom: #cd54e4;
$custom-light: #e08ced;
$custom-dark: #000000;
JSON
{
  "hex": "#cd54e4",
  "rgb": {
    "r": 205,
    "g": 84,
    "b": 228
  },
  "hsl": {
    "h": 290.417,
    "s": 72.727,
    "l": 61.176
  },
  "oklch": {
    "l": 0.65824,
    "c": 0.22791,
    "h": 320.9
  },
  "luminance": 0.24921
}

Semantic roles & 50–950 ramp

primary
#CD54E4
secondary
#B8E5AF
accent
#D51130
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CD54E4

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

Preview Lab → · Contrast checker → · Palette generator →

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