#D082EC#D082EC

#D082EC is a light, vivid purple. Relative luminance 0.354; OKLCH L 72.7% C 0.168 H 316.7°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#D082EC
RGBrgb(208, 130, 236)
HSLhsl(284, 74%, 72%)
HSVhsv(284, 45%, 93%)
CMYKcmyk(11.9%, 44.9%, 0%, 7.5%)
CIE-LABlab(66.08, 47.47, -41.61)
CIE-LCHlch(66.08, 63.12, 318.77°)
OKLaboklab(72.71% 0.122 -0.1152)
OKLCHoklch(72.71% 0.168 316.7)
XYZxyz(49.1332, 35.4327, 83.5916)
Luminance0.3543 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D082EC #9EEC82
analogous
#9B82EC #D082EC #EC82D3
triadic
#D082EC #ECD082 #82ECD0
tetradic
#D082EC #EC9B82 #9EEC82 #82D3EC
square
#D082EC #EC9B82 #9EEC82 #82D3EC
split-complementary
#D082EC #D3EC82 #82EC9B
monochromatic
#A420D3 #BC4DE4 #D082EC #E4B7F4 #F5E4FB

Accessibility & contrast

On white

2.60
#D082EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#D082EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D082EC
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D082EC#FFFFFF#000000##000000
##D082EC1.002.608.098.09
#FFFFFF2.601.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9CF0
Deuteranopia (green-blind)
#84A3E9
Tritanopia (blue-blind)
#CF91AC
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d082ec;
/* rgb */ color: rgb(208, 130, 236);
/* oklch */ color: oklch(72.7% 0.168 316.7);
Tailwind
colors: {
  custom: {
    50: '#e0a8f2',
    500: '#d082ec',
    950: '#000000',
  },
}
SCSS
$custom: #d082ec;
$custom-light: #e0a8f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d082ec",
  "rgb": {
    "r": 208,
    "g": 130,
    "b": 236
  },
  "hsl": {
    "h": 284.151,
    "s": 73.611,
    "l": 71.765
  },
  "oklch": {
    "l": 0.7271,
    "c": 0.16777,
    "h": 316.7
  },
  "luminance": 0.35431
}

Semantic roles & 50–950 ramp

primary
#D082EC
secondary
#DFF2D7
accent
#D61044
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #D082EC

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

Preview Lab → · Contrast checker → · Palette generator →

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