#D078EA#D078EA

#D078EA is a light, vivid purple. Relative luminance 0.328; OKLCH L 71.1% C 0.182 H 318.1°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#D078EA
RGBrgb(208, 120, 234)
HSLhsl(286, 73%, 69%)
HSVhsv(286, 49%, 92%)
CMYKcmyk(11.1%, 48.7%, 0%, 8.2%)
CIE-LABlab(63.99, 52.23, -43.79)
CIE-LCHlch(63.99, 68.16, 320.02°)
OKLaboklab(71.12% 0.1355 -0.1214)
OKLCHoklch(71.12% 0.182 318.1)
XYZxyz(47.5781, 32.7850, 81.6478)
Luminance0.3278 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D078EA #92EA78
analogous
#9778EA #D078EA #EA78CB
triadic
#D078EA #EAD078 #78EAD0
tetradic
#D078EA #EA9778 #92EA78 #78CBEA
square
#D078EA #EA9778 #92EA78 #78CBEA
split-complementary
#D078EA #CBEA78 #78EA97
monochromatic
#A21FC8 #BE43E2 #D078EA #E2ADF2 #F5E2FA

Accessibility & contrast

On white

2.78
#D078EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#D078EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D078EA
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D078EA#FFFFFF#000000##000000
##D078EA1.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6395EE
Deuteranopia (green-blind)
#7D9EE7
Tritanopia (blue-blind)
#D088A6
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d078ea;
/* rgb */ color: rgb(208, 120, 234);
/* oklch */ color: oklch(71.1% 0.182 318.1);
Tailwind
colors: {
  custom: {
    50: '#e0a2f1',
    500: '#d078ea',
    950: '#000000',
  },
}
SCSS
$custom: #d078ea;
$custom-light: #e0a2f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d078ea",
  "rgb": {
    "r": 208,
    "g": 120,
    "b": 234
  },
  "hsl": {
    "h": 286.316,
    "s": 73.077,
    "l": 69.412
  },
  "oklch": {
    "l": 0.71119,
    "c": 0.18192,
    "h": 318.1
  },
  "luminance": 0.32783
}

Semantic roles & 50–950 ramp

primary
#D078EA
secondary
#D6EFCE
accent
#D5103D
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#150F17
muted
#847F85

Preview Lab

Preview with #D078EA

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

Preview Lab → · Contrast checker → · Palette generator →

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