#CB5BC1#CB5BC1

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

Color values

HEX#CB5BC1
RGBrgb(203, 91, 193)
HSLhsl(305, 52%, 58%)
HSVhsv(305, 55%, 80%)
CMYKcmyk(0%, 55.2%, 4.9%, 20.4%)
CIE-LABlab(56.12, 57.47, -33.06)
CIE-LCHlch(56.12, 66.30, 330.09°)
OKLaboklab(64.56% 0.1633 -0.0904)
OKLCHoklch(64.56% 0.187 331)
XYZxyz(37.9951, 24.0315, 53.0790)
Luminance0.2403 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5BC1 #5BCB65
analogous
#9D5BCB #CB5BC1 #CB5B89
triadic
#CB5BC1 #C1CB5B #5BC1CB
tetradic
#CB5BC1 #CB9D5B #5BCB65 #5B89CB
square
#CB5BC1 #CB9D5B #5BCB65 #5B89CB
split-complementary
#CB5BC1 #89CB5B #5BCB9D
monochromatic
#82297A #B138A6 #CB5BC1 #DA89D3 #E8B8E4

Accessibility & contrast

On white

3.62
#CB5BC1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB5BC1#FFFFFF#000000##000000
##CB5BC11.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#557DC4
Deuteranopia (green-blind)
#788CBE
Tritanopia (blue-blind)
#D26586
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cb5bc1;
/* rgb */ color: rgb(203, 91, 193);
/* oklch */ color: oklch(64.6% 0.187 331.0);
Tailwind
colors: {
  custom: {
    50: '#dd8fd4',
    500: '#cb5bc1',
    950: '#000000',
  },
}
SCSS
$custom: #cb5bc1;
$custom-light: #dd8fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5bc1",
  "rgb": {
    "r": 203,
    "g": 91,
    "b": 193
  },
  "hsl": {
    "h": 305.357,
    "s": 51.852,
    "l": 57.647
  },
  "oklch": {
    "l": 0.64563,
    "c": 0.18669,
    "h": 331
  },
  "luminance": 0.24029
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB5BC1

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

Preview Lab → · Contrast checker → · Palette generator →

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