#CB5DC5#CB5DC5

#CB5DC5 is a light, vivid purple. Relative luminance 0.246; OKLCH L 65.0% C 0.187 H 329.6°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#CB5DC5
RGBrgb(203, 93, 197)
HSLhsl(303, 51%, 58%)
HSVhsv(303, 54%, 80%)
CMYKcmyk(0%, 54.2%, 3%, 20.4%)
CIE-LABlab(56.64, 57.22, -34.53)
CIE-LCHlch(56.64, 66.83, 328.89°)
OKLaboklab(65.01% 0.1613 -0.0946)
OKLCHoklch(65.01% 0.187 329.6)
XYZxyz(38.6206, 24.5589, 55.5186)
Luminance0.2456 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5DC5 #5DCB63
analogous
#9A5DCB #CB5DC5 #CB5D8E
triadic
#CB5DC5 #C5CB5D #5DC5CB
tetradic
#CB5DC5 #CB9A5D #5DCB63 #5D8ECB
square
#CB5DC5 #CB9A5D #5DCB63 #5D8ECB
split-complementary
#CB5DC5 #8ECB5D #5DCB9A
monochromatic
#832A7F #B239AB #CB5DC5 #DA8BD6 #E9BAE6

Accessibility & contrast

On white

3.55
#CB5DC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#CB5DC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5DC5
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5DC5#FFFFFF#000000##000000
##CB5DC51.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#557EC8
Deuteranopia (green-blind)
#788DC2
Tritanopia (blue-blind)
#D26889
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cb5dc5;
/* rgb */ color: rgb(203, 93, 197);
/* oklch */ color: oklch(65.0% 0.187 329.6);
Tailwind
colors: {
  custom: {
    50: '#dd90d7',
    500: '#cb5dc5',
    950: '#000000',
  },
}
SCSS
$custom: #cb5dc5;
$custom-light: #dd90d7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5dc5",
  "rgb": {
    "r": 203,
    "g": 93,
    "b": 197
  },
  "hsl": {
    "h": 303.273,
    "s": 51.402,
    "l": 58.039
  },
  "oklch": {
    "l": 0.65007,
    "c": 0.18699,
    "h": 329.6
  },
  "luminance": 0.24556
}

Semantic roles & 50–950 ramp

primary
#CB5DC5
secondary
#ACD8AE
accent
#DB554D
background
#FDF9FD
surface
#FBF1FA
border
#D4CBD3
text
#150D14
muted
#837E83

Preview Lab

Preview with #CB5DC5

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

Preview Lab → · Contrast checker → · Palette generator →

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