#DB78EB#DB78EB

#DB78EB is a light, vivid purple. Relative luminance 0.345; OKLCH L 72.4% C 0.188 H 321.9°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#DB78EB
RGBrgb(219, 120, 235)
HSLhsl(292, 74%, 70%)
HSVhsv(292, 49%, 92%)
CMYKcmyk(6.8%, 48.9%, 0%, 7.8%)
CIE-LABlab(65.35, 55.44, -42.11)
CIE-LCHlch(65.35, 69.62, 322.78°)
OKLaboklab(72.43% 0.1483 -0.1163)
OKLCHoklch(72.43% 0.188 321.9)
XYZxyz(50.9236, 34.4934, 82.5566)
Luminance0.3449 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB78EB #88EB78
analogous
#A278EB #DB78EB #EB78C2
triadic
#DB78EB #EBDB78 #78EBDB
tetradic
#DB78EB #EBA278 #88EB78 #78C2EB
square
#DB78EB #EBA278 #88EB78 #78C2EB
split-complementary
#DB78EB #C2EB78 #78EBA2
monochromatic
#B31ECB #CD43E3 #DB78EB #E9ADF3 #F7E3FB

Accessibility & contrast

On white

2.66
#DB78EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#DB78EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB78EB
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB78EB#FFFFFF#000000##000000
##DB78EB1.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6797EF
Deuteranopia (green-blind)
#84A3E8
Tritanopia (blue-blind)
#DD87A7
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #db78eb;
/* rgb */ color: rgb(219, 120, 235);
/* oklch */ color: oklch(72.4% 0.188 321.9);
Tailwind
colors: {
  custom: {
    50: '#e8a2f2',
    500: '#db78eb',
    950: '#000000',
  },
}
SCSS
$custom: #db78eb;
$custom-light: #e8a2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#db78eb",
  "rgb": {
    "r": 219,
    "g": 120,
    "b": 235
  },
  "hsl": {
    "h": 291.652,
    "s": 74.194,
    "l": 69.608
  },
  "oklch": {
    "l": 0.7243,
    "c": 0.18847,
    "h": 321.9
  },
  "luminance": 0.34491
}

Semantic roles & 50–950 ramp

primary
#DB78EB
secondary
#D4F0CF
accent
#D60F2B
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #DB78EB

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

Preview Lab → · Contrast checker → · Palette generator →

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