#CD5BE7#CD5BE7

#CD5BE7 is a light, highly saturated purple. Relative luminance 0.262; OKLCH L 66.8% C 0.221 H 319.8°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#CD5BE7
RGBrgb(205, 91, 231)
HSLhsl(289, 74%, 63%)
HSVhsv(289, 61%, 91%)
CMYKcmyk(11.3%, 60.6%, 0%, 9.4%)
CIE-LABlab(58.26, 64.77, -51.20)
CIE-LCHlch(58.26, 82.57, 321.67°)
OKLaboklab(66.79% 0.1689 -0.1428)
OKLCHoklch(66.79% 0.221 319.8)
XYZxyz(43.3399, 26.2328, 78.3663)
Luminance0.2623 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5BE7 #75E75B
analogous
#875BE7 #CD5BE7 #E75BBB
triadic
#CD5BE7 #E7CD5B #5BE7CD
tetradic
#CD5BE7 #E7875B #75E75B #5BBBE7
square
#CD5BE7 #E7875B #75E75B #5BBBE7
split-complementary
#CD5BE7 #BBE75B #5BE787
monochromatic
#9319AE #BD26DF #CD5BE7 #DD90EF #EEC6F7

Accessibility & contrast

On white

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

On black

6.25
#CD5BE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5BE7
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5BE7#FFFFFF#000000##000000
##CD5BE71.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3884EB
Deuteranopia (green-blind)
#6690E3
Tritanopia (blue-blind)
#CE7299
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cd5be7;
/* rgb */ color: rgb(205, 91, 231);
/* oklch */ color: oklch(66.8% 0.221 319.8);
Tailwind
colors: {
  custom: {
    50: '#df90ef',
    500: '#cd5be7',
    950: '#000000',
  },
}
SCSS
$custom: #cd5be7;
$custom-light: #df90ef;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5be7",
  "rgb": {
    "r": 205,
    "g": 91,
    "b": 231
  },
  "hsl": {
    "h": 288.857,
    "s": 74.468,
    "l": 63.137
  },
  "oklch": {
    "l": 0.66787,
    "c": 0.22117,
    "h": 319.8
  },
  "luminance": 0.26231
}

Semantic roles & 50–950 ramp

primary
#CD5BE7
secondary
#BFE8B6
accent
#D70F34
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CD5BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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