#CD54E0#CD54E0

#CD54E0 is a light, highly saturated purple. Relative luminance 0.247; OKLCH L 65.6% C 0.224 H 322.0°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#CD54E0
RGBrgb(205, 84, 224)
HSLhsl(292, 69%, 60%)
HSVhsv(292, 63%, 88%)
CMYKcmyk(8.5%, 62.5%, 0%, 12.2%)
CIE-LABlab(56.79, 66.50, -49.61)
CIE-LCHlch(56.79, 82.97, 323.28°)
OKLaboklab(65.6% 0.1769 -0.1381)
OKLCHoklch(65.6% 0.224 322)
XYZxyz(41.8003, 24.7038, 73.0731)
Luminance0.2470 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD54E0 #67E054
analogous
#8754E0 #CD54E0 #E054AD
triadic
#CD54E0 #E0CD54 #54E0CD
tetradic
#CD54E0 #E08754 #67E054 #54ADE0
square
#CD54E0 #E08754 #67E054 #54ADE0
split-complementary
#CD54E0 #ADE054 #54E087
monochromatic
#8C1C9D #BA26D1 #CD54E0 #DC88E9 #EBBCF3

Accessibility & contrast

On white

3.54
#CD54E0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#CD54E0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD54E0
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD54E0#FFFFFF#000000##000000
##CD54E01.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#337FE4
Deuteranopia (green-blind)
#658DDC
Tritanopia (blue-blind)
#CF6A93
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cd54e0;
/* rgb */ color: rgb(205, 84, 224);
/* oklch */ color: oklch(65.6% 0.224 322.0);
Tailwind
colors: {
  custom: {
    50: '#e08cea',
    500: '#cd54e0',
    950: '#000000',
  },
}
SCSS
$custom: #cd54e0;
$custom-light: #e08cea;
$custom-dark: #000000;
JSON
{
  "hex": "#cd54e0",
  "rgb": {
    "r": 205,
    "g": 84,
    "b": 224
  },
  "hsl": {
    "h": 291.857,
    "s": 69.307,
    "l": 60.392
  },
  "oklch": {
    "l": 0.65599,
    "c": 0.2244,
    "h": 322
  },
  "luminance": 0.24702
}

Semantic roles & 50–950 ramp

primary
#CD54E0
secondary
#B4E3AD
accent
#D1142E
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160D16
muted
#847D84

Preview Lab

Preview with #CD54E0

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

Preview Lab → · Contrast checker → · Palette generator →

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