#D678EF#D678EF

#D678EF is a light, vivid purple. Relative luminance 0.340; OKLCH L 72.1% C 0.190 H 318.9°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#D678EF
RGBrgb(214, 120, 239)
HSLhsl(287, 79%, 70%)
HSVhsv(287, 50%, 94%)
CMYKcmyk(10.5%, 49.8%, 0%, 6.3%)
CIE-LABlab(64.93, 54.85, -45.02)
CIE-LCHlch(64.93, 70.96, 320.62°)
OKLaboklab(72.05% 0.1431 -0.1248)
OKLCHoklch(72.05% 0.19 318.9)
XYZxyz(50.0260, 33.9629, 85.5650)
Luminance0.3396 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D678EF #91EF78
analogous
#9A78EF #D678EF #EF78CC
triadic
#D678EF #EFD678 #78EFD6
tetradic
#D678EF #EF9A78 #91EF78 #78CCEF
square
#D678EF #EF9A78 #91EF78 #78CCEF
split-complementary
#D678EF #CCEF78 #78EF9A
monochromatic
#AC19D4 #C541E9 #D678EF #E7AFF5 #F7E4FC

Accessibility & contrast

On white

2.70
#D678EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#D678EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D678EF
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D678EF#FFFFFF#000000##000000
##D678EF1.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6297F3
Deuteranopia (green-blind)
#7FA1EC
Tritanopia (blue-blind)
#D689A9
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d678ef;
/* rgb */ color: rgb(214, 120, 239);
/* oklch */ color: oklch(72.1% 0.190 318.9);
Tailwind
colors: {
  custom: {
    50: '#e5a2f4',
    500: '#d678ef',
    950: '#000000',
  },
}
SCSS
$custom: #d678ef;
$custom-light: #e5a2f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d678ef",
  "rgb": {
    "r": 214,
    "g": 120,
    "b": 239
  },
  "hsl": {
    "h": 287.395,
    "s": 78.808,
    "l": 70.392
  },
  "oklch": {
    "l": 0.72051,
    "c": 0.18987,
    "h": 318.9
  },
  "luminance": 0.33961
}

Semantic roles & 50–950 ramp

primary
#D678EF
secondary
#D8F2D1
accent
#DB0A36
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D678EF

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

Preview Lab → · Contrast checker → · Palette generator →

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