#DC78DD#DC78DD

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

Color values

HEX#DC78DD
RGBrgb(220, 120, 221)
HSLhsl(299, 60%, 67%)
HSVhsv(299, 46%, 87%)
CMYKcmyk(0.5%, 45.7%, 0%, 13.3%)
CIE-LABlab(64.86, 53.15, -35.10)
CIE-LCHlch(64.86, 63.69, 326.56°)
OKLaboklab(71.89% 0.1472 -0.0962)
OKLCHoklch(71.89% 0.176 326.9)
XYZxyz(49.2819, 33.8716, 72.3346)
Luminance0.3387 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC78DD #79DD78
analogous
#AA78DD #DC78DD #DD78AC
triadic
#DC78DD #DDDC78 #78DDDC
tetradic
#DC78DD #DDAA78 #79DD78 #78ACDD
square
#DC78DD #DDAA78 #79DD78 #78ACDD
split-complementary
#DC78DD #ACDD78 #78DDAA
monochromatic
#AD2CAF #CF47D1 #DC78DD #E9A9E9 #F5DAF6

Accessibility & contrast

On white

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

On black

7.77
#DC78DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC78DD
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC78DD#FFFFFF#000000##000000
##DC78DD1.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F95E0
Deuteranopia (green-blind)
#8BA2DA
Tritanopia (blue-blind)
#E183A0
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #dc78dd;
/* rgb */ color: rgb(220, 120, 221);
/* oklch */ color: oklch(71.9% 0.176 326.9);
Tailwind
colors: {
  custom: {
    50: '#e9a2e8',
    500: '#dc78dd',
    950: '#000000',
  },
}
SCSS
$custom: #dc78dd;
$custom-light: #e9a2e8;
$custom-dark: #000000;
JSON
{
  "hex": "#dc78dd",
  "rgb": {
    "r": 220,
    "g": 120,
    "b": 221
  },
  "hsl": {
    "h": 299.406,
    "s": 59.763,
    "l": 66.863
  },
  "oklch": {
    "l": 0.71891,
    "c": 0.17586,
    "h": 326.9
  },
  "luminance": 0.33869
}

Semantic roles & 50–950 ramp

primary
#DC78DD
secondary
#C9E9C8
accent
#C71E20
background
#FEFAFE
surface
#FDF4FC
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #DC78DD

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

Preview Lab → · Contrast checker → · Palette generator →

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