#CB5FD8#CB5FD8

#CB5FD8 is a light, highly saturated purple. Relative luminance 0.258; OKLCH L 66.2% C 0.201 H 323.2°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#CB5FD8
RGBrgb(203, 95, 216)
HSLhsl(294, 61%, 61%)
HSVhsv(294, 56%, 85%)
CMYKcmyk(6%, 56%, 0%, 15.3%)
CIE-LABlab(57.89, 59.67, -43.38)
CIE-LCHlch(57.89, 73.77, 323.99°)
OKLaboklab(66.21% 0.1608 -0.1201)
OKLCHoklch(66.21% 0.201 323.2)
XYZxyz(41.1143, 25.8409, 67.7746)
Luminance0.2584 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5FD8 #6CD85F
analogous
#8E5FD8 #CB5FD8 #D85FA8
triadic
#CB5FD8 #D8CB5F #5FD8CB
tetradic
#CB5FD8 #D88E5F #6CD85F #5FA8D8
square
#CB5FD8 #D88E5F #6CD85F #5FA8D8
split-complementary
#CB5FD8 #A8D85F #5FD88E
monochromatic
#8B2598 #B931C9 #CB5FD8 #DB90E4 #EBC1F0

Accessibility & contrast

On white

3.40
#CB5FD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#CB5FD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5FD8
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5FD8#FFFFFF#000000##000000
##CB5FD81.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B83DC
Deuteranopia (green-blind)
#7090D5
Tritanopia (blue-blind)
#CE7093
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cb5fd8;
/* rgb */ color: rgb(203, 95, 216);
/* oklch */ color: oklch(66.2% 0.201 323.2);
Tailwind
colors: {
  custom: {
    50: '#de92e4',
    500: '#cb5fd8',
    950: '#000000',
  },
}
SCSS
$custom: #cb5fd8;
$custom-light: #de92e4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5fd8",
  "rgb": {
    "r": 203,
    "g": 95,
    "b": 216
  },
  "hsl": {
    "h": 293.554,
    "s": 60.804,
    "l": 60.98
  },
  "oklch": {
    "l": 0.66211,
    "c": 0.20075,
    "h": 323.2
  },
  "luminance": 0.25839
}

Semantic roles & 50–950 ramp

primary
#CB5FD8
secondary
#B7E0B3
accent
#C81D2F
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150D15
muted
#837E84

Preview Lab

Preview with #CB5FD8

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

Preview Lab → · Contrast checker → · Palette generator →

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