#CD5BE9#CD5BE9

#CD5BE9 is a light, highly saturated purple. Relative luminance 0.263; OKLCH L 66.9% C 0.223 H 319.2°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#CD5BE9
RGBrgb(205, 91, 233)
HSLhsl(288, 76%, 64%)
HSVhsv(288, 61%, 91%)
CMYKcmyk(12%, 60.9%, 0%, 8.6%)
CIE-LABlab(58.36, 65.15, -52.15)
CIE-LCHlch(58.36, 83.45, 321.32°)
OKLaboklab(66.9% 0.1689 -0.1456)
OKLCHoklch(66.9% 0.223 319.2)
XYZxyz(43.6240, 26.3464, 79.8625)
Luminance0.2634 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5BE9 #77E95B
analogous
#865BE9 #CD5BE9 #E95BBE
triadic
#CD5BE9 #E9CD5B #5BE9CD
tetradic
#CD5BE9 #E9865B #77E95B #5BBEE9
square
#CD5BE9 #E9865B #77E95B #5BBEE9
split-complementary
#CD5BE9 #BEE95B #5BE986
monochromatic
#9318B2 #BD25E2 #CD5BE9 #DD91F0 #EEC7F7

Accessibility & contrast

On white

3.35
#CD5BE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#CD5BE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5BE9
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5BE9#FFFFFF#000000##000000
##CD5BE91.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3585ED
Deuteranopia (green-blind)
#6490E5
Tritanopia (blue-blind)
#CD729A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cd5be9;
/* rgb */ color: rgb(205, 91, 233);
/* oklch */ color: oklch(66.9% 0.223 319.2);
Tailwind
colors: {
  custom: {
    50: '#df90f0',
    500: '#cd5be9',
    950: '#000000',
  },
}
SCSS
$custom: #cd5be9;
$custom-light: #df90f0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5be9",
  "rgb": {
    "r": 205,
    "g": 91,
    "b": 233
  },
  "hsl": {
    "h": 288.169,
    "s": 76.344,
    "l": 63.529
  },
  "oklch": {
    "l": 0.66899,
    "c": 0.223,
    "h": 319.2
  },
  "luminance": 0.26344
}

Semantic roles & 50–950 ramp

primary
#CD5BE9
secondary
#C1E9B7
accent
#D90D35
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CD5BE9

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

Preview Lab → · Contrast checker → · Palette generator →

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