#CB5DE7#CB5DE7

#CB5DE7 is a light, highly saturated purple. Relative luminance 0.263; OKLCH L 66.8% C 0.217 H 319.0°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#CB5DE7
RGBrgb(203, 93, 231)
HSLhsl(288, 74%, 64%)
HSVhsv(288, 60%, 91%)
CMYKcmyk(12.1%, 59.7%, 0%, 9.4%)
CIE-LABlab(58.32, 63.40, -51.12)
CIE-LCHlch(58.32, 81.44, 321.12°)
OKLaboklab(66.77% 0.1642 -0.1426)
OKLCHoklch(66.77% 0.217 319)
XYZxyz(42.9649, 26.2966, 78.3984)
Luminance0.2630 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5DE7 #79E75D
analogous
#865DE7 #CB5DE7 #E75DBE
triadic
#CB5DE7 #E7CB5D #5DE7CB
tetradic
#CB5DE7 #E7865D #79E75D #5DBEE7
square
#CB5DE7 #E7865D #79E75D #5DBEE7
split-complementary
#CB5DE7 #BEE75D #5DE786
monochromatic
#911AB0 #BA28DF #CB5DE7 #DC92EF #EDC8F7

Accessibility & contrast

On white

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

On black

6.26
#CB5DE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5DE7
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5DE7#FFFFFF#000000##000000
##CB5DE71.003.366.266.26
#FFFFFF3.361.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A85EB
Deuteranopia (green-blind)
#6590E3
Tritanopia (blue-blind)
#CB739A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cb5de7;
/* rgb */ color: rgb(203, 93, 231);
/* oklch */ color: oklch(66.8% 0.217 319.0);
Tailwind
colors: {
  custom: {
    50: '#de91ef',
    500: '#cb5de7',
    950: '#000000',
  },
}
SCSS
$custom: #cb5de7;
$custom-light: #de91ef;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5de7",
  "rgb": {
    "r": 203,
    "g": 93,
    "b": 231
  },
  "hsl": {
    "h": 287.826,
    "s": 74.194,
    "l": 63.529
  },
  "oklch": {
    "l": 0.66775,
    "c": 0.21749,
    "h": 319
  },
  "luminance": 0.26295
}

Semantic roles & 50–950 ramp

primary
#CB5DE7
secondary
#C1E8B7
accent
#D60F38
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#150D16
muted
#847E84

Preview Lab

Preview with #CB5DE7

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

Preview Lab → · Contrast checker → · Palette generator →

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