#DB78F1#DB78F1

#DB78F1 is a light, vivid purple. Relative luminance 0.348; OKLCH L 72.7% C 0.194 H 320.1°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#DB78F1
RGBrgb(219, 120, 241)
HSLhsl(289, 81%, 71%)
HSVhsv(289, 50%, 95%)
CMYKcmyk(9.1%, 50.2%, 0%, 5.5%)
CIE-LABlab(65.63, 56.58, -44.99)
CIE-LCHlch(65.63, 72.29, 321.51°)
OKLaboklab(72.72% 0.1491 -0.1246)
OKLCHoklch(72.72% 0.194 320.1)
XYZxyz(51.8051, 34.8460, 87.1991)
Luminance0.3484 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB78F1 #8EF178
analogous
#9E78F1 #DB78F1 #F178CA
triadic
#DB78F1 #F1DB78 #78F1DB
tetradic
#DB78F1 #F19E78 #8EF178 #78CAF1
square
#DB78F1 #F19E78 #8EF178 #78CAF1
split-complementary
#DB78F1 #CAF178 #78F19E
monochromatic
#B516D8 #CC41EB #DB78F1 #EAAFF7 #F8E3FC

Accessibility & contrast

On white

2.64
#DB78F1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#DB78F1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB78F1
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB78F1#FFFFFF#000000##000000
##DB78F11.002.647.977.97
#FFFFFF2.641.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6398F5
Deuteranopia (green-blind)
#81A3EE
Tritanopia (blue-blind)
#DC89AA
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #db78f1;
/* rgb */ color: rgb(219, 120, 241);
/* oklch */ color: oklch(72.7% 0.194 320.1);
Tailwind
colors: {
  custom: {
    50: '#e8a2f6',
    500: '#db78f1',
    950: '#000000',
  },
}
SCSS
$custom: #db78f1;
$custom-light: #e8a2f6;
$custom-dark: #000000;
JSON
{
  "hex": "#db78f1",
  "rgb": {
    "r": 219,
    "g": 120,
    "b": 241
  },
  "hsl": {
    "h": 289.091,
    "s": 81.208,
    "l": 70.784
  },
  "oklch": {
    "l": 0.72725,
    "c": 0.1943,
    "h": 320.1
  },
  "luminance": 0.34844
}

Semantic roles & 50–950 ramp

primary
#DB78F1
secondary
#D8F3D2
accent
#DE082F
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#160F17
muted
#847F85

Preview Lab

Preview with #DB78F1

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

Preview Lab → · Contrast checker → · Palette generator →

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