#CB5CC6#CB5CC6

#CB5CC6 is a light, vivid purple. Relative luminance 0.244; OKLCH L 64.9% C 0.189 H 329.2°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#CB5CC6
RGBrgb(203, 92, 198)
HSLhsl(303, 52%, 58%)
HSVhsv(303, 55%, 80%)
CMYKcmyk(0%, 54.7%, 2.5%, 20.4%)
CIE-LABlab(56.52, 57.86, -35.30)
CIE-LCHlch(56.52, 67.78, 328.61°)
OKLaboklab(64.93% 0.1627 -0.0968)
OKLCHoklch(64.93% 0.189 329.2)
XYZxyz(38.6484, 24.4304, 56.0950)
Luminance0.2443 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5CC6 #5CCB61
analogous
#995CCB #CB5CC6 #CB5C8E
triadic
#CB5CC6 #C6CB5C #5CC6CB
tetradic
#CB5CC6 #CB995C #5CCB61 #5C8ECB
square
#CB5CC6 #CB995C #5CCB61 #5C8ECB
split-complementary
#CB5CC6 #8ECB5C #5CCB99
monochromatic
#832A7F #B139AC #CB5CC6 #DA8AD6 #E9B9E6

Accessibility & contrast

On white

3.57
#CB5CC6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#CB5CC6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5CC6
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5CC6#FFFFFF#000000##000000
##CB5CC61.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#547EC9
Deuteranopia (green-blind)
#768DC3
Tritanopia (blue-blind)
#D16789
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cb5cc6;
/* rgb */ color: rgb(203, 92, 198);
/* oklch */ color: oklch(64.9% 0.189 329.2);
Tailwind
colors: {
  custom: {
    50: '#dd8fd7',
    500: '#cb5cc6',
    950: '#000000',
  },
}
SCSS
$custom: #cb5cc6;
$custom-light: #dd8fd7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5cc6",
  "rgb": {
    "r": 203,
    "g": 92,
    "b": 198
  },
  "hsl": {
    "h": 302.703,
    "s": 51.628,
    "l": 57.843
  },
  "oklch": {
    "l": 0.64928,
    "c": 0.18936,
    "h": 329.2
  },
  "luminance": 0.24428
}

Semantic roles & 50–950 ramp

primary
#CB5CC6
secondary
#ABD8AD
accent
#DB534D
background
#FDF9FD
surface
#FBF1FA
border
#D4CBD3
text
#150D14
muted
#837E83

Preview Lab

Preview with #CB5CC6

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

Preview Lab → · Contrast checker → · Palette generator →

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