#D682EC#D682EC

#D682EC is a light, vivid purple. Relative luminance 0.363; OKLCH L 73.4% C 0.171 H 319.1°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#D682EC
RGBrgb(214, 130, 236)
HSLhsl(288, 74%, 72%)
HSVhsv(288, 45%, 93%)
CMYKcmyk(9.3%, 44.9%, 0%, 7.5%)
CIE-LABlab(66.76, 49.17, -40.50)
CIE-LCHlch(66.76, 63.70, 320.53°)
OKLaboklab(73.37% 0.129 -0.1118)
OKLCHoklch(73.37% 0.171 319.1)
XYZxyz(50.8525, 36.3193, 83.6722)
Luminance0.3632 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D682EC #98EC82
analogous
#A182EC #D682EC #EC82CD
triadic
#D682EC #ECD682 #82ECD6
tetradic
#D682EC #ECA182 #98EC82 #82CDEC
square
#D682EC #ECA182 #98EC82 #82CDEC
split-complementary
#D682EC #CDEC82 #82ECA1
monochromatic
#AE20D3 #C54DE4 #D682EC #E7B7F4 #F6E4FB

Accessibility & contrast

On white

2.54
#D682EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#D682EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D682EC
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D682EC#FFFFFF#000000##000000
##D682EC1.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#719DF0
Deuteranopia (green-blind)
#88A5E9
Tritanopia (blue-blind)
#D790AC
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #d682ec;
/* rgb */ color: rgb(214, 130, 236);
/* oklch */ color: oklch(73.4% 0.171 319.1);
Tailwind
colors: {
  custom: {
    50: '#e4a8f2',
    500: '#d682ec',
    950: '#000000',
  },
}
SCSS
$custom: #d682ec;
$custom-light: #e4a8f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d682ec",
  "rgb": {
    "r": 214,
    "g": 130,
    "b": 236
  },
  "hsl": {
    "h": 287.547,
    "s": 73.611,
    "l": 71.765
  },
  "oklch": {
    "l": 0.73365,
    "c": 0.17069,
    "h": 319.1
  },
  "luminance": 0.36318
}

Semantic roles & 50–950 ramp

primary
#D682EC
secondary
#DDF2D7
accent
#D61039
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #D682EC

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

Preview Lab → · Contrast checker → · Palette generator →

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