#CD54E1#CD54E1

#CD54E1 is a light, highly saturated purple. Relative luminance 0.248; OKLCH L 65.7% C 0.225 H 321.7°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#CD54E1
RGBrgb(205, 84, 225)
HSLhsl(291, 70%, 61%)
HSVhsv(291, 63%, 88%)
CMYKcmyk(8.9%, 62.7%, 0%, 11.8%)
CIE-LABlab(56.84, 66.68, -50.09)
CIE-LCHlch(56.84, 83.40, 323.09°)
OKLaboklab(65.66% 0.1769 -0.1395)
OKLCHoklch(65.66% 0.225 321.7)
XYZxyz(41.9363, 24.7582, 73.7894)
Luminance0.2476 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD54E1 #68E154
analogous
#8654E1 #CD54E1 #E154AF
triadic
#CD54E1 #E1CD54 #54E1CD
tetradic
#CD54E1 #E18654 #68E154 #54AFE1
square
#CD54E1 #E18654 #68E154 #54AFE1
split-complementary
#CD54E1 #AFE154 #54E186
monochromatic
#8C1C9F #BA25D3 #CD54E1 #DC88EA #EBBCF3

Accessibility & contrast

On white

3.53
#CD54E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#CD54E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD54E1
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD54E1#FFFFFF#000000##000000
##CD54E11.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3280E5
Deuteranopia (green-blind)
#658DDD
Tritanopia (blue-blind)
#CF6B93
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cd54e1;
/* rgb */ color: rgb(205, 84, 225);
/* oklch */ color: oklch(65.7% 0.225 321.7);
Tailwind
colors: {
  custom: {
    50: '#e08ceb',
    500: '#cd54e1',
    950: '#000000',
  },
}
SCSS
$custom: #cd54e1;
$custom-light: #e08ceb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd54e1",
  "rgb": {
    "r": 205,
    "g": 84,
    "b": 225
  },
  "hsl": {
    "h": 291.489,
    "s": 70.149,
    "l": 60.588
  },
  "oklch": {
    "l": 0.65655,
    "c": 0.22528,
    "h": 321.7
  },
  "luminance": 0.24756
}

Semantic roles & 50–950 ramp

primary
#CD54E1
secondary
#B5E3AE
accent
#D2132E
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160D16
muted
#847D84

Preview Lab

Preview with #CD54E1

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

Preview Lab → · Contrast checker → · Palette generator →

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