#D678EC#D678EC

#D678EC is a light, vivid purple. Relative luminance 0.338; OKLCH L 71.9% C 0.187 H 319.8°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#D678EC
RGBrgb(214, 120, 236)
HSLhsl(289, 75%, 70%)
HSVhsv(289, 49%, 93%)
CMYKcmyk(9.3%, 49.2%, 0%, 7.5%)
CIE-LABlab(64.79, 54.26, -43.58)
CIE-LCHlch(64.79, 69.60, 321.23°)
OKLaboklab(71.9% 0.1427 -0.1207)
OKLCHoklch(71.9% 0.187 319.8)
XYZxyz(49.5864, 33.7871, 83.2502)
Luminance0.3378 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D678EC #8EEC78
analogous
#9C78EC #D678EC #EC78C8
triadic
#D678EC #ECD678 #78ECD6
tetradic
#D678EC #EC9C78 #8EEC78 #78C8EC
square
#D678EC #EC9C78 #8EEC78 #78C8EC
split-complementary
#D678EC #C8EC78 #78EC9C
monochromatic
#AB1DCD #C642E4 #D678EC #E6AEF4 #F7E3FB

Accessibility & contrast

On white

2.71
#D678EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#D678EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D678EC
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D678EC#FFFFFF#000000##000000
##D678EC1.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6497F0
Deuteranopia (green-blind)
#80A1E9
Tritanopia (blue-blind)
#D788A7
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d678ec;
/* rgb */ color: rgb(214, 120, 236);
/* oklch */ color: oklch(71.9% 0.187 319.8);
Tailwind
colors: {
  custom: {
    50: '#e5a2f2',
    500: '#d678ec',
    950: '#000000',
  },
}
SCSS
$custom: #d678ec;
$custom-light: #e5a2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d678ec",
  "rgb": {
    "r": 214,
    "g": 120,
    "b": 236
  },
  "hsl": {
    "h": 288.621,
    "s": 75.325,
    "l": 69.804
  },
  "oklch": {
    "l": 0.71902,
    "c": 0.18687,
    "h": 319.8
  },
  "luminance": 0.33785
}

Semantic roles & 50–950 ramp

primary
#D678EC
secondary
#D6F0D0
accent
#D70E34
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D678EC

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

Preview Lab → · Contrast checker → · Palette generator →

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