#CD5BE1#CD5BE1

#CD5BE1 is a light, highly saturated purple. Relative luminance 0.259; OKLCH L 66.5% C 0.216 H 321.4°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#CD5BE1
RGBrgb(205, 91, 225)
HSLhsl(291, 69%, 62%)
HSVhsv(291, 60%, 88%)
CMYKcmyk(8.9%, 59.6%, 0%, 11.8%)
CIE-LABlab(57.94, 63.65, -48.34)
CIE-LCHlch(57.94, 79.93, 322.79°)
OKLaboklab(66.46% 0.1687 -0.1345)
OKLCHoklch(66.46% 0.216 321.4)
XYZxyz(42.5070, 25.8996, 73.9797)
Luminance0.2590 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5BE1 #6FE15B
analogous
#8A5BE1 #CD5BE1 #E15BB2
triadic
#CD5BE1 #E1CD5B #5BE1CD
tetradic
#CD5BE1 #E18A5B #6FE15B #5BB2E1
square
#CD5BE1 #E18A5B #6FE15B #5BB2E1
split-complementary
#CD5BE1 #B2E15B #5BE18A
monochromatic
#901EA4 #BD27D7 #CD5BE1 #DD8FEA #EDC2F4

Accessibility & contrast

On white

3.40
#CD5BE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#CD5BE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5BE1
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5BE1#FFFFFF#000000##000000
##CD5BE11.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd5be1;
/* rgb */ color: rgb(205, 91, 225);
/* oklch */ color: oklch(66.5% 0.216 321.4);
Tailwind
colors: {
  custom: {
    50: '#df90eb',
    500: '#cd5be1',
    950: '#000000',
  },
}
SCSS
$custom: #cd5be1;
$custom-light: #df90eb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5be1",
  "rgb": {
    "r": 205,
    "g": 91,
    "b": 225
  },
  "hsl": {
    "h": 291.045,
    "s": 69.072,
    "l": 61.961
  },
  "oklch": {
    "l": 0.66455,
    "c": 0.21571,
    "h": 321.4
  },
  "luminance": 0.25898
}

Semantic roles & 50–950 ramp

primary
#CD5BE1
secondary
#BBE5B3
accent
#D11431
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CD5BE1

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

Preview Lab → · Contrast checker → · Palette generator →

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