#DC78DE#DC78DE

#DC78DE is a light, vivid purple. Relative luminance 0.339; OKLCH L 71.9% C 0.177 H 326.5°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#DC78DE
RGBrgb(220, 120, 222)
HSLhsl(299, 61%, 67%)
HSVhsv(299, 46%, 87%)
CMYKcmyk(0.9%, 45.9%, 0%, 12.9%)
CIE-LABlab(64.90, 53.33, -35.59)
CIE-LCHlch(64.90, 64.11, 326.28°)
OKLaboklab(71.94% 0.1474 -0.0976)
OKLCHoklch(71.94% 0.177 326.5)
XYZxyz(49.4155, 33.9250, 73.0384)
Luminance0.3392 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC78DE #7ADE78
analogous
#A978DE #DC78DE #DE78AD
triadic
#DC78DE #DEDC78 #78DEDC
tetradic
#DC78DE #DEA978 #7ADE78 #78ADDE
square
#DC78DE #DEA978 #7ADE78 #78ADDE
split-complementary
#DC78DE #ADDE78 #78DEA9
monochromatic
#AE2BB0 #CF47D2 #DC78DE #E9A9EA #F6DAF6

Accessibility & contrast

On white

2.70
#DC78DE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#DC78DE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC78DE
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC78DE#FFFFFF#000000##000000
##DC78DE1.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E95E1
Deuteranopia (green-blind)
#8BA2DB
Tritanopia (blue-blind)
#E183A1
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #dc78de;
/* rgb */ color: rgb(220, 120, 222);
/* oklch */ color: oklch(71.9% 0.177 326.5);
Tailwind
colors: {
  custom: {
    50: '#e9a2e8',
    500: '#dc78de',
    950: '#000000',
  },
}
SCSS
$custom: #dc78de;
$custom-light: #e9a2e8;
$custom-dark: #000000;
JSON
{
  "hex": "#dc78de",
  "rgb": {
    "r": 220,
    "g": 120,
    "b": 222
  },
  "hsl": {
    "h": 298.824,
    "s": 60.714,
    "l": 67.059
  },
  "oklch": {
    "l": 0.71936,
    "c": 0.17677,
    "h": 326.5
  },
  "luminance": 0.33923
}

Semantic roles & 50–950 ramp

primary
#DC78DE
secondary
#C9E9C9
accent
#C81D20
background
#FEFAFE
surface
#FDF4FC
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #DC78DE

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

Preview Lab → · Contrast checker → · Palette generator →

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