#D078FD#D078FD

#D078FD is a light, highly saturated violet. Relative luminance 0.339; OKLCH L 72.1% C 0.202 H 313.0°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#D078FD
RGBrgb(208, 120, 253)
HSLhsl(280, 97%, 73%)
HSVhsv(280, 53%, 99%)
CMYKcmyk(17.8%, 52.6%, 0%, 0.8%)
CIE-LABlab(64.91, 56.09, -52.81)
CIE-LCHlch(64.91, 77.04, 316.73°)
OKLaboklab(72.1% 0.1374 -0.1476)
OKLCHoklch(72.1% 0.202 313)
XYZxyz(50.4555, 33.9359, 96.8018)
Luminance0.3393 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D078FD #A5FD78
analogous
#8D78FD #D078FD #FD78E8
triadic
#D078FD #FDD078 #78FDD0
tetradic
#D078FD #FD8D78 #A5FD78 #78E8FD
square
#D078FD #FD8D78 #A5FD78 #78E8FD
split-complementary
#D078FD #E8FD78 #78FD8D
monochromatic
#A504F7 #BB3CFC #D078FD #E5B4FE #F5E1FF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D078FD#FFFFFF#000000##000000
##D078FD1.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)
#5699FF
Deuteranopia (green-blind)
#72A0FA
Tritanopia (blue-blind)
#CC8EAF
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d078fd;
/* rgb */ color: rgb(208, 120, 253);
/* oklch */ color: oklch(72.1% 0.202 313.0);
Tailwind
colors: {
  custom: {
    50: '#e1a2fe',
    500: '#d078fd',
    950: '#000000',
  },
}
SCSS
$custom: #d078fd;
$custom-light: #e1a2fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d078fd",
  "rgb": {
    "r": 208,
    "g": 120,
    "b": 253
  },
  "hsl": {
    "h": 279.699,
    "s": 97.08,
    "l": 73.137
  },
  "oklch": {
    "l": 0.72104,
    "c": 0.20167,
    "h": 313
  },
  "luminance": 0.33935
}

Semantic roles & 50–950 ramp

primary
#D078FD
secondary
#E0F7D4
accent
#E6004E
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #D078FD

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

Preview Lab → · Contrast checker → · Palette generator →

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