#CB5BC4#CB5BC4

#CB5BC4 is a light, vivid purple. Relative luminance 0.242; OKLCH L 64.7% C 0.189 H 329.9°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#CB5BC4
RGBrgb(203, 91, 196)
HSLhsl(304, 52%, 58%)
HSVhsv(304, 55%, 80%)
CMYKcmyk(0%, 55.2%, 3.4%, 20.4%)
CIE-LABlab(56.25, 57.97, -34.57)
CIE-LCHlch(56.25, 67.50, 329.19°)
OKLaboklab(64.71% 0.1638 -0.0947)
OKLCHoklch(64.71% 0.189 329.9)
XYZxyz(38.3332, 24.1667, 54.8594)
Luminance0.2416 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5BC4 #5BCB62
analogous
#9A5BCB #CB5BC4 #CB5B8C
triadic
#CB5BC4 #C4CB5B #5BC4CB
tetradic
#CB5BC4 #CB9A5B #5BCB62 #5B8CCB
square
#CB5BC4 #CB9A5B #5BCB62 #5B8CCB
split-complementary
#CB5BC4 #8CCB5B #5BCB9A
monochromatic
#82297D #B138A9 #CB5BC4 #DA89D5 #E8B8E5

Accessibility & contrast

On white

3.60
#CB5BC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#CB5BC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5BC4
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5BC4#FFFFFF#000000##000000
##CB5BC41.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#547DC7
Deuteranopia (green-blind)
#778CC1
Tritanopia (blue-blind)
#D26687
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cb5bc4;
/* rgb */ color: rgb(203, 91, 196);
/* oklch */ color: oklch(64.7% 0.189 329.9);
Tailwind
colors: {
  custom: {
    50: '#dd8fd6',
    500: '#cb5bc4',
    950: '#000000',
  },
}
SCSS
$custom: #cb5bc4;
$custom-light: #dd8fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5bc4",
  "rgb": {
    "r": 203,
    "g": 91,
    "b": 196
  },
  "hsl": {
    "h": 303.75,
    "s": 51.852,
    "l": 57.647
  },
  "oklch": {
    "l": 0.64706,
    "c": 0.18919,
    "h": 329.9
  },
  "luminance": 0.24164
}

Semantic roles & 50–950 ramp

primary
#CB5BC4
secondary
#AAD7AD
accent
#DB554C
background
#FDF9FD
surface
#FBF1FA
border
#D4CBD3
text
#150D14
muted
#837E83

Preview Lab

Preview with #CB5BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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