#CD5FE4#CD5FE4

#CD5FE4 is a light, highly saturated purple. Relative luminance 0.268; OKLCH L 67.1% C 0.213 H 320.4°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#CD5FE4
RGBrgb(205, 95, 228)
HSLhsl(290, 71%, 63%)
HSVhsv(290, 58%, 89%)
CMYKcmyk(10.1%, 58.3%, 0%, 10.6%)
CIE-LABlab(58.76, 62.41, -48.73)
CIE-LCHlch(58.76, 79.18, 322.02°)
OKLaboklab(67.1% 0.1639 -0.1356)
OKLCHoklch(67.1% 0.213 320.4)
XYZxyz(43.2710, 26.7670, 76.2710)
Luminance0.2676 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5FE4 #76E45F
analogous
#8A5FE4 #CD5FE4 #E45FB8
triadic
#CD5FE4 #E4CD5F #5FE4CD
tetradic
#CD5FE4 #E48A5F #76E45F #5FB8E4
square
#CD5FE4 #E48A5F #76E45F #5FB8E4
split-complementary
#CD5FE4 #B8E45F #5FE48A
monochromatic
#931DAC #BD2BDB #CD5FE4 #DD93ED #EEC8F6

Accessibility & contrast

On white

3.31
#CD5FE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#CD5FE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5FE4
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5FE4#FFFFFF#000000##000000
##CD5FE41.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4286E8
Deuteranopia (green-blind)
#6B91E1
Tritanopia (blue-blind)
#CE7499
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cd5fe4;
/* rgb */ color: rgb(205, 95, 228);
/* oklch */ color: oklch(67.1% 0.213 320.4);
Tailwind
colors: {
  custom: {
    50: '#df92ed',
    500: '#cd5fe4',
    950: '#000000',
  },
}
SCSS
$custom: #cd5fe4;
$custom-light: #df92ed;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5fe4",
  "rgb": {
    "r": 205,
    "g": 95,
    "b": 228
  },
  "hsl": {
    "h": 289.624,
    "s": 71.123,
    "l": 63.333
  },
  "oklch": {
    "l": 0.671,
    "c": 0.21278,
    "h": 320.4
  },
  "luminance": 0.26765
}

Semantic roles & 50–950 ramp

primary
#CD5FE4
secondary
#C0E7B8
accent
#D31234
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CD5FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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