#CB5AC2#CB5AC2

#CB5AC2 is a light, vivid purple. Relative luminance 0.239; OKLCH L 64.5% C 0.189 H 330.7°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#CB5AC2
RGBrgb(203, 90, 194)
HSLhsl(305, 52%, 57%)
HSVhsv(305, 56%, 80%)
CMYKcmyk(0%, 55.7%, 4.4%, 20.4%)
CIE-LABlab(55.99, 58.09, -33.83)
CIE-LCHlch(55.99, 67.23, 329.79°)
OKLaboklab(64.49% 0.1648 -0.0926)
OKLCHoklch(64.49% 0.189 330.7)
XYZxyz(38.0221, 23.9064, 53.6402)
Luminance0.2390 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5AC2 #5ACB63
analogous
#9C5ACB #CB5AC2 #CB5A89
triadic
#CB5AC2 #C2CB5A #5AC2CB
tetradic
#CB5AC2 #CB9C5A #5ACB63 #5A89CB
square
#CB5AC2 #CB9C5A #5ACB63 #5A89CB
split-complementary
#CB5AC2 #89CB5A #5ACB9C
monochromatic
#82297B #B038A7 #CB5AC2 #DA89D3 #E8B7E4

Accessibility & contrast

On white

3.63
#CB5AC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#CB5AC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5AC2
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5AC2#FFFFFF#000000##000000
##CB5AC21.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#547CC5
Deuteranopia (green-blind)
#778CBF
Tritanopia (blue-blind)
#D26486
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cb5ac2;
/* rgb */ color: rgb(203, 90, 194);
/* oklch */ color: oklch(64.5% 0.189 330.7);
Tailwind
colors: {
  custom: {
    50: '#dd8ed5',
    500: '#cb5ac2',
    950: '#000000',
  },
}
SCSS
$custom: #cb5ac2;
$custom-light: #dd8ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5ac2",
  "rgb": {
    "r": 203,
    "g": 90,
    "b": 194
  },
  "hsl": {
    "h": 304.779,
    "s": 52.074,
    "l": 57.451
  },
  "oklch": {
    "l": 0.64485,
    "c": 0.18903,
    "h": 330.7
  },
  "luminance": 0.23904
}

Semantic roles & 50–950 ramp

primary
#CB5AC2
secondary
#AAD7AD
accent
#DC584C
background
#FDF9FD
surface
#FBF1FA
border
#D4CBD3
text
#150D14
muted
#837E83

Preview Lab

Preview with #CB5AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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