#CB5DE5#CB5DE5

#CB5DE5 is a light, highly saturated purple. Relative luminance 0.262; OKLCH L 66.7% C 0.216 H 319.6°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#CB5DE5
RGBrgb(203, 93, 229)
HSLhsl(289, 72%, 63%)
HSVhsv(289, 59%, 90%)
CMYKcmyk(11.4%, 59.4%, 0%, 10.2%)
CIE-LABlab(58.21, 63.02, -50.17)
CIE-LCHlch(58.21, 80.55, 321.47°)
OKLaboklab(66.66% 0.1641 -0.1399)
OKLCHoklch(66.66% 0.216 319.6)
XYZxyz(42.6840, 26.1842, 76.9192)
Luminance0.2618 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5DE5 #77E55D
analogous
#875DE5 #CB5DE5 #E55DBB
triadic
#CB5DE5 #E5CB5D #5DE5CB
tetradic
#CB5DE5 #E5875D #77E55D #5DBBE5
square
#CB5DE5 #E5875D #77E55D #5DBBE5
split-complementary
#CB5DE5 #BBE55D #5DE587
monochromatic
#901CAC #BA28DD #CB5DE5 #DC92ED #EDC6F6

Accessibility & contrast

On white

3.37
#CB5DE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#CB5DE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5DE5
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5DE5#FFFFFF#000000##000000
##CB5DE51.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C84E9
Deuteranopia (green-blind)
#6790E2
Tritanopia (blue-blind)
#CC7399
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cb5de5;
/* rgb */ color: rgb(203, 93, 229);
/* oklch */ color: oklch(66.7% 0.216 319.6);
Tailwind
colors: {
  custom: {
    50: '#de91ee',
    500: '#cb5de5',
    950: '#000000',
  },
}
SCSS
$custom: #cb5de5;
$custom-light: #de91ee;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5de5",
  "rgb": {
    "r": 203,
    "g": 93,
    "b": 229
  },
  "hsl": {
    "h": 288.529,
    "s": 72.34,
    "l": 63.137
  },
  "oklch": {
    "l": 0.66664,
    "c": 0.21564,
    "h": 319.6
  },
  "luminance": 0.26182
}

Semantic roles & 50–950 ramp

primary
#CB5DE5
secondary
#C0E7B7
accent
#D41136
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#150D16
muted
#847E84

Preview Lab

Preview with #CB5DE5

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

Preview Lab → · Contrast checker → · Palette generator →

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