#CD5BE5#CD5BE5

#CD5BE5 is a light, highly saturated purple. Relative luminance 0.261; OKLCH L 66.7% C 0.219 H 320.3°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#CD5BE5
RGBrgb(205, 91, 229)
HSLhsl(290, 73%, 63%)
HSVhsv(290, 60%, 90%)
CMYKcmyk(10.5%, 60.3%, 0%, 10.2%)
CIE-LABlab(58.15, 64.40, -50.25)
CIE-LCHlch(58.15, 81.68, 322.03°)
OKLaboklab(66.68% 0.1688 -0.14)
OKLCHoklch(66.68% 0.219 320.3)
XYZxyz(43.0591, 26.1204, 76.8872)
Luminance0.2612 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5BE5 #73E55B
analogous
#885BE5 #CD5BE5 #E55BB8
triadic
#CD5BE5 #E5CD5B #5BE5CD
tetradic
#CD5BE5 #E5885B #73E55B #5BB8E5
square
#CD5BE5 #E5885B #73E55B #5BB8E5
split-complementary
#CD5BE5 #B8E55B #5BE588
monochromatic
#921BAB #BD26DD #CD5BE5 #DD90ED #EDC5F6

Accessibility & contrast

On white

3.37
#CD5BE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#CD5BE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5BE5
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5BE5#FFFFFF#000000##000000
##CD5BE51.003.376.226.22
#FFFFFF3.371.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A84E9
Deuteranopia (green-blind)
#6790E1
Tritanopia (blue-blind)
#CE7198
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cd5be5;
/* rgb */ color: rgb(205, 91, 229);
/* oklch */ color: oklch(66.7% 0.219 320.3);
Tailwind
colors: {
  custom: {
    50: '#df90ee',
    500: '#cd5be5',
    950: '#000000',
  },
}
SCSS
$custom: #cd5be5;
$custom-light: #df90ee;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5be5",
  "rgb": {
    "r": 205,
    "g": 91,
    "b": 229
  },
  "hsl": {
    "h": 289.565,
    "s": 72.632,
    "l": 62.745
  },
  "oklch": {
    "l": 0.66675,
    "c": 0.21934,
    "h": 320.3
  },
  "luminance": 0.26118
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD5BE5

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

Preview Lab → · Contrast checker → · Palette generator →

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