#CD5BE3#CD5BE3

#CD5BE3 is a light, highly saturated purple. Relative luminance 0.260; OKLCH L 66.6% C 0.218 H 320.9°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#CD5BE3
RGBrgb(205, 91, 227)
HSLhsl(290, 71%, 62%)
HSVhsv(290, 60%, 89%)
CMYKcmyk(9.7%, 59.9%, 0%, 11%)
CIE-LABlab(58.05, 64.02, -49.30)
CIE-LCHlch(58.05, 80.80, 322.40°)
OKLaboklab(66.57% 0.1687 -0.1373)
OKLCHoklch(66.57% 0.218 320.9)
XYZxyz(42.7814, 26.0094, 75.4250)
Luminance0.2601 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5BE3 #71E35B
analogous
#895BE3 #CD5BE3 #E35BB5
triadic
#CD5BE3 #E3CD5B #5BE3CD
tetradic
#CD5BE3 #E3895B #71E35B #5BB5E3
square
#CD5BE3 #E3895B #71E35B #5BB5E3
split-complementary
#CD5BE3 #B5E35B #5BE389
monochromatic
#911DA7 #BD27DA #CD5BE3 #DD8FEC #EDC4F5

Accessibility & contrast

On white

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

On black

6.20
#CD5BE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5BE3
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5BE3#FFFFFF#000000##000000
##CD5BE31.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C83E7
Deuteranopia (green-blind)
#6890DF
Tritanopia (blue-blind)
#CF7097
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cd5be3;
/* rgb */ color: rgb(205, 91, 227);
/* oklch */ color: oklch(66.6% 0.218 320.9);
Tailwind
colors: {
  custom: {
    50: '#df90ec',
    500: '#cd5be3',
    950: '#000000',
  },
}
SCSS
$custom: #cd5be3;
$custom-light: #df90ec;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5be3",
  "rgb": {
    "r": 205,
    "g": 91,
    "b": 227
  },
  "hsl": {
    "h": 290.294,
    "s": 70.833,
    "l": 62.353
  },
  "oklch": {
    "l": 0.66565,
    "c": 0.21752,
    "h": 320.9
  },
  "luminance": 0.26007
}

Semantic roles & 50–950 ramp

primary
#CD5BE3
secondary
#BCE6B4
accent
#D31332
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CD5BE3

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

Preview Lab → · Contrast checker → · Palette generator →

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