#CB4DC2#CB4DC2

#CB4DC2 is a light, highly saturated purple. Relative luminance 0.219; OKLCH L 63.0% C 0.208 H 330.6°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#CB4DC2
RGBrgb(203, 77, 194)
HSLhsl(304, 55%, 55%)
HSVhsv(304, 62%, 80%)
CMYKcmyk(0%, 62.1%, 4.4%, 20.4%)
CIE-LABlab(53.92, 63.76, -37.07)
CIE-LCHlch(53.92, 73.75, 329.82°)
OKLaboklab(62.97% 0.1811 -0.1018)
OKLCHoklch(62.97% 0.208 330.6)
XYZxyz(37.0199, 21.9020, 53.3061)
Luminance0.2190 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4DC2 #4DCB56
analogous
#954DCB #CB4DC2 #CB4D83
triadic
#CB4DC2 #C2CB4D #4DC2CB
tetradic
#CB4DC2 #CB954D #4DCB56 #4D83CB
square
#CB4DC2 #CB954D #4DCB56 #4D83CB
split-complementary
#CB4DC2 #83CB4D #4DCB95
monochromatic
#7A2474 #A931A1 #CB4DC2 #D97CD2 #E7ACE2

Accessibility & contrast

On white

3.90
#CB4DC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#CB4DC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4DC2
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4DC2#FFFFFF#000000##000000
##CB4DC21.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4476C6
Deuteranopia (green-blind)
#6F87BF
Tritanopia (blue-blind)
#D25A81
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cb4dc2;
/* rgb */ color: rgb(203, 77, 194);
/* oklch */ color: oklch(63.0% 0.208 330.6);
Tailwind
colors: {
  custom: {
    50: '#de87d5',
    500: '#cb4dc2',
    950: '#000000',
  },
}
SCSS
$custom: #cb4dc2;
$custom-light: #de87d5;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4dc2",
  "rgb": {
    "r": 203,
    "g": 77,
    "b": 194
  },
  "hsl": {
    "h": 304.286,
    "s": 54.783,
    "l": 54.902
  },
  "oklch": {
    "l": 0.62971,
    "c": 0.20771,
    "h": 330.6
  },
  "luminance": 0.21899
}

Semantic roles & 50–950 ramp

primary
#CB4DC2
secondary
#9FD4A3
accent
#DE544A
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #CB4DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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