#CB5CC2#CB5CC2

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

Color values

HEX#CB5CC2
RGBrgb(203, 92, 194)
HSLhsl(305, 52%, 58%)
HSVhsv(305, 55%, 80%)
CMYKcmyk(0%, 54.7%, 4.4%, 20.4%)
CIE-LABlab(56.34, 57.17, -33.30)
CIE-LCHlch(56.34, 66.16, 329.78°)
OKLaboklab(64.74% 0.1621 -0.0911)
OKLCHoklch(64.74% 0.186 330.7)
XYZxyz(38.1931, 24.2483, 53.6972)
Luminance0.2425 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5CC2 #5CCB65
analogous
#9C5CCB #CB5CC2 #CB5C8A
triadic
#CB5CC2 #C2CB5C #5CC2CB
tetradic
#CB5CC2 #CB9C5C #5CCB65 #5C8ACB
square
#CB5CC2 #CB9C5C #5CCB65 #5C8ACB
split-complementary
#CB5CC2 #8ACB5C #5CCB9C
monochromatic
#832A7C #B139A7 #CB5CC2 #DA8AD3 #E9B9E5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB5CC2#FFFFFF#000000##000000
##CB5CC21.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)
#567DC5
Deuteranopia (green-blind)
#788DBF
Tritanopia (blue-blind)
#D26687
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cb5cc2;
/* rgb */ color: rgb(203, 92, 194);
/* oklch */ color: oklch(64.7% 0.186 330.7);
Tailwind
colors: {
  custom: {
    50: '#dd8fd4',
    500: '#cb5cc2',
    950: '#000000',
  },
}
SCSS
$custom: #cb5cc2;
$custom-light: #dd8fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5cc2",
  "rgb": {
    "r": 203,
    "g": 92,
    "b": 194
  },
  "hsl": {
    "h": 304.865,
    "s": 51.628,
    "l": 57.843
  },
  "oklch": {
    "l": 0.64736,
    "c": 0.18599,
    "h": 330.7
  },
  "luminance": 0.24246
}

Semantic roles & 50–950 ramp

primary
#CB5CC2
secondary
#ABD8AF
accent
#DB584D
background
#FDF9FD
surface
#FBF1FA
border
#D4CBD3
text
#150D14
muted
#837E83

Preview Lab

Preview with #CB5CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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