#D078DC#D078DC

#D078DC is a light, vivid purple. Relative luminance 0.320; OKLCH L 70.4% C 0.168 H 322.6°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#D078DC
RGBrgb(208, 120, 220)
HSLhsl(293, 59%, 67%)
HSVhsv(293, 45%, 86%)
CMYKcmyk(5.5%, 45.5%, 0%, 13.7%)
CIE-LABlab(63.35, 49.51, -37.00)
CIE-LCHlch(63.35, 61.81, 323.23°)
OKLaboklab(70.44% 0.1334 -0.1018)
OKLCHoklch(70.44% 0.168 322.6)
XYZxyz(45.6458, 32.0121, 71.4708)
Luminance0.3201 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D078DC #84DC78
analogous
#9E78DC #D078DC #DC78B6
triadic
#D078DC #DCD078 #78DCD0
tetradic
#D078DC #DC9E78 #84DC78 #78B6DC
square
#D078DC #DC9E78 #84DC78 #78B6DC
split-complementary
#D078DC #B6DC78 #78DC9E
monochromatic
#9D2DAD #BF47CF #D078DC #E1A9E9 #F2D9F5

Accessibility & contrast

On white

2.84
#D078DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#D078DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D078DC
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D078DC#FFFFFF#000000##000000
##D078DC1.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B93DF
Deuteranopia (green-blind)
#849DD9
Tritanopia (blue-blind)
#D384A0
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d078dc;
/* rgb */ color: rgb(208, 120, 220);
/* oklch */ color: oklch(70.4% 0.168 322.6);
Tailwind
colors: {
  custom: {
    50: '#e0a1e7',
    500: '#d078dc',
    950: '#000000',
  },
}
SCSS
$custom: #d078dc;
$custom-light: #e0a1e7;
$custom-dark: #000000;
JSON
{
  "hex": "#d078dc",
  "rgb": {
    "r": 208,
    "g": 120,
    "b": 220
  },
  "hsl": {
    "h": 292.8,
    "s": 58.824,
    "l": 66.667
  },
  "oklch": {
    "l": 0.70442,
    "c": 0.16782,
    "h": 322.6
  },
  "luminance": 0.3201
}

Semantic roles & 50–950 ramp

primary
#D078DC
secondary
#CCE8C8
accent
#C61F33
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #D078DC

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

Preview Lab → · Contrast checker → · Palette generator →

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