#CB5DE6#CB5DE6

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

Color values

HEX#CB5DE6
RGBrgb(203, 93, 230)
HSLhsl(288, 73%, 63%)
HSVhsv(288, 60%, 90%)
CMYKcmyk(11.7%, 59.6%, 0%, 9.8%)
CIE-LABlab(58.26, 63.21, -50.65)
CIE-LCHlch(58.26, 81.00, 321.29°)
OKLaboklab(66.72% 0.1641 -0.1413)
OKLCHoklch(66.72% 0.217 319.3)
XYZxyz(42.8240, 26.2402, 77.6567)
Luminance0.2624 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5DE6 #78E65D
analogous
#865DE6 #CB5DE6 #E65DBC
triadic
#CB5DE6 #E6CB5D #5DE6CB
tetradic
#CB5DE6 #E6865D #78E65D #5DBCE6
square
#CB5DE6 #E6865D #78E65D #5DBCE6
split-complementary
#CB5DE6 #BCE65D #5DE686
monochromatic
#911BAE #BA28DE #CB5DE6 #DC92EE #EDC7F6

Accessibility & contrast

On white

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

On black

6.25
#CB5DE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5DE6
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5DE6#FFFFFF#000000##000000
##CB5DE61.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B85EA
Deuteranopia (green-blind)
#6690E2
Tritanopia (blue-blind)
#CB7399
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cb5de6;
/* rgb */ color: rgb(203, 93, 230);
/* oklch */ color: oklch(66.7% 0.217 319.3);
Tailwind
colors: {
  custom: {
    50: '#de91ee',
    500: '#cb5de6',
    950: '#000000',
  },
}
SCSS
$custom: #cb5de6;
$custom-light: #de91ee;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5de6",
  "rgb": {
    "r": 203,
    "g": 93,
    "b": 230
  },
  "hsl": {
    "h": 288.175,
    "s": 73.262,
    "l": 63.333
  },
  "oklch": {
    "l": 0.66719,
    "c": 0.21656,
    "h": 319.3
  },
  "luminance": 0.26238
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB5DE6

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

Preview Lab → · Contrast checker → · Palette generator →

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