#CB5DFD#CB5DFD

#CB5DFD is a light, highly saturated purple. Relative luminance 0.276; OKLCH L 68.1% C 0.238 H 313.5°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#CB5DFD
RGBrgb(203, 93, 253)
HSLhsl(281, 98%, 68%)
HSVhsv(281, 63%, 99%)
CMYKcmyk(19.8%, 63.2%, 0%, 0.8%)
CIE-LABlab(59.54, 67.71, -61.40)
CIE-LCHlch(59.54, 91.41, 317.80°)
OKLaboklab(68.06% 0.1641 -0.1727)
OKLCHoklch(68.06% 0.238 313.5)
XYZxyz(46.2695, 27.6184, 95.8030)
Luminance0.2762 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5DFD #8FFD5D
analogous
#7B5DFD #CB5DFD #FD5DDF
triadic
#CB5DFD #FDCB5D #5DFDCB
tetradic
#CB5DFD #FD7B5D #8FFD5D #5DDFFD
square
#CB5DFD #FD7B5D #8FFD5D #5DDFFD
split-complementary
#CB5DFD #DFFD5D #5DFD7B
monochromatic
#9903DD #B821FC #CB5DFD #DE99FE #F2D6FE

Accessibility & contrast

On white

3.22
#CB5DFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#CB5DFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5DFD
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5DFD#FFFFFF#000000##000000
##CB5DFD1.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F89FF
Deuteranopia (green-blind)
#5492F9
Tritanopia (blue-blind)
#C67CA5
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #cb5dfd;
/* rgb */ color: rgb(203, 93, 253);
/* oklch */ color: oklch(68.1% 0.238 313.5);
Tailwind
colors: {
  custom: {
    50: '#df91ff',
    500: '#cb5dfd',
    950: '#000000',
  },
}
SCSS
$custom: #cb5dfd;
$custom-light: #df91ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5dfd",
  "rgb": {
    "r": 203,
    "g": 93,
    "b": 253
  },
  "hsl": {
    "h": 281.25,
    "s": 97.561,
    "l": 67.843
  },
  "oklch": {
    "l": 0.68057,
    "c": 0.23824,
    "h": 313.5
  },
  "luminance": 0.27617
}

Semantic roles & 50–950 ramp

primary
#CB5DFD
secondary
#D2F4C2
accent
#E60048
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #CB5DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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