#DB78F8#DB78F8

#DB78F8 is a light, highly saturated purple. Relative luminance 0.353; OKLCH L 73.1% C 0.201 H 318.1°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#DB78F8
RGBrgb(219, 120, 248)
HSLhsl(286, 90%, 72%)
HSVhsv(286, 52%, 97%)
CMYKcmyk(11.7%, 51.6%, 0%, 2.7%)
CIE-LABlab(65.96, 57.93, -48.32)
CIE-LCHlch(65.96, 75.44, 320.17°)
OKLaboklab(73.08% 0.1498 -0.1343)
OKLCHoklch(73.08% 0.201 318.1)
XYZxyz(52.8708, 35.2722, 92.8119)
Luminance0.3527 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB78F8 #95F878
analogous
#9B78F8 #DB78F8 #F878D5
triadic
#DB78F8 #F8DB78 #78F8DB
tetradic
#DB78F8 #F89B78 #95F878 #78D5F8
square
#DB78F8 #F89B78 #95F878 #78D5F8
split-complementary
#DB78F8 #D5F878 #78F89B
monochromatic
#B70CE9 #CB3EF5 #DB78F8 #EBB2FB #F7E2FD

Accessibility & contrast

On white

2.61
#DB78F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#DB78F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB78F8
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB78F8#FFFFFF#000000##000000
##DB78F81.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9AFC
Deuteranopia (green-blind)
#7EA4F5
Tritanopia (blue-blind)
#DB8BAD
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #db78f8;
/* rgb */ color: rgb(219, 120, 248);
/* oklch */ color: oklch(73.1% 0.201 318.1);
Tailwind
colors: {
  custom: {
    50: '#e9a2fb',
    500: '#db78f8',
    950: '#000000',
  },
}
SCSS
$custom: #db78f8;
$custom-light: #e9a2fb;
$custom-dark: #000000;
JSON
{
  "hex": "#db78f8",
  "rgb": {
    "r": 219,
    "g": 120,
    "b": 248
  },
  "hsl": {
    "h": 286.406,
    "s": 90.141,
    "l": 72.157
  },
  "oklch": {
    "l": 0.73078,
    "c": 0.2012,
    "h": 318.1
  },
  "luminance": 0.3527
}

Semantic roles & 50–950 ramp

primary
#DB78F8
secondary
#DDF6D5
accent
#E60034
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #DB78F8

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

Preview Lab → · Contrast checker → · Palette generator →

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