#CB84DC#CB84DC

#CB84DC is a light, vivid purple. Relative luminance 0.344; OKLCH L 71.7% C 0.145 H 319.7°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#CB84DC
RGBrgb(203, 132, 220)
HSLhsl(288, 56%, 69%)
HSVhsv(288, 40%, 86%)
CMYKcmyk(7.7%, 40%, 0%, 13.7%)
CIE-LABlab(65.25, 41.75, -34.08)
CIE-LCHlch(65.25, 53.90, 320.77°)
OKLaboklab(71.74% 0.1104 -0.0937)
OKLCHoklch(71.74% 0.145 319.7)
XYZxyz(45.7965, 34.3678, 71.9175)
Luminance0.3437 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB84DC #95DC84
analogous
#9F84DC #CB84DC #DC84C1
triadic
#CB84DC #DCCB84 #84DCCB
tetradic
#CB84DC #DC9F84 #95DC84 #84C1DC
square
#CB84DC #DC9F84 #95DC84 #84C1DC
split-complementary
#CB84DC #C1DC84 #84DC9F
monochromatic
#9A33B3 #B754CE #CB84DC #DFB4EA #F3E3F7

Accessibility & contrast

On white

2.67
#CB84DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#CB84DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB84DC
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB84DC#FFFFFF#000000##000000
##CB84DC1.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7899DF
Deuteranopia (green-blind)
#8AA1D9
Tritanopia (blue-blind)
#CC8FA6
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cb84dc;
/* rgb */ color: rgb(203, 132, 220);
/* oklch */ color: oklch(71.7% 0.145 319.7);
Tailwind
colors: {
  custom: {
    50: '#dca9e7',
    500: '#cb84dc',
    950: '#000000',
  },
}
SCSS
$custom: #cb84dc;
$custom-light: #dca9e7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb84dc",
  "rgb": {
    "r": 203,
    "g": 132,
    "b": 220
  },
  "hsl": {
    "h": 288.409,
    "s": 55.696,
    "l": 69.02
  },
  "oklch": {
    "l": 0.71737,
    "c": 0.14481,
    "h": 319.7
  },
  "luminance": 0.34366
}

Semantic roles & 50–950 ramp

primary
#CB84DC
secondary
#D6EBD1
accent
#C32241
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CB84DC

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

Preview Lab → · Contrast checker → · Palette generator →

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