#CB5BC2#CB5BC2

#CB5BC2 is a light, vivid purple. Relative luminance 0.241; OKLCH L 64.6% C 0.188 H 330.7°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#CB5BC2
RGBrgb(203, 91, 194)
HSLhsl(305, 52%, 58%)
HSVhsv(305, 55%, 80%)
CMYKcmyk(0%, 55.2%, 4.4%, 20.4%)
CIE-LABlab(56.16, 57.64, -33.56)
CIE-LCHlch(56.16, 66.70, 329.79°)
OKLaboklab(64.61% 0.1635 -0.0919)
OKLCHoklch(64.61% 0.188 330.7)
XYZxyz(38.1070, 24.0762, 53.6685)
Luminance0.2407 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5BC2 #5BCB64
analogous
#9C5BCB #CB5BC2 #CB5B8A
triadic
#CB5BC2 #C2CB5B #5BC2CB
tetradic
#CB5BC2 #CB9C5B #5BCB64 #5B8ACB
square
#CB5BC2 #CB9C5B #5BCB64 #5B8ACB
split-complementary
#CB5BC2 #8ACB5B #5BCB9C
monochromatic
#82297B #B138A7 #CB5BC2 #DA89D3 #E8B8E5

Accessibility & contrast

On white

3.61
#CB5BC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#CB5BC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5BC2
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5BC2#FFFFFF#000000##000000
##CB5BC21.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#557DC5
Deuteranopia (green-blind)
#788CBF
Tritanopia (blue-blind)
#D26586
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cb5bc2;
/* rgb */ color: rgb(203, 91, 194);
/* oklch */ color: oklch(64.6% 0.188 330.7);
Tailwind
colors: {
  custom: {
    50: '#dd8fd5',
    500: '#cb5bc2',
    950: '#000000',
  },
}
SCSS
$custom: #cb5bc2;
$custom-light: #dd8fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5bc2",
  "rgb": {
    "r": 203,
    "g": 91,
    "b": 194
  },
  "hsl": {
    "h": 304.821,
    "s": 51.852,
    "l": 57.647
  },
  "oklch": {
    "l": 0.6461,
    "c": 0.18752,
    "h": 330.7
  },
  "luminance": 0.24074
}

Semantic roles & 50–950 ramp

primary
#CB5BC2
secondary
#AAD7AE
accent
#DB584C
background
#FDF9FD
surface
#FBF1FA
border
#D4CBD3
text
#150D14
muted
#837E83

Preview Lab

Preview with #CB5BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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