#CD5AEB#CD5AEB

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

Color values

HEX#CD5AEB
RGBrgb(205, 90, 235)
HSLhsl(288, 78%, 64%)
HSVhsv(288, 62%, 92%)
CMYKcmyk(12.8%, 61.7%, 0%, 7.8%)
CIE-LABlab(58.31, 65.97, -53.35)
CIE-LCHlch(58.31, 84.84, 321.03°)
OKLaboklab(66.9% 0.1701 -0.1491)
OKLCHoklch(66.9% 0.226 318.8)
XYZxyz(43.8264, 26.2915, 81.3474)
Luminance0.2629 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5AEB #78EB5A
analogous
#845AEB #CD5AEB #EB5AC0
triadic
#CD5AEB #EBCD5A #5AEBCD
tetradic
#CD5AEB #EB845A #78EB5A #5AC0EB
square
#CD5AEB #EB845A #78EB5A #5AC0EB
split-complementary
#CD5AEB #C0EB5A #5AEB84
monochromatic
#9416B5 #BC23E4 #CD5AEB #DE91F2 #EEC7F8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD5AEB#FFFFFF#000000##000000
##CD5AEB1.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)
#3185EF
Deuteranopia (green-blind)
#6290E7
Tritanopia (blue-blind)
#CD739B
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cd5aeb;
/* rgb */ color: rgb(205, 90, 235);
/* oklch */ color: oklch(66.9% 0.226 318.8);
Tailwind
colors: {
  custom: {
    50: '#e08ff2',
    500: '#cd5aeb',
    950: '#000000',
  },
}
SCSS
$custom: #cd5aeb;
$custom-light: #e08ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5aeb",
  "rgb": {
    "r": 205,
    "g": 90,
    "b": 235
  },
  "hsl": {
    "h": 287.586,
    "s": 78.378,
    "l": 63.725
  },
  "oklch": {
    "l": 0.66896,
    "c": 0.22619,
    "h": 318.8
  },
  "luminance": 0.2629
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD5AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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