#CB82DE#CB82DE

#CB82DE is a light, vivid purple. Relative luminance 0.339; OKLCH L 71.5% C 0.150 H 319.1°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#CB82DE
RGBrgb(203, 130, 222)
HSLhsl(288, 58%, 69%)
HSVhsv(288, 41%, 87%)
CMYKcmyk(8.6%, 41.4%, 0%, 12.9%)
CIE-LABlab(64.91, 43.22, -35.73)
CIE-LCHlch(64.91, 56.07, 320.42°)
OKLaboklab(71.51% 0.1137 -0.0984)
OKLCHoklch(71.51% 0.15 319.1)
XYZxyz(45.7943, 33.9372, 73.2313)
Luminance0.3394 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB82DE #95DE82
analogous
#9D82DE #CB82DE #DE82C3
triadic
#CB82DE #DECB82 #82DECB
tetradic
#CB82DE #DE9D82 #95DE82 #82C3DE
square
#CB82DE #DE9D82 #95DE82 #82C3DE
split-complementary
#CB82DE #C3DE82 #82DE9D
monochromatic
#9A30B6 #B752D1 #CB82DE #DFB2EB #F3E3F8

Accessibility & contrast

On white

2.70
#CB82DE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#CB82DE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB82DE
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB82DE#FFFFFF#000000##000000
##CB82DE1.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7499E1
Deuteranopia (green-blind)
#88A0DB
Tritanopia (blue-blind)
#CC8EA6
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cb82de;
/* rgb */ color: rgb(203, 130, 222);
/* oklch */ color: oklch(71.5% 0.150 319.1);
Tailwind
colors: {
  custom: {
    50: '#dca8e8',
    500: '#cb82de',
    950: '#000000',
  },
}
SCSS
$custom: #cb82de;
$custom-light: #dca8e8;
$custom-dark: #000000;
JSON
{
  "hex": "#cb82de",
  "rgb": {
    "r": 203,
    "g": 130,
    "b": 222
  },
  "hsl": {
    "h": 287.609,
    "s": 58.228,
    "l": 69.02
  },
  "oklch": {
    "l": 0.71509,
    "c": 0.15036,
    "h": 319.1
  },
  "luminance": 0.33936
}

Semantic roles & 50–950 ramp

primary
#CB82DE
secondary
#D6EBD0
accent
#C62042
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CB82DE

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

Preview Lab → · Contrast checker → · Palette generator →

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