#CD82DB#CD82DB

#CD82DB is a light, vivid purple. Relative luminance 0.341; OKLCH L 71.6% C 0.148 H 321.1°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#CD82DB
RGBrgb(205, 130, 219)
HSLhsl(291, 55%, 68%)
HSVhsv(291, 41%, 86%)
CMYKcmyk(6.4%, 40.6%, 0%, 14.1%)
CIE-LABlab(65.01, 43.22, -33.89)
CIE-LCHlch(65.01, 54.92, 321.90°)
OKLaboklab(71.59% 0.1155 -0.0931)
OKLCHoklch(71.59% 0.148 321.1)
XYZxyz(45.9441, 34.0605, 71.1583)
Luminance0.3406 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD82DB #90DB82
analogous
#A082DB #CD82DB #DB82BC
triadic
#CD82DB #DBCD82 #82DBCD
tetradic
#CD82DB #DBA082 #90DB82 #82BCDB
square
#CD82DB #DBA082 #90DB82 #82BCDB
split-complementary
#CD82DB #BCDB82 #82DBA0
monochromatic
#9C33B0 #BA52CD #CD82DB #E0B2E9 #F3E1F6

Accessibility & contrast

On white

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

On black

7.81
#CD82DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD82DB
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD82DB#FFFFFF#000000##000000
##CD82DB1.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7698DE
Deuteranopia (green-blind)
#8AA1D8
Tritanopia (blue-blind)
#CF8DA4
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cd82db;
/* rgb */ color: rgb(205, 130, 219);
/* oklch */ color: oklch(71.6% 0.148 321.1);
Tailwind
colors: {
  custom: {
    50: '#dea8e6',
    500: '#cd82db',
    950: '#000000',
  },
}
SCSS
$custom: #cd82db;
$custom-light: #dea8e6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd82db",
  "rgb": {
    "r": 205,
    "g": 130,
    "b": 219
  },
  "hsl": {
    "h": 290.562,
    "s": 55.28,
    "l": 68.431
  },
  "oklch": {
    "l": 0.7159,
    "c": 0.14829,
    "h": 321.1
  },
  "luminance": 0.34059
}

Semantic roles & 50–950 ramp

primary
#CD82DB
secondary
#D3EACF
accent
#C3233C
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CD82DB

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

Preview Lab → · Contrast checker → · Palette generator →

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