#DC78DB#DC78DB

#DC78DB is a light, vivid purple. Relative luminance 0.338; OKLCH L 71.8% C 0.174 H 327.6°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#DC78DB
RGBrgb(220, 120, 219)
HSLhsl(301, 59%, 67%)
HSVhsv(301, 45%, 86%)
CMYKcmyk(0%, 45.5%, 0.5%, 13.7%)
CIE-LABlab(64.78, 52.79, -34.11)
CIE-LCHlch(64.78, 62.85, 327.13°)
OKLaboklab(71.8% 0.1469 -0.0933)
OKLCHoklch(71.8% 0.174 327.6)
XYZxyz(49.0170, 33.7656, 70.9396)
Luminance0.3376 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC78DB #78DC79
analogous
#AB78DC #DC78DB #DC78A9
triadic
#DC78DB #DBDC78 #78DBDC
tetradic
#DC78DB #DCAB78 #78DC79 #78A9DC
square
#DC78DB #DCAB78 #78DC79 #78A9DC
split-complementary
#DC78DB #A9DC78 #78DCAB
monochromatic
#AD2DAC #CF47CE #DC78DB #E9A9E8 #F5D9F5

Accessibility & contrast

On white

2.71
#DC78DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#DC78DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC78DB
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC78DB#FFFFFF#000000##000000
##DC78DB1.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7095DE
Deuteranopia (green-blind)
#8CA2D8
Tritanopia (blue-blind)
#E2829F
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #dc78db;
/* rgb */ color: rgb(220, 120, 219);
/* oklch */ color: oklch(71.8% 0.174 327.6);
Tailwind
colors: {
  custom: {
    50: '#e9a2e6',
    500: '#dc78db',
    950: '#000000',
  },
}
SCSS
$custom: #dc78db;
$custom-light: #e9a2e6;
$custom-dark: #000000;
JSON
{
  "hex": "#dc78db",
  "rgb": {
    "r": 220,
    "g": 120,
    "b": 219
  },
  "hsl": {
    "h": 300.6,
    "s": 58.824,
    "l": 66.667
  },
  "oklch": {
    "l": 0.718,
    "c": 0.17403,
    "h": 327.6
  },
  "luminance": 0.33763
}

Semantic roles & 50–950 ramp

primary
#DC78DB
secondary
#C8E8C8
accent
#C6211F
background
#FEFAFE
surface
#FDF4FC
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #DC78DB

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

Preview Lab → · Contrast checker → · Palette generator →

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