#D078EF#D078EF

#D078EF is a light, vivid purple. Relative luminance 0.331; OKLCH L 71.4% C 0.187 H 316.7°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#D078EF
RGBrgb(208, 120, 239)
HSLhsl(284, 79%, 70%)
HSVhsv(284, 50%, 94%)
CMYKcmyk(13%, 49.8%, 0%, 6.3%)
CIE-LABlab(64.22, 53.23, -46.19)
CIE-LCHlch(64.22, 70.48, 319.05°)
OKLaboklab(71.37% 0.1361 -0.1283)
OKLCHoklch(71.37% 0.187 316.7)
XYZxyz(48.3066, 33.0764, 85.4844)
Luminance0.3307 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D078EF #97EF78
analogous
#9478EF #D078EF #EF78D2
triadic
#D078EF #EFD078 #78EFD0
tetradic
#D078EF #EF9478 #97EF78 #78D2EF
square
#D078EF #EF9478 #97EF78 #78D2EF
split-complementary
#D078EF #D2EF78 #78EF94
monochromatic
#A319D4 #BD41E9 #D078EF #E3AFF5 #F5E4FC

Accessibility & contrast

On white

2.76
#D078EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#D078EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D078EF
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D078EF#FFFFFF#000000##000000
##D078EF1.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6096F3
Deuteranopia (green-blind)
#7B9EEC
Tritanopia (blue-blind)
#CF8AA9
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d078ef;
/* rgb */ color: rgb(208, 120, 239);
/* oklch */ color: oklch(71.4% 0.187 316.7);
Tailwind
colors: {
  custom: {
    50: '#e1a2f5',
    500: '#d078ef',
    950: '#000000',
  },
}
SCSS
$custom: #d078ef;
$custom-light: #e1a2f5;
$custom-dark: #000000;
JSON
{
  "hex": "#d078ef",
  "rgb": {
    "r": 208,
    "g": 120,
    "b": 239
  },
  "hsl": {
    "h": 284.37,
    "s": 78.808,
    "l": 70.392
  },
  "oklch": {
    "l": 0.71371,
    "c": 0.18707,
    "h": 316.7
  },
  "luminance": 0.33075
}

Semantic roles & 50–950 ramp

primary
#D078EF
secondary
#DAF2D1
accent
#DB0A41
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D078EF

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

Preview Lab → · Contrast checker → · Palette generator →

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