#CD5CE4#CD5CE4

#CD5CE4 is a light, highly saturated purple. Relative luminance 0.262; OKLCH L 66.7% C 0.217 H 320.5°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#CD5CE4
RGBrgb(205, 92, 228)
HSLhsl(290, 72%, 63%)
HSVhsv(290, 60%, 89%)
CMYKcmyk(10.1%, 59.6%, 0%, 10.6%)
CIE-LABlab(58.26, 63.76, -49.52)
CIE-LCHlch(58.26, 80.73, 322.17°)
OKLaboklab(66.74% 0.1676 -0.1379)
OKLCHoklch(66.74% 0.217 320.5)
XYZxyz(43.0059, 26.2369, 76.1827)
Luminance0.2624 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5CE4 #73E45C
analogous
#895CE4 #CD5CE4 #E45CB7
triadic
#CD5CE4 #E4CD5C #5CE4CD
tetradic
#CD5CE4 #E4895C #73E45C #5CB7E4
square
#CD5CE4 #E4895C #73E45C #5CB7E4
split-complementary
#CD5CE4 #B7E45C #5CE489
monochromatic
#921CAA #BD27DB #CD5CE4 #DD91ED #EDC5F5

Accessibility & contrast

On white

3.36
#CD5CE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#CD5CE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5CE4
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5CE4#FFFFFF#000000##000000
##CD5CE41.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D84E8
Deuteranopia (green-blind)
#6890E0
Tritanopia (blue-blind)
#CE7198
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cd5ce4;
/* rgb */ color: rgb(205, 92, 228);
/* oklch */ color: oklch(66.7% 0.217 320.5);
Tailwind
colors: {
  custom: {
    50: '#df90ed',
    500: '#cd5ce4',
    950: '#000000',
  },
}
SCSS
$custom: #cd5ce4;
$custom-light: #df90ed;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5ce4",
  "rgb": {
    "r": 205,
    "g": 92,
    "b": 228
  },
  "hsl": {
    "h": 289.853,
    "s": 71.579,
    "l": 62.745
  },
  "oklch": {
    "l": 0.66738,
    "c": 0.21703,
    "h": 320.5
  },
  "luminance": 0.26235
}

Semantic roles & 50–950 ramp

primary
#CD5CE4
secondary
#BEE7B5
accent
#D41233
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CD5CE4

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

Preview Lab → · Contrast checker → · Palette generator →

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