#CB5AC1#CB5AC1

#CB5AC1 is a light, vivid purple. Relative luminance 0.239; OKLCH L 64.4% C 0.188 H 331.0°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#CB5AC1
RGBrgb(203, 90, 193)
HSLhsl(305, 52%, 57%)
HSVhsv(305, 56%, 80%)
CMYKcmyk(0%, 55.7%, 4.9%, 20.4%)
CIE-LABlab(55.95, 57.93, -33.33)
CIE-LCHlch(55.95, 66.83, 330.09°)
OKLaboklab(64.44% 0.1647 -0.0912)
OKLCHoklch(64.44% 0.188 331)
XYZxyz(37.9102, 23.8616, 53.0507)
Luminance0.2386 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5AC1 #5ACB64
analogous
#9D5ACB #CB5AC1 #CB5A88
triadic
#CB5AC1 #C1CB5A #5AC1CB
tetradic
#CB5AC1 #CB9D5A #5ACB64 #5A88CB
square
#CB5AC1 #CB9D5A #5ACB64 #5A88CB
split-complementary
#CB5AC1 #88CB5A #5ACB9D
monochromatic
#82297A #B038A6 #CB5AC1 #DA89D2 #E8B7E4

Accessibility & contrast

On white

3.64
#CB5AC1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#CB5AC1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5AC1
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5AC1#FFFFFF#000000##000000
##CB5AC11.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#547CC4
Deuteranopia (green-blind)
#778CBE
Tritanopia (blue-blind)
#D26485
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cb5ac1;
/* rgb */ color: rgb(203, 90, 193);
/* oklch */ color: oklch(64.4% 0.188 331.0);
Tailwind
colors: {
  custom: {
    50: '#dd8ed4',
    500: '#cb5ac1',
    950: '#000000',
  },
}
SCSS
$custom: #cb5ac1;
$custom-light: #dd8ed4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5ac1",
  "rgb": {
    "r": 203,
    "g": 90,
    "b": 193
  },
  "hsl": {
    "h": 305.31,
    "s": 52.074,
    "l": 57.451
  },
  "oklch": {
    "l": 0.64438,
    "c": 0.18821,
    "h": 331
  },
  "luminance": 0.23859
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB5AC1

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

Preview Lab → · Contrast checker → · Palette generator →

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