#CD5BE2#CD5BE2

#CD5BE2 is a light, highly saturated purple. Relative luminance 0.260; OKLCH L 66.5% C 0.217 H 321.2°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#CD5BE2
RGBrgb(205, 91, 226)
HSLhsl(291, 70%, 62%)
HSVhsv(291, 60%, 89%)
CMYKcmyk(9.3%, 59.7%, 0%, 11.4%)
CIE-LABlab(57.99, 63.84, -48.82)
CIE-LCHlch(57.99, 80.36, 322.59°)
OKLaboklab(66.51% 0.1687 -0.1359)
OKLCHoklch(66.51% 0.217 321.2)
XYZxyz(42.6438, 25.9543, 74.7002)
Luminance0.2595 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5BE2 #70E25B
analogous
#8A5BE2 #CD5BE2 #E25BB3
triadic
#CD5BE2 #E2CD5B #5BE2CD
tetradic
#CD5BE2 #E28A5B #70E25B #5BB3E2
square
#CD5BE2 #E28A5B #70E25B #5BB3E2
split-complementary
#CD5BE2 #B3E25B #5BE28A
monochromatic
#901DA5 #BD27D9 #CD5BE2 #DD8FEB #EDC3F4

Accessibility & contrast

On white

3.39
#CD5BE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#CD5BE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5BE2
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5BE2#FFFFFF#000000##000000
##CD5BE21.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D83E6
Deuteranopia (green-blind)
#6990DE
Tritanopia (blue-blind)
#CF7096
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cd5be2;
/* rgb */ color: rgb(205, 91, 226);
/* oklch */ color: oklch(66.5% 0.217 321.2);
Tailwind
colors: {
  custom: {
    50: '#df90eb',
    500: '#cd5be2',
    950: '#000000',
  },
}
SCSS
$custom: #cd5be2;
$custom-light: #df90eb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5be2",
  "rgb": {
    "r": 205,
    "g": 91,
    "b": 226
  },
  "hsl": {
    "h": 290.667,
    "s": 69.948,
    "l": 62.157
  },
  "oklch": {
    "l": 0.6651,
    "c": 0.21661,
    "h": 321.2
  },
  "luminance": 0.25952
}

Semantic roles & 50–950 ramp

primary
#CD5BE2
secondary
#BBE5B4
accent
#D21431
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CD5BE2

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

Preview Lab → · Contrast checker → · Palette generator →

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