#CD82DF#CD82DF

#CD82DF is a light, vivid purple. Relative luminance 0.343; OKLCH L 71.8% C 0.152 H 319.7°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#CD82DF
RGBrgb(205, 130, 223)
HSLhsl(288, 59%, 69%)
HSVhsv(288, 42%, 87%)
CMYKcmyk(8.1%, 41.7%, 0%, 12.5%)
CIE-LABlab(65.18, 44.01, -35.85)
CIE-LCHlch(65.18, 56.76, 320.83°)
OKLaboklab(71.77% 0.1162 -0.0987)
OKLCHoklch(71.77% 0.152 319.7)
XYZxyz(46.4770, 34.2737, 73.9650)
Luminance0.3427 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD82DF #94DF82
analogous
#9F82DF #CD82DF #DF82C3
triadic
#CD82DF #DFCD82 #82DFCD
tetradic
#CD82DF #DF9F82 #94DF82 #82C3DF
square
#CD82DF #DF9F82 #94DF82 #82C3DF
split-complementary
#CD82DF #C3DF82 #82DF9F
monochromatic
#9D2FB8 #BA51D3 #CD82DF #E0B3EB #F4E3F8

Accessibility & contrast

On white

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

On black

7.85
#CD82DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD82DF
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD82DF#FFFFFF#000000##000000
##CD82DF1.002.677.857.85
#FFFFFF2.671.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7599E2
Deuteranopia (green-blind)
#88A1DC
Tritanopia (blue-blind)
#CE8EA6
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cd82df;
/* rgb */ color: rgb(205, 130, 223);
/* oklch */ color: oklch(71.8% 0.152 319.7);
Tailwind
colors: {
  custom: {
    50: '#dea8e9',
    500: '#cd82df',
    950: '#000000',
  },
}
SCSS
$custom: #cd82df;
$custom-light: #dea8e9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd82df",
  "rgb": {
    "r": 205,
    "g": 130,
    "b": 223
  },
  "hsl": {
    "h": 288.387,
    "s": 59.236,
    "l": 69.216
  },
  "oklch": {
    "l": 0.71772,
    "c": 0.15247,
    "h": 319.7
  },
  "luminance": 0.34272
}

Semantic roles & 50–950 ramp

primary
#CD82DF
secondary
#D6ECD1
accent
#C71F3F
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CD82DF

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

Preview Lab → · Contrast checker → · Palette generator →

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