#CB5BC6#CB5BC6

#CB5BC6 is a light, vivid purple. Relative luminance 0.243; OKLCH L 64.8% C 0.191 H 329.2°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#CB5BC6
RGBrgb(203, 91, 198)
HSLhsl(303, 52%, 58%)
HSVhsv(303, 55%, 80%)
CMYKcmyk(0%, 55.2%, 2.5%, 20.4%)
CIE-LABlab(56.35, 58.32, -35.57)
CIE-LCHlch(56.35, 68.31, 328.62°)
OKLaboklab(64.8% 0.164 -0.0976)
OKLCHoklch(64.8% 0.191 329.2)
XYZxyz(38.5623, 24.2583, 56.0663)
Luminance0.2426 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5BC6 #5BCB60
analogous
#985BCB #CB5BC6 #CB5B8E
triadic
#CB5BC6 #C6CB5B #5BC6CB
tetradic
#CB5BC6 #CB985B #5BCB60 #5B8ECB
square
#CB5BC6 #CB985B #5BCB60 #5B8ECB
split-complementary
#CB5BC6 #8ECB5B #5BCB98
monochromatic
#82297E #B138AB #CB5BC6 #DA89D6 #E8B8E6

Accessibility & contrast

On white

3.59
#CB5BC6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#CB5BC6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5BC6
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5BC6#FFFFFF#000000##000000
##CB5BC61.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#527DC9
Deuteranopia (green-blind)
#768DC3
Tritanopia (blue-blind)
#D16688
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cb5bc6;
/* rgb */ color: rgb(203, 91, 198);
/* oklch */ color: oklch(64.8% 0.191 329.2);
Tailwind
colors: {
  custom: {
    50: '#dd8fd7',
    500: '#cb5bc6',
    950: '#000000',
  },
}
SCSS
$custom: #cb5bc6;
$custom-light: #dd8fd7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5bc6",
  "rgb": {
    "r": 203,
    "g": 91,
    "b": 198
  },
  "hsl": {
    "h": 302.679,
    "s": 51.852,
    "l": 57.647
  },
  "oklch": {
    "l": 0.64803,
    "c": 0.19088,
    "h": 329.2
  },
  "luminance": 0.24256
}

Semantic roles & 50–950 ramp

primary
#CB5BC6
secondary
#AAD7AC
accent
#DB534C
background
#FDF9FD
surface
#FBF1FA
border
#D4CBD3
text
#150D14
muted
#837E83

Preview Lab

Preview with #CB5BC6

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

Preview Lab → · Contrast checker → · Palette generator →

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