#CB82DF#CB82DF

#CB82DF is a light, vivid purple. Relative luminance 0.340; OKLCH L 71.6% C 0.151 H 318.8°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#CB82DF
RGBrgb(203, 130, 223)
HSLhsl(287, 59%, 69%)
HSVhsv(287, 42%, 87%)
CMYKcmyk(9%, 41.7%, 0%, 12.5%)
CIE-LABlab(64.96, 43.41, -36.21)
CIE-LCHlch(64.96, 56.54, 320.17°)
OKLaboklab(71.56% 0.1139 -0.0998)
OKLCHoklch(71.56% 0.151 318.8)
XYZxyz(45.9287, 33.9909, 73.9393)
Luminance0.3399 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB82DF #96DF82
analogous
#9D82DF #CB82DF #DF82C5
triadic
#CB82DF #DFCB82 #82DFCB
tetradic
#CB82DF #DF9D82 #96DF82 #82C5DF
square
#CB82DF #DF9D82 #96DF82 #82C5DF
split-complementary
#CB82DF #C5DF82 #82DF9D
monochromatic
#9A2FB8 #B751D3 #CB82DF #DFB3EB #F4E3F8

Accessibility & contrast

On white

2.69
#CB82DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#CB82DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB82DF
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB82DF#FFFFFF#000000##000000
##CB82DF1.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7499E2
Deuteranopia (green-blind)
#87A0DC
Tritanopia (blue-blind)
#CC8EA6
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cb82df;
/* rgb */ color: rgb(203, 130, 223);
/* oklch */ color: oklch(71.6% 0.151 318.8);
Tailwind
colors: {
  custom: {
    50: '#dca8e9',
    500: '#cb82df',
    950: '#000000',
  },
}
SCSS
$custom: #cb82df;
$custom-light: #dca8e9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb82df",
  "rgb": {
    "r": 203,
    "g": 130,
    "b": 223
  },
  "hsl": {
    "h": 287.097,
    "s": 59.236,
    "l": 69.216
  },
  "oklch": {
    "l": 0.71555,
    "c": 0.15143,
    "h": 318.8
  },
  "luminance": 0.33989
}

Semantic roles & 50–950 ramp

primary
#CB82DF
secondary
#D7ECD1
accent
#C71F43
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CB82DF

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

Preview Lab → · Contrast checker → · Palette generator →

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