#CB5BD9#CB5BD9

#CB5BD9 is a light, highly saturated purple. Relative luminance 0.252; OKLCH L 65.8% C 0.208 H 323.1°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#CB5BD9
RGBrgb(203, 91, 217)
HSLhsl(293, 62%, 60%)
HSVhsv(293, 58%, 85%)
CMYKcmyk(6.5%, 58.1%, 0%, 14.9%)
CIE-LABlab(57.26, 61.68, -44.93)
CIE-LCHlch(57.26, 76.31, 323.93°)
OKLaboklab(65.77% 0.1659 -0.1246)
OKLCHoklch(65.77% 0.208 323.1)
XYZxyz(40.8929, 25.1906, 68.3405)
Luminance0.2519 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5BD9 #69D95B
analogous
#8C5BD9 #CB5BD9 #D95BA8
triadic
#CB5BD9 #D9CB5B #5BD9CB
tetradic
#CB5BD9 #D98C5B #69D95B #5BA8D9
square
#CB5BD9 #D98C5B #69D95B #5BA8D9
split-complementary
#CB5BD9 #A8D95B #5BD98C
monochromatic
#8A2397 #B72EC8 #CB5BD9 #DB8DE5 #EBBEF0

Accessibility & contrast

On white

3.48
#CB5BD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#CB5BD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5BD9
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5BD9#FFFFFF#000000##000000
##CB5BD91.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4581DD
Deuteranopia (green-blind)
#6C8ED6
Tritanopia (blue-blind)
#CE6D92
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cb5bd9;
/* rgb */ color: rgb(203, 91, 217);
/* oklch */ color: oklch(65.8% 0.208 323.1);
Tailwind
colors: {
  custom: {
    50: '#de8fe5',
    500: '#cb5bd9',
    950: '#000000',
  },
}
SCSS
$custom: #cb5bd9;
$custom-light: #de8fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5bd9",
  "rgb": {
    "r": 203,
    "g": 91,
    "b": 217
  },
  "hsl": {
    "h": 293.333,
    "s": 62.376,
    "l": 60.392
  },
  "oklch": {
    "l": 0.6577,
    "c": 0.20751,
    "h": 323.1
  },
  "luminance": 0.25188
}

Semantic roles & 50–950 ramp

primary
#CB5BD9
secondary
#B5E0B0
accent
#CA1B2F
background
#FDF9FE
surface
#FBF1FC
border
#D4CBD5
text
#150D16
muted
#837E84

Preview Lab

Preview with #CB5BD9

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

Preview Lab → · Contrast checker → · Palette generator →

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