#DB78EC#DB78EC

#DB78EC is a light, vivid purple. Relative luminance 0.345; OKLCH L 72.5% C 0.189 H 321.6°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#DB78EC
RGBrgb(219, 120, 236)
HSLhsl(291, 75%, 70%)
HSVhsv(291, 49%, 93%)
CMYKcmyk(7.2%, 49.2%, 0%, 7.5%)
CIE-LABlab(65.40, 55.63, -42.59)
CIE-LCHlch(65.40, 70.06, 322.56°)
OKLaboklab(72.48% 0.1484 -0.1177)
OKLCHoklch(72.48% 0.189 321.6)
XYZxyz(51.0685, 34.5513, 83.3197)
Luminance0.3455 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB78EC #89EC78
analogous
#A178EC #DB78EC #EC78C3
triadic
#DB78EC #ECDB78 #78ECDB
tetradic
#DB78EC #ECA178 #89EC78 #78C3EC
square
#DB78EC #ECA178 #89EC78 #78C3EC
split-complementary
#DB78EC #C3EC78 #78ECA1
monochromatic
#B31DCD #CD42E4 #DB78EC #E9AEF4 #F8E3FB

Accessibility & contrast

On white

2.65
#DB78EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#DB78EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB78EC
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB78EC#FFFFFF#000000##000000
##DB78EC1.002.657.917.91
#FFFFFF2.651.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6698F0
Deuteranopia (green-blind)
#84A3E9
Tritanopia (blue-blind)
#DD87A7
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #db78ec;
/* rgb */ color: rgb(219, 120, 236);
/* oklch */ color: oklch(72.5% 0.189 321.6);
Tailwind
colors: {
  custom: {
    50: '#e8a2f2',
    500: '#db78ec',
    950: '#000000',
  },
}
SCSS
$custom: #db78ec;
$custom-light: #e8a2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#db78ec",
  "rgb": {
    "r": 219,
    "g": 120,
    "b": 236
  },
  "hsl": {
    "h": 291.207,
    "s": 75.325,
    "l": 69.804
  },
  "oklch": {
    "l": 0.72479,
    "c": 0.18943,
    "h": 321.6
  },
  "luminance": 0.34549
}

Semantic roles & 50–950 ramp

primary
#DB78EC
secondary
#D4F0D0
accent
#D70E2C
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #DB78EC

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

Preview Lab → · Contrast checker → · Palette generator →

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