#D078F5#D078F5

#D078F5 is a light, vivid purple. Relative luminance 0.334; OKLCH L 71.7% C 0.193 H 315.0°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#D078F5
RGBrgb(208, 120, 245)
HSLhsl(282, 86%, 72%)
HSVhsv(282, 51%, 96%)
CMYKcmyk(15.1%, 51%, 0%, 3.9%)
CIE-LABlab(64.51, 54.45, -49.04)
CIE-LCHlch(64.51, 73.28, 317.99°)
OKLaboklab(71.68% 0.1367 -0.1366)
OKLCHoklch(71.68% 0.193 315)
XYZxyz(49.2077, 33.4368, 90.2303)
Luminance0.3343 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D078F5 #9DF578
analogous
#9278F5 #D078F5 #F578DC
triadic
#D078F5 #F5D078 #78F5D0
tetradic
#D078F5 #F59278 #9DF578 #78DCF5
square
#D078F5 #F59278 #9DF578 #78DCF5
split-complementary
#D078F5 #DCF578 #78F592
monochromatic
#A411E2 #BC3FF1 #D078F5 #E4B1F9 #F5E3FD

Accessibility & contrast

On white

2.73
#D078F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#D078F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D078F5
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D078F5#FFFFFF#000000##000000
##D078F51.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C97F9
Deuteranopia (green-blind)
#779FF2
Tritanopia (blue-blind)
#CE8BAC
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d078f5;
/* rgb */ color: rgb(208, 120, 245);
/* oklch */ color: oklch(71.7% 0.193 315.0);
Tailwind
colors: {
  custom: {
    50: '#e1a2f9',
    500: '#d078f5',
    950: '#000000',
  },
}
SCSS
$custom: #d078f5;
$custom-light: #e1a2f9;
$custom-dark: #000000;
JSON
{
  "hex": "#d078f5",
  "rgb": {
    "r": 208,
    "g": 120,
    "b": 245
  },
  "hsl": {
    "h": 282.24,
    "s": 86.207,
    "l": 71.569
  },
  "oklch": {
    "l": 0.71681,
    "c": 0.19329,
    "h": 315
  },
  "luminance": 0.33435
}

Semantic roles & 50–950 ramp

primary
#D078F5
secondary
#DEF4D4
accent
#E30345
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D078F5

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

Preview Lab → · Contrast checker → · Palette generator →

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