#CD5BEA#CD5BEA

#CD5BEA is a light, highly saturated purple. Relative luminance 0.264; OKLCH L 67.0% C 0.224 H 319.0°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#CD5BEA
RGBrgb(205, 91, 234)
HSLhsl(288, 77%, 64%)
HSVhsv(288, 61%, 92%)
CMYKcmyk(12.4%, 61.1%, 0%, 8.2%)
CIE-LABlab(58.42, 65.34, -52.63)
CIE-LCHlch(58.42, 83.90, 321.15°)
OKLaboklab(66.96% 0.1689 -0.147)
OKLCHoklch(66.96% 0.224 319)
XYZxyz(43.7673, 26.4037, 80.6169)
Luminance0.2640 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5BEA #78EA5B
analogous
#855BEA #CD5BEA #EA5BBF
triadic
#CD5BEA #EACD5B #5BEACD
tetradic
#CD5BEA #EA855B #78EA5B #5BBFEA
square
#CD5BEA #EA855B #78EA5B #5BBFEA
split-complementary
#CD5BEA #BFEA5B #5BEA85
monochromatic
#9417B4 #BC25E3 #CD5BEA #DE91F1 #EEC8F8

Accessibility & contrast

On white

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

On black

6.28
#CD5BEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5BEA
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5BEA#FFFFFF#000000##000000
##CD5BEA1.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3485EE
Deuteranopia (green-blind)
#6490E6
Tritanopia (blue-blind)
#CD739A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cd5bea;
/* rgb */ color: rgb(205, 91, 234);
/* oklch */ color: oklch(67.0% 0.224 319.0);
Tailwind
colors: {
  custom: {
    50: '#e090f1',
    500: '#cd5bea',
    950: '#000000',
  },
}
SCSS
$custom: #cd5bea;
$custom-light: #e090f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5bea",
  "rgb": {
    "r": 205,
    "g": 91,
    "b": 234
  },
  "hsl": {
    "h": 287.832,
    "s": 77.297,
    "l": 63.725
  },
  "oklch": {
    "l": 0.66955,
    "c": 0.22392,
    "h": 319
  },
  "luminance": 0.26402
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD5BEA

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

Preview Lab → · Contrast checker → · Palette generator →

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