#CB5AC4#CB5AC4

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

Color values

HEX#CB5AC4
RGBrgb(203, 90, 196)
HSLhsl(304, 52%, 57%)
HSVhsv(304, 56%, 80%)
CMYKcmyk(0%, 55.7%, 3.4%, 20.4%)
CIE-LABlab(56.08, 58.43, -34.83)
CIE-LCHlch(56.08, 68.03, 329.20°)
OKLaboklab(64.58% 0.1651 -0.0955)
OKLCHoklch(64.58% 0.191 330)
XYZxyz(38.2482, 23.9968, 54.8311)
Luminance0.2399 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5AC4 #5ACB61
analogous
#9A5ACB #CB5AC4 #CB5A8B
triadic
#CB5AC4 #C4CB5A #5AC4CB
tetradic
#CB5AC4 #CB9A5A #5ACB61 #5A8BCB
square
#CB5AC4 #CB9A5A #5ACB61 #5A8BCB
split-complementary
#CB5AC4 #8BCB5A #5ACB9A
monochromatic
#82297C #B038A9 #CB5AC4 #DA89D5 #E8B7E5

Accessibility & contrast

On white

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

On black

5.80
#CB5AC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5AC4
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5AC4#FFFFFF#000000##000000
##CB5AC41.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#537DC7
Deuteranopia (green-blind)
#768CC1
Tritanopia (blue-blind)
#D26587
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cb5ac4;
/* rgb */ color: rgb(203, 90, 196);
/* oklch */ color: oklch(64.6% 0.191 330.0);
Tailwind
colors: {
  custom: {
    50: '#dd8ed6',
    500: '#cb5ac4',
    950: '#000000',
  },
}
SCSS
$custom: #cb5ac4;
$custom-light: #dd8ed6;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5ac4",
  "rgb": {
    "r": 203,
    "g": 90,
    "b": 196
  },
  "hsl": {
    "h": 303.717,
    "s": 52.074,
    "l": 57.451
  },
  "oklch": {
    "l": 0.64582,
    "c": 0.1907,
    "h": 330
  },
  "luminance": 0.23994
}

Semantic roles & 50–950 ramp

primary
#CB5AC4
secondary
#AAD7AC
accent
#DC554C
background
#FDF9FD
surface
#FBF1FA
border
#D4CBD3
text
#150D14
muted
#837E83

Preview Lab

Preview with #CB5AC4

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

Preview Lab → · Contrast checker → · Palette generator →

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