#D078FA#D078FA

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

Color values

HEX#D078FA
RGBrgb(208, 120, 250)
HSLhsl(281, 93%, 73%)
HSVhsv(281, 52%, 98%)
CMYKcmyk(16.8%, 52%, 0%, 2%)
CIE-LABlab(64.76, 55.47, -51.40)
CIE-LCHlch(64.76, 75.62, 317.18°)
OKLaboklab(71.94% 0.1372 -0.1435)
OKLCHoklch(71.94% 0.199 313.7)
XYZxyz(49.9813, 33.7463, 94.3047)
Luminance0.3375 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D078FA #A2FA78
analogous
#8F78FA #D078FA #FA78E3
triadic
#D078FA #FAD078 #78FAD0
tetradic
#D078FA #FA8F78 #A2FA78 #78E3FA
square
#D078FA #FA8F78 #A2FA78 #78E3FA
split-complementary
#D078FA #E3FA78 #78FA8F
monochromatic
#A409EF #BB3DF8 #D078FA #E5B3FC #F5E1FE

Accessibility & contrast

On white

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

On black

7.75
#D078FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D078FA
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D078FA#FFFFFF#000000##000000
##D078FA1.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5898FE
Deuteranopia (green-blind)
#749FF7
Tritanopia (blue-blind)
#CC8DAE
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d078fa;
/* rgb */ color: rgb(208, 120, 250);
/* oklch */ color: oklch(71.9% 0.199 313.7);
Tailwind
colors: {
  custom: {
    50: '#e1a2fc',
    500: '#d078fa',
    950: '#000000',
  },
}
SCSS
$custom: #d078fa;
$custom-light: #e1a2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d078fa",
  "rgb": {
    "r": 208,
    "g": 120,
    "b": 250
  },
  "hsl": {
    "h": 280.615,
    "s": 92.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.71944,
    "c": 0.19851,
    "h": 313.7
  },
  "luminance": 0.33745
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D078FA

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

Preview Lab → · Contrast checker → · Palette generator →

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