#CD5BEB#CD5BEB

#CD5BEB is a light, highly saturated purple. Relative luminance 0.265; OKLCH L 67.0% C 0.225 H 318.7°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#CD5BEB
RGBrgb(205, 91, 235)
HSLhsl(288, 78%, 64%)
HSVhsv(288, 61%, 92%)
CMYKcmyk(12.8%, 61.3%, 0%, 7.8%)
CIE-LABlab(58.47, 65.53, -53.10)
CIE-LCHlch(58.47, 84.34, 320.98°)
OKLaboklab(67.01% 0.169 -0.1483)
OKLCHoklch(67.01% 0.225 318.7)
XYZxyz(43.9113, 26.4613, 81.3757)
Luminance0.2646 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5BEB #79EB5B
analogous
#855BEB #CD5BEB #EB5BC1
triadic
#CD5BEB #EBCD5B #5BEBCD
tetradic
#CD5BEB #EB855B #79EB5B #5BC1EB
square
#CD5BEB #EB855B #79EB5B #5BC1EB
split-complementary
#CD5BEB #C1EB5B #5BEB85
monochromatic
#9416B5 #BC24E4 #CD5BEB #DE92F2 #EEC8F8

Accessibility & contrast

On white

3.34
#CD5BEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#CD5BEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5BEB
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5BEB#FFFFFF#000000##000000
##CD5BEB1.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3385EF
Deuteranopia (green-blind)
#6390E7
Tritanopia (blue-blind)
#CD739B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cd5beb;
/* rgb */ color: rgb(205, 91, 235);
/* oklch */ color: oklch(67.0% 0.225 318.7);
Tailwind
colors: {
  custom: {
    50: '#e090f2',
    500: '#cd5beb',
    950: '#000000',
  },
}
SCSS
$custom: #cd5beb;
$custom-light: #e090f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5beb",
  "rgb": {
    "r": 205,
    "g": 91,
    "b": 235
  },
  "hsl": {
    "h": 287.5,
    "s": 78.261,
    "l": 63.922
  },
  "oklch": {
    "l": 0.67012,
    "c": 0.22483,
    "h": 318.7
  },
  "luminance": 0.26459
}

Semantic roles & 50–950 ramp

primary
#CD5BEB
secondary
#C2EAB8
accent
#DB0B36
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CD5BEB

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

Preview Lab → · Contrast checker → · Palette generator →

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