#CB84DB#CB84DB

#CB84DB is a light, vivid purple. Relative luminance 0.343; OKLCH L 71.7% C 0.144 H 320.1°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#CB84DB
RGBrgb(203, 132, 219)
HSLhsl(289, 55%, 69%)
HSVhsv(289, 40%, 86%)
CMYKcmyk(7.3%, 39.7%, 0%, 14.1%)
CIE-LABlab(65.21, 41.56, -33.59)
CIE-LCHlch(65.21, 53.44, 321.05°)
OKLaboklab(71.69% 0.1102 -0.0923)
OKLCHoklch(71.69% 0.144 320.1)
XYZxyz(45.6644, 34.3150, 71.2221)
Luminance0.3431 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB84DB #94DB84
analogous
#A084DB #CB84DB #DB84C0
triadic
#CB84DB #DBCB84 #84DBCB
tetradic
#CB84DB #DBA084 #94DB84 #84C0DB
square
#CB84DB #DBA084 #94DB84 #84C0DB
split-complementary
#CB84DB #C0DB84 #84DBA0
monochromatic
#9A34B1 #B755CD #CB84DB #DFB3E9 #F3E3F7

Accessibility & contrast

On white

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

On black

7.86
#CB84DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB84DB
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB84DB#FFFFFF#000000##000000
##CB84DB1.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7899DE
Deuteranopia (green-blind)
#8BA1D8
Tritanopia (blue-blind)
#CC8EA5
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cb84db;
/* rgb */ color: rgb(203, 132, 219);
/* oklch */ color: oklch(71.7% 0.144 320.1);
Tailwind
colors: {
  custom: {
    50: '#dca9e6',
    500: '#cb84db',
    950: '#000000',
  },
}
SCSS
$custom: #cb84db;
$custom-light: #dca9e6;
$custom-dark: #000000;
JSON
{
  "hex": "#cb84db",
  "rgb": {
    "r": 203,
    "g": 132,
    "b": 219
  },
  "hsl": {
    "h": 288.966,
    "s": 54.717,
    "l": 68.824
  },
  "oklch": {
    "l": 0.71692,
    "c": 0.14375,
    "h": 320.1
  },
  "luminance": 0.34314
}

Semantic roles & 50–950 ramp

primary
#CB84DB
secondary
#D5EAD1
accent
#C22341
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CB84DB

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

Preview Lab → · Contrast checker → · Palette generator →

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