#CB82DB#CB82DB

#CB82DB is a light, vivid purple. Relative luminance 0.338; OKLCH L 71.4% C 0.147 H 320.2°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#CB82DB
RGBrgb(203, 130, 219)
HSLhsl(289, 55%, 68%)
HSVhsv(289, 41%, 86%)
CMYKcmyk(7.3%, 40.6%, 0%, 14.1%)
CIE-LABlab(64.79, 42.62, -34.25)
CIE-LCHlch(64.79, 54.68, 321.21°)
OKLaboklab(71.37% 0.1131 -0.0941)
OKLCHoklch(71.37% 0.147 320.2)
XYZxyz(45.3958, 33.7778, 71.1326)
Luminance0.3378 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB82DB #92DB82
analogous
#9E82DB #CB82DB #DB82BF
triadic
#CB82DB #DBCB82 #82DBCB
tetradic
#CB82DB #DB9E82 #92DB82 #82BFDB
square
#CB82DB #DB9E82 #92DB82 #82BFDB
split-complementary
#CB82DB #BFDB82 #82DB9E
monochromatic
#9933B0 #B752CD #CB82DB #DFB2E9 #F3E1F6

Accessibility & contrast

On white

2.71
#CB82DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#CB82DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB82DB
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB82DB#FFFFFF#000000##000000
##CB82DB1.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7698DE
Deuteranopia (green-blind)
#89A0D8
Tritanopia (blue-blind)
#CC8DA4
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cb82db;
/* rgb */ color: rgb(203, 130, 219);
/* oklch */ color: oklch(71.4% 0.147 320.2);
Tailwind
colors: {
  custom: {
    50: '#dca8e6',
    500: '#cb82db',
    950: '#000000',
  },
}
SCSS
$custom: #cb82db;
$custom-light: #dca8e6;
$custom-dark: #000000;
JSON
{
  "hex": "#cb82db",
  "rgb": {
    "r": 203,
    "g": 130,
    "b": 219
  },
  "hsl": {
    "h": 289.213,
    "s": 55.28,
    "l": 68.431
  },
  "oklch": {
    "l": 0.71372,
    "c": 0.14718,
    "h": 320.2
  },
  "luminance": 0.33776
}

Semantic roles & 50–950 ramp

primary
#CB82DB
secondary
#D4EACF
accent
#C3233F
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CB82DB

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

Preview Lab → · Contrast checker → · Palette generator →

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