#CB5DC2#CB5DC2

#CB5DC2 is a light, vivid purple. Relative luminance 0.244; OKLCH L 64.9% C 0.184 H 330.7°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#CB5DC2
RGBrgb(203, 93, 194)
HSLhsl(305, 51%, 58%)
HSVhsv(305, 54%, 80%)
CMYKcmyk(0%, 54.2%, 4.4%, 20.4%)
CIE-LABlab(56.51, 56.71, -33.03)
CIE-LCHlch(56.51, 65.63, 329.78°)
OKLaboklab(64.86% 0.1608 -0.0903)
OKLCHoklch(64.86% 0.184 330.7)
XYZxyz(38.2803, 24.4227, 53.7263)
Luminance0.2442 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5DC2 #5DCB66
analogous
#9D5DCB #CB5DC2 #CB5D8B
triadic
#CB5DC2 #C2CB5D #5DC2CB
tetradic
#CB5DC2 #CB9D5D #5DCB66 #5D8BCB
square
#CB5DC2 #CB9D5D #5DCB66 #5D8BCB
split-complementary
#CB5DC2 #8BCB5D #5DCB9D
monochromatic
#832A7C #B239A8 #CB5DC2 #DA8BD3 #E9BAE5

Accessibility & contrast

On white

3.57
#CB5DC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#CB5DC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5DC2
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5DC2#FFFFFF#000000##000000
##CB5DC21.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#577EC5
Deuteranopia (green-blind)
#798DBF
Tritanopia (blue-blind)
#D26787
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cb5dc2;
/* rgb */ color: rgb(203, 93, 194);
/* oklch */ color: oklch(64.9% 0.184 330.7);
Tailwind
colors: {
  custom: {
    50: '#dd90d4',
    500: '#cb5dc2',
    950: '#000000',
  },
}
SCSS
$custom: #cb5dc2;
$custom-light: #dd90d4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5dc2",
  "rgb": {
    "r": 203,
    "g": 93,
    "b": 194
  },
  "hsl": {
    "h": 304.909,
    "s": 51.402,
    "l": 58.039
  },
  "oklch": {
    "l": 0.64864,
    "c": 0.18446,
    "h": 330.7
  },
  "luminance": 0.2442
}

Semantic roles & 50–950 ramp

primary
#CB5DC2
secondary
#ACD8B0
accent
#DB594D
background
#FDF9FD
surface
#FBF1FA
border
#D4CBD3
text
#150D14
muted
#837E83

Preview Lab

Preview with #CB5DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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