#DB78CE#DB78CE

#DB78CE is a light, vivid purple. Relative luminance 0.329; OKLCH L 71.1% C 0.162 H 332.2°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#DB78CE
RGBrgb(219, 120, 206)
HSLhsl(308, 58%, 66%)
HSVhsv(308, 45%, 86%)
CMYKcmyk(0%, 45.2%, 5.9%, 14.1%)
CIE-LABlab(64.12, 50.23, -27.86)
CIE-LCHlch(64.12, 57.44, 330.98°)
OKLaboklab(71.11% 0.1432 -0.0756)
OKLCHoklch(71.11% 0.162 332.2)
XYZxyz(47.0702, 32.9520, 62.2616)
Luminance0.3295 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB78CE #78DB85
analogous
#B778DB #DB78CE #DB789D
triadic
#DB78CE #CEDB78 #78CEDB
tetradic
#DB78CE #DBB778 #78DB85 #789DDB
square
#DB78CE #DBB778 #78DB85 #789DDB
split-complementary
#DB78CE #9DDB78 #78DBB7
monochromatic
#AB2E9B #CE48BC #DB78CE #E8A8E0 #F5D9F1

Accessibility & contrast

On white

2.77
#DB78CE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#DB78CE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB78CE
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB78CE#FFFFFF#000000##000000
##DB78CE1.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7593D1
Deuteranopia (green-blind)
#91A1CB
Tritanopia (blue-blind)
#E37E99
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #db78ce;
/* rgb */ color: rgb(219, 120, 206);
/* oklch */ color: oklch(71.1% 0.162 332.2);
Tailwind
colors: {
  custom: {
    50: '#e8a2dd',
    500: '#db78ce',
    950: '#000000',
  },
}
SCSS
$custom: #db78ce;
$custom-light: #e8a2dd;
$custom-dark: #000000;
JSON
{
  "hex": "#db78ce",
  "rgb": {
    "r": 219,
    "g": 120,
    "b": 206
  },
  "hsl": {
    "h": 307.879,
    "s": 57.895,
    "l": 66.471
  },
  "oklch": {
    "l": 0.71113,
    "c": 0.16189,
    "h": 332.2
  },
  "luminance": 0.32949
}

Semantic roles & 50–950 ramp

primary
#DB78CE
secondary
#C7E7CC
accent
#C53620
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#160F15
muted
#847F83

Preview Lab

Preview with #DB78CE

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

Preview Lab → · Contrast checker → · Palette generator →

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