#CB5DC1#CB5DC1

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

Color values

HEX#CB5DC1
RGBrgb(203, 93, 193)
HSLhsl(305, 51%, 58%)
HSVhsv(305, 54%, 80%)
CMYKcmyk(0%, 54.2%, 4.9%, 20.4%)
CIE-LABlab(56.46, 56.54, -32.52)
CIE-LCHlch(56.46, 65.23, 330.09°)
OKLaboklab(64.82% 0.1607 -0.0889)
OKLCHoklch(64.82% 0.184 331)
XYZxyz(38.1684, 24.3780, 53.1368)
Luminance0.2437 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5DC1 #5DCB67
analogous
#9E5DCB #CB5DC1 #CB5D8A
triadic
#CB5DC1 #C1CB5D #5DC1CB
tetradic
#CB5DC1 #CB9E5D #5DCB67 #5D8ACB
square
#CB5DC1 #CB9E5D #5DCB67 #5D8ACB
split-complementary
#CB5DC1 #8ACB5D #5DCB9E
monochromatic
#832A7B #B239A7 #CB5DC1 #DA8BD3 #E9BAE4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB5DC1#FFFFFF#000000##000000
##CB5DC11.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)
#587EC4
Deuteranopia (green-blind)
#798DBE
Tritanopia (blue-blind)
#D26687
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cb5dc1;
/* rgb */ color: rgb(203, 93, 193);
/* oklch */ color: oklch(64.8% 0.184 331.0);
Tailwind
colors: {
  custom: {
    50: '#dd90d4',
    500: '#cb5dc1',
    950: '#000000',
  },
}
SCSS
$custom: #cb5dc1;
$custom-light: #dd90d4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5dc1",
  "rgb": {
    "r": 203,
    "g": 93,
    "b": 193
  },
  "hsl": {
    "h": 305.455,
    "s": 51.402,
    "l": 58.039
  },
  "oklch": {
    "l": 0.64817,
    "c": 0.18362,
    "h": 331
  },
  "luminance": 0.24375
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB5DC1

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

Preview Lab → · Contrast checker → · Palette generator →

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