#D684EC#D684EC

#D684EC is a light, vivid purple. Relative luminance 0.369; OKLCH L 73.7% C 0.167 H 318.9°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#D684EC
RGBrgb(214, 132, 236)
HSLhsl(287, 73%, 72%)
HSVhsv(287, 44%, 93%)
CMYKcmyk(9.3%, 44.1%, 0%, 7.5%)
CIE-LABlab(67.17, 48.13, -39.86)
CIE-LCHlch(67.17, 62.50, 320.37°)
OKLaboklab(73.67% 0.1262 -0.11)
OKLCHoklch(73.67% 0.167 318.9)
XYZxyz(51.1211, 36.8565, 83.7617)
Luminance0.3685 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D684EC #9AEC84
analogous
#A284EC #D684EC #EC84CE
triadic
#D684EC #ECD684 #84ECD6
tetradic
#D684EC #ECA284 #9AEC84 #84CEEC
square
#D684EC #ECA284 #9AEC84 #84CEEC
split-complementary
#D684EC #CEEC84 #84ECA2
monochromatic
#AF21D5 #C44FE4 #D684EC #E8B9F4 #F6E4FB

Accessibility & contrast

On white

2.51
#D684EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#D684EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D684EC
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D684EC#FFFFFF#000000##000000
##D684EC1.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#749EF0
Deuteranopia (green-blind)
#8AA6E9
Tritanopia (blue-blind)
#D792AD
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #d684ec;
/* rgb */ color: rgb(214, 132, 236);
/* oklch */ color: oklch(73.7% 0.167 318.9);
Tailwind
colors: {
  custom: {
    50: '#e4aaf2',
    500: '#d684ec',
    950: '#000000',
  },
}
SCSS
$custom: #d684ec;
$custom-light: #e4aaf2;
$custom-dark: #000000;
JSON
{
  "hex": "#d684ec",
  "rgb": {
    "r": 214,
    "g": 132,
    "b": 236
  },
  "hsl": {
    "h": 287.308,
    "s": 73.239,
    "l": 72.157
  },
  "oklch": {
    "l": 0.73668,
    "c": 0.1674,
    "h": 318.9
  },
  "luminance": 0.36855
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D684EC

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

Preview Lab → · Contrast checker → · Palette generator →

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