#D682EF#D682EF

#D682EF is a light, vivid purple. Relative luminance 0.365; OKLCH L 73.5% C 0.174 H 318.1°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#D682EF
RGBrgb(214, 130, 239)
HSLhsl(286, 77%, 72%)
HSVhsv(286, 46%, 94%)
CMYKcmyk(10.5%, 45.6%, 0%, 6.3%)
CIE-LABlab(66.90, 49.76, -41.94)
CIE-LCHlch(66.90, 65.08, 319.88°)
OKLaboklab(73.51% 0.1294 -0.116)
OKLCHoklch(73.51% 0.174 318.1)
XYZxyz(51.2920, 36.4951, 85.9870)
Luminance0.3649 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D682EF #9BEF82
analogous
#A082EF #D682EF #EF82D1
triadic
#D682EF #EFD682 #82EFD6
tetradic
#D682EF #EFA082 #9BEF82 #82D1EF
square
#D682EF #EFA082 #9BEF82 #82D1EF
split-complementary
#D682EF #D1EF82 #82EFA0
monochromatic
#AF1CDB #C44CE8 #D682EF #E8B8F6 #F6E4FC

Accessibility & contrast

On white

2.53
#D682EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#D682EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D682EF
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D682EF#FFFFFF#000000##000000
##D682EF1.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#709DF3
Deuteranopia (green-blind)
#87A6EC
Tritanopia (blue-blind)
#D691AD
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #d682ef;
/* rgb */ color: rgb(214, 130, 239);
/* oklch */ color: oklch(73.5% 0.174 318.1);
Tailwind
colors: {
  custom: {
    50: '#e4a8f4',
    500: '#d682ef',
    950: '#000000',
  },
}
SCSS
$custom: #d682ef;
$custom-light: #e4a8f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d682ef",
  "rgb": {
    "r": 214,
    "g": 130,
    "b": 239
  },
  "hsl": {
    "h": 286.239,
    "s": 77.305,
    "l": 72.353
  },
  "oklch": {
    "l": 0.73508,
    "c": 0.17381,
    "h": 318.1
  },
  "luminance": 0.36493
}

Semantic roles & 50–950 ramp

primary
#D682EF
secondary
#DEF3D8
accent
#DA0C3B
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #D682EF

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

Preview Lab → · Contrast checker → · Palette generator →

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