#CD5BE8#CD5BE8

#CD5BE8 is a light, highly saturated purple. Relative luminance 0.263; OKLCH L 66.8% C 0.222 H 319.5°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#CD5BE8
RGBrgb(205, 91, 232)
HSLhsl(289, 75%, 63%)
HSVhsv(289, 61%, 91%)
CMYKcmyk(11.6%, 60.8%, 0%, 9%)
CIE-LABlab(58.31, 64.96, -51.68)
CIE-LCHlch(58.31, 83.01, 321.50°)
OKLaboklab(66.84% 0.1689 -0.1442)
OKLCHoklch(66.84% 0.222 319.5)
XYZxyz(43.4816, 26.2894, 79.1123)
Luminance0.2629 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5BE8 #76E85B
analogous
#865BE8 #CD5BE8 #E85BBC
triadic
#CD5BE8 #E8CD5B #5BE8CD
tetradic
#CD5BE8 #E8865B #76E85B #5BBCE8
square
#CD5BE8 #E8865B #76E85B #5BBCE8
split-complementary
#CD5BE8 #BCE85B #5BE886
monochromatic
#9319B0 #BD25E0 #CD5BE8 #DD91F0 #EEC6F7

Accessibility & contrast

On white

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

On black

6.26
#CD5BE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5BE8
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5BE8#FFFFFF#000000##000000
##CD5BE81.003.366.266.26
#FFFFFF3.361.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3784EC
Deuteranopia (green-blind)
#6590E4
Tritanopia (blue-blind)
#CE7299
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cd5be8;
/* rgb */ color: rgb(205, 91, 232);
/* oklch */ color: oklch(66.8% 0.222 319.5);
Tailwind
colors: {
  custom: {
    50: '#df90f0',
    500: '#cd5be8',
    950: '#000000',
  },
}
SCSS
$custom: #cd5be8;
$custom-light: #df90f0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5be8",
  "rgb": {
    "r": 205,
    "g": 91,
    "b": 232
  },
  "hsl": {
    "h": 288.511,
    "s": 75.401,
    "l": 63.333
  },
  "oklch": {
    "l": 0.66843,
    "c": 0.22208,
    "h": 319.5
  },
  "luminance": 0.26288
}

Semantic roles & 50–950 ramp

primary
#CD5BE8
secondary
#C0E9B6
accent
#D80E35
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CD5BE8

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

Preview Lab → · Contrast checker → · Palette generator →

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