#CB5DC6#CB5DC6

#CB5DC6 is a light, vivid purple. Relative luminance 0.246; OKLCH L 65.1% C 0.188 H 329.2°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#CB5DC6
RGBrgb(203, 93, 198)
HSLhsl(303, 51%, 58%)
HSVhsv(303, 54%, 80%)
CMYKcmyk(0%, 54.2%, 2.5%, 20.4%)
CIE-LABlab(56.69, 57.39, -35.03)
CIE-LCHlch(56.69, 67.24, 328.60°)
OKLaboklab(65.05% 0.1614 -0.0961)
OKLCHoklch(65.05% 0.188 329.2)
XYZxyz(38.7356, 24.6048, 56.1241)
Luminance0.2460 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5DC6 #5DCB62
analogous
#995DCB #CB5DC6 #CB5D8F
triadic
#CB5DC6 #C6CB5D #5DC6CB
tetradic
#CB5DC6 #CB995D #5DCB62 #5D8FCB
square
#CB5DC6 #CB995D #5DCB62 #5D8FCB
split-complementary
#CB5DC6 #8FCB5D #5DCB99
monochromatic
#832A7F #B239AC #CB5DC6 #DA8BD6 #E9BAE7

Accessibility & contrast

On white

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

On black

5.92
#CB5DC6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5DC6
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5DC6#FFFFFF#000000##000000
##CB5DC61.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#557FC9
Deuteranopia (green-blind)
#778DC3
Tritanopia (blue-blind)
#D16889
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cb5dc6;
/* rgb */ color: rgb(203, 93, 198);
/* oklch */ color: oklch(65.1% 0.188 329.2);
Tailwind
colors: {
  custom: {
    50: '#dd90d7',
    500: '#cb5dc6',
    950: '#000000',
  },
}
SCSS
$custom: #cb5dc6;
$custom-light: #dd90d7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5dc6",
  "rgb": {
    "r": 203,
    "g": 93,
    "b": 198
  },
  "hsl": {
    "h": 302.727,
    "s": 51.402,
    "l": 58.039
  },
  "oklch": {
    "l": 0.65055,
    "c": 0.18784,
    "h": 329.2
  },
  "luminance": 0.24602
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB5DC6

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

Preview Lab → · Contrast checker → · Palette generator →

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