#CB5CD7#CB5CD7

#CB5CD7 is a light, highly saturated purple. Relative luminance 0.253; OKLCH L 65.8% C 0.204 H 323.7°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#CB5CD7
RGBrgb(203, 92, 215)
HSLhsl(294, 61%, 60%)
HSVhsv(294, 57%, 84%)
CMYKcmyk(5.6%, 57.2%, 0%, 15.7%)
CIE-LABlab(57.33, 60.87, -43.69)
CIE-LCHlch(57.33, 74.92, 324.33°)
OKLaboklab(65.79% 0.1645 -0.121)
OKLCHoklch(65.79% 0.204 323.7)
XYZxyz(40.7204, 25.2592, 67.0075)
Luminance0.2526 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5CD7 #68D75C
analogous
#8D5CD7 #CB5CD7 #D75CA6
triadic
#CB5CD7 #D7CB5C #5CD7CB
tetradic
#CB5CD7 #D78D5C #68D75C #5CA6D7
square
#CB5CD7 #D78D5C #68D75C #5CA6D7
split-complementary
#CB5CD7 #A6D75C #5CD78D
monochromatic
#892494 #B730C5 #CB5CD7 #DB8DE3 #EABEEF

Accessibility & contrast

On white

3.47
#CB5CD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#CB5CD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5CD7
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5CD7#FFFFFF#000000##000000
##CB5CD71.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4881DB
Deuteranopia (green-blind)
#6E8ED4
Tritanopia (blue-blind)
#CE6D91
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cb5cd7;
/* rgb */ color: rgb(203, 92, 215);
/* oklch */ color: oklch(65.8% 0.204 323.7);
Tailwind
colors: {
  custom: {
    50: '#de90e4',
    500: '#cb5cd7',
    950: '#000000',
  },
}
SCSS
$custom: #cb5cd7;
$custom-light: #de90e4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5cd7",
  "rgb": {
    "r": 203,
    "g": 92,
    "b": 215
  },
  "hsl": {
    "h": 294.146,
    "s": 60.591,
    "l": 60.196
  },
  "oklch": {
    "l": 0.65786,
    "c": 0.20426,
    "h": 323.7
  },
  "luminance": 0.25257
}

Semantic roles & 50–950 ramp

primary
#CB5CD7
secondary
#B4DFB0
accent
#C81D2E
background
#FDF9FE
surface
#FBF1FC
border
#D4CBD5
text
#150D15
muted
#837E84

Preview Lab

Preview with #CB5CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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