#D078F9#D078F9

#D078F9 is a light, vivid purple. Relative luminance 0.337; OKLCH L 71.9% C 0.197 H 314.0°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#D078F9
RGBrgb(208, 120, 249)
HSLhsl(281, 91%, 72%)
HSVhsv(281, 52%, 98%)
CMYKcmyk(16.5%, 51.8%, 0%, 2.4%)
CIE-LABlab(64.71, 55.26, -50.93)
CIE-LCHlch(64.71, 75.15, 317.34°)
OKLaboklab(71.89% 0.1371 -0.1421)
OKLCHoklch(71.89% 0.197 314)
XYZxyz(49.8250, 33.6837, 93.4811)
Luminance0.3368 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D078F9 #A1F978
analogous
#8F78F9 #D078F9 #F978E2
triadic
#D078F9 #F9D078 #78F9D0
tetradic
#D078F9 #F98F78 #A1F978 #78E2F9
square
#D078F9 #F98F78 #A1F978 #78E2F9
split-complementary
#D078F9 #E2F978 #78F98F
monochromatic
#A40AEC #BC3DF6 #D078F9 #E4B3FC #F5E2FE

Accessibility & contrast

On white

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

On black

7.74
#D078F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D078F9
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D078F9#FFFFFF#000000##000000
##D078F91.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5998FD
Deuteranopia (green-blind)
#759FF6
Tritanopia (blue-blind)
#CD8DAE
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d078f9;
/* rgb */ color: rgb(208, 120, 249);
/* oklch */ color: oklch(71.9% 0.197 314.0);
Tailwind
colors: {
  custom: {
    50: '#e1a2fc',
    500: '#d078f9',
    950: '#000000',
  },
}
SCSS
$custom: #d078f9;
$custom-light: #e1a2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d078f9",
  "rgb": {
    "r": 208,
    "g": 120,
    "b": 249
  },
  "hsl": {
    "h": 280.93,
    "s": 91.489,
    "l": 72.353
  },
  "oklch": {
    "l": 0.71891,
    "c": 0.19747,
    "h": 314
  },
  "luminance": 0.33682
}

Semantic roles & 50–950 ramp

primary
#D078F9
secondary
#E0F6D5
accent
#E60049
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D078F9

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

Preview Lab → · Contrast checker → · Palette generator →

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