#CB5DF9#CB5DF9

#CB5DF9 is a light, highly saturated purple. Relative luminance 0.274; OKLCH L 67.8% C 0.234 H 314.5°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#CB5DF9
RGBrgb(203, 93, 249)
HSLhsl(282, 93%, 67%)
HSVhsv(282, 63%, 98%)
CMYKcmyk(18.5%, 62.7%, 0%, 2.4%)
CIE-LABlab(59.31, 66.91, -59.56)
CIE-LCHlch(59.31, 89.58, 318.33°)
OKLaboklab(67.82% 0.1642 -0.1673)
OKLCHoklch(67.82% 0.234 314.5)
XYZxyz(45.6390, 27.3662, 92.4822)
Luminance0.2737 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5DF9 #8BF95D
analogous
#7D5DF9 #CB5DF9 #F95DD9
triadic
#CB5DF9 #F9CB5D #5DF9CB
tetradic
#CB5DF9 #F97D5D #8BF95D #5DD9F9
square
#CB5DF9 #F97D5D #8BF95D #5DD9F9
split-complementary
#CB5DF9 #D9F95D #5DF97D
monochromatic
#9808D4 #B822F7 #CB5DF9 #DE98FB #F1D3FD

Accessibility & contrast

On white

3.24
#CB5DF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#CB5DF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5DF9
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5DF9#FFFFFF#000000##000000
##CB5DF91.003.246.476.47
#FFFFFF3.241.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D89FE
Deuteranopia (green-blind)
#5892F5
Tritanopia (blue-blind)
#C77AA3
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #cb5df9;
/* rgb */ color: rgb(203, 93, 249);
/* oklch */ color: oklch(67.8% 0.234 314.5);
Tailwind
colors: {
  custom: {
    50: '#df91fc',
    500: '#cb5df9',
    950: '#000000',
  },
}
SCSS
$custom: #cb5df9;
$custom-light: #df91fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5df9",
  "rgb": {
    "r": 203,
    "g": 93,
    "b": 249
  },
  "hsl": {
    "h": 282.308,
    "s": 92.857,
    "l": 67.059
  },
  "oklch": {
    "l": 0.67816,
    "c": 0.23444,
    "h": 314.5
  },
  "luminance": 0.27365
}

Semantic roles & 50–950 ramp

primary
#CB5DF9
secondary
#CFF2C0
accent
#E60044
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CB5DF9

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

Preview Lab → · Contrast checker → · Palette generator →

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