#CB5AC7#CB5AC7

#CB5AC7 is a light, vivid purple. Relative luminance 0.241; OKLCH L 64.7% C 0.193 H 328.9°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#CB5AC7
RGBrgb(203, 90, 199)
HSLhsl(302, 52%, 57%)
HSVhsv(302, 56%, 80%)
CMYKcmyk(0%, 55.7%, 2%, 20.4%)
CIE-LABlab(56.22, 58.95, -36.33)
CIE-LCHlch(56.22, 69.24, 328.35°)
OKLaboklab(64.73% 0.1655 -0.0998)
OKLCHoklch(64.73% 0.193 328.9)
XYZxyz(38.5931, 24.1348, 56.6475)
Luminance0.2413 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5AC7 #5ACB5E
analogous
#975ACB #CB5AC7 #CB5A8E
triadic
#CB5AC7 #C7CB5A #5AC7CB
tetradic
#CB5AC7 #CB975A #5ACB5E #5A8ECB
square
#CB5AC7 #CB975A #5ACB5E #5A8ECB
split-complementary
#CB5AC7 #8ECB5A #5ACB97
monochromatic
#82297F #B038AC #CB5AC7 #DA89D7 #E8B7E7

Accessibility & contrast

On white

3.60
#CB5AC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#CB5AC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5AC7
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5AC7#FFFFFF#000000##000000
##CB5AC71.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#517DCA
Deuteranopia (green-blind)
#758CC4
Tritanopia (blue-blind)
#D16688
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cb5ac7;
/* rgb */ color: rgb(203, 90, 199);
/* oklch */ color: oklch(64.7% 0.193 328.9);
Tailwind
colors: {
  custom: {
    50: '#dd8ed8',
    500: '#cb5ac7',
    950: '#000000',
  },
}
SCSS
$custom: #cb5ac7;
$custom-light: #dd8ed8;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5ac7",
  "rgb": {
    "r": 203,
    "g": 90,
    "b": 199
  },
  "hsl": {
    "h": 302.124,
    "s": 52.074,
    "l": 57.451
  },
  "oklch": {
    "l": 0.64728,
    "c": 0.19323,
    "h": 328.9
  },
  "luminance": 0.24132
}

Semantic roles & 50–950 ramp

primary
#CB5AC7
secondary
#AAD7AB
accent
#DC514C
background
#FDF9FD
surface
#FBF1FA
border
#D4CBD3
text
#150D14
muted
#837E83

Preview Lab

Preview with #CB5AC7

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

Preview Lab → · Contrast checker → · Palette generator →

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