#CD54E5#CD54E5

#CD54E5 is a light, highly saturated purple. Relative luminance 0.250; OKLCH L 65.9% C 0.229 H 320.6°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#CD54E5
RGBrgb(205, 84, 229)
HSLhsl(290, 74%, 61%)
HSVhsv(290, 63%, 90%)
CMYKcmyk(10.5%, 63.3%, 0%, 10.2%)
CIE-LABlab(57.05, 67.42, -52.00)
CIE-LCHlch(57.05, 85.14, 322.36°)
OKLaboklab(65.88% 0.1769 -0.1451)
OKLCHoklch(65.88% 0.229 320.6)
XYZxyz(42.4884, 24.9790, 76.6969)
Luminance0.2498 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD54E5 #6CE554
analogous
#8554E5 #CD54E5 #E554B5
triadic
#CD54E5 #E5CD54 #54E5CD
tetradic
#CD54E5 #E58554 #6CE554 #54B5E5
square
#CD54E5 #E58554 #6CE554 #54B5E5
split-complementary
#CD54E5 #B5E554 #54E585
monochromatic
#8E19A5 #BC21DB #CD54E5 #DD89ED #ECBEF5

Accessibility & contrast

On white

3.50
#CD54E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#CD54E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD54E5
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD54E5#FFFFFF#000000##000000
##CD54E51.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D80E9
Deuteranopia (green-blind)
#628DE1
Tritanopia (blue-blind)
#CE6C95
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cd54e5;
/* rgb */ color: rgb(205, 84, 229);
/* oklch */ color: oklch(65.9% 0.229 320.6);
Tailwind
colors: {
  custom: {
    50: '#e08cee',
    500: '#cd54e5',
    950: '#000000',
  },
}
SCSS
$custom: #cd54e5;
$custom-light: #e08cee;
$custom-dark: #000000;
JSON
{
  "hex": "#cd54e5",
  "rgb": {
    "r": 205,
    "g": 84,
    "b": 229
  },
  "hsl": {
    "h": 290.069,
    "s": 73.604,
    "l": 61.373
  },
  "oklch": {
    "l": 0.65881,
    "c": 0.2288,
    "h": 320.6
  },
  "luminance": 0.24977
}

Semantic roles & 50–950 ramp

primary
#CD54E5
secondary
#B8E6AF
accent
#D61031
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CD54E5

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

Preview Lab → · Contrast checker → · Palette generator →

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