#CB5DC3#CB5DC3

#CB5DC3 is a light, vivid purple. Relative luminance 0.245; OKLCH L 64.9% C 0.185 H 330.3°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#CB5DC3
RGBrgb(203, 93, 195)
HSLhsl(304, 51%, 58%)
HSVhsv(304, 54%, 80%)
CMYKcmyk(0%, 54.2%, 3.9%, 20.4%)
CIE-LABlab(56.55, 56.88, -33.53)
CIE-LCHlch(56.55, 66.03, 329.48°)
OKLaboklab(64.91% 0.161 -0.0918)
OKLCHoklch(64.91% 0.185 330.3)
XYZxyz(38.3930, 24.4678, 54.3197)
Luminance0.2447 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5DC3 #5DCB65
analogous
#9C5DCB #CB5DC3 #CB5D8C
triadic
#CB5DC3 #C3CB5D #5DC3CB
tetradic
#CB5DC3 #CB9C5D #5DCB65 #5D8CCB
square
#CB5DC3 #CB9C5D #5DCB65 #5D8CCB
split-complementary
#CB5DC3 #8CCB5D #5DCB9C
monochromatic
#832A7D #B239A9 #CB5DC3 #DA8BD4 #E9BAE5

Accessibility & contrast

On white

3.56
#CB5DC3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#CB5DC3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5DC3
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5DC3#FFFFFF#000000##000000
##CB5DC31.003.565.895.89
#FFFFFF3.561.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#577EC6
Deuteranopia (green-blind)
#788DC0
Tritanopia (blue-blind)
#D26788
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cb5dc3;
/* rgb */ color: rgb(203, 93, 195);
/* oklch */ color: oklch(64.9% 0.185 330.3);
Tailwind
colors: {
  custom: {
    50: '#dd90d5',
    500: '#cb5dc3',
    950: '#000000',
  },
}
SCSS
$custom: #cb5dc3;
$custom-light: #dd90d5;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5dc3",
  "rgb": {
    "r": 203,
    "g": 93,
    "b": 195
  },
  "hsl": {
    "h": 304.364,
    "s": 51.402,
    "l": 58.039
  },
  "oklch": {
    "l": 0.64911,
    "c": 0.1853,
    "h": 330.3
  },
  "luminance": 0.24465
}

Semantic roles & 50–950 ramp

primary
#CB5DC3
secondary
#ACD8AF
accent
#DB574D
background
#FDF9FD
surface
#FBF1FA
border
#D4CBD3
text
#150D14
muted
#837E83

Preview Lab

Preview with #CB5DC3

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

Preview Lab → · Contrast checker → · Palette generator →

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