#CD5BE4#CD5BE4

#CD5BE4 is a light, highly saturated purple. Relative luminance 0.261; OKLCH L 66.6% C 0.218 H 320.6°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#CD5BE4
RGBrgb(205, 91, 228)
HSLhsl(290, 72%, 63%)
HSVhsv(290, 60%, 89%)
CMYKcmyk(10.1%, 60.1%, 0%, 10.6%)
CIE-LABlab(58.10, 64.21, -49.77)
CIE-LCHlch(58.10, 81.24, 322.22°)
OKLaboklab(66.62% 0.1688 -0.1386)
OKLCHoklch(66.62% 0.218 320.6)
XYZxyz(42.9199, 26.0648, 76.1540)
Luminance0.2606 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5BE4 #72E45B
analogous
#885BE4 #CD5BE4 #E45BB7
triadic
#CD5BE4 #E4CD5B #5BE4CD
tetradic
#CD5BE4 #E4885B #72E45B #5BB7E4
square
#CD5BE4 #E4885B #72E45B #5BB7E4
split-complementary
#CD5BE4 #B7E45B #5BE488
monochromatic
#911CA9 #BD26DB #CD5BE4 #DD90ED #EDC4F5

Accessibility & contrast

On white

3.38
#CD5BE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#CD5BE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5BE4
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5BE4#FFFFFF#000000##000000
##CD5BE41.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd5be4;
/* rgb */ color: rgb(205, 91, 228);
/* oklch */ color: oklch(66.6% 0.218 320.6);
Tailwind
colors: {
  custom: {
    50: '#df90ed',
    500: '#cd5be4',
    950: '#000000',
  },
}
SCSS
$custom: #cd5be4;
$custom-light: #df90ed;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5be4",
  "rgb": {
    "r": 205,
    "g": 91,
    "b": 228
  },
  "hsl": {
    "h": 289.927,
    "s": 71.728,
    "l": 62.549
  },
  "oklch": {
    "l": 0.6662,
    "c": 0.21843,
    "h": 320.6
  },
  "luminance": 0.26063
}

Semantic roles & 50–950 ramp

primary
#CD5BE4
secondary
#BDE6B4
accent
#D41232
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CD5BE4

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

Preview Lab → · Contrast checker → · Palette generator →

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