#DC78F2#DC78F2

#DC78F2 is a light, vivid purple. Relative luminance 0.351; OKLCH L 72.9% C 0.196 H 320.2°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#DC78F2
RGBrgb(220, 120, 242)
HSLhsl(289, 82%, 71%)
HSVhsv(289, 50%, 95%)
CMYKcmyk(9.1%, 50.4%, 0%, 5.1%)
CIE-LABlab(65.80, 57.04, -45.27)
CIE-LCHlch(65.80, 72.82, 321.56°)
OKLaboklab(72.89% 0.1503 -0.1254)
OKLCHoklch(72.89% 0.196 320.2)
XYZxyz(52.2567, 35.0615, 88.0021)
Luminance0.3506 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC78F2 #8EF278
analogous
#9F78F2 #DC78F2 #F278CB
triadic
#DC78F2 #F2DC78 #78F2DC
tetradic
#DC78F2 #F29F78 #8EF278 #78CBF2
square
#DC78F2 #F29F78 #8EF278 #78CBF2
split-complementary
#DC78F2 #CBF278 #78F29F
monochromatic
#B715DB #CE40ED #DC78F2 #EAB0F7 #F8E3FC

Accessibility & contrast

On white

2.62
#DC78F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#DC78F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC78F2
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC78F2#FFFFFF#000000##000000
##DC78F21.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6399F6
Deuteranopia (green-blind)
#82A4EF
Tritanopia (blue-blind)
#DD89AA
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #dc78f2;
/* rgb */ color: rgb(220, 120, 242);
/* oklch */ color: oklch(72.9% 0.196 320.2);
Tailwind
colors: {
  custom: {
    50: '#e9a2f7',
    500: '#dc78f2',
    950: '#000000',
  },
}
SCSS
$custom: #dc78f2;
$custom-light: #e9a2f7;
$custom-dark: #000000;
JSON
{
  "hex": "#dc78f2",
  "rgb": {
    "r": 220,
    "g": 120,
    "b": 242
  },
  "hsl": {
    "h": 289.18,
    "s": 82.432,
    "l": 70.98
  },
  "oklch": {
    "l": 0.7289,
    "c": 0.19577,
    "h": 320.2
  },
  "luminance": 0.35059
}

Semantic roles & 50–950 ramp

primary
#DC78F2
secondary
#D9F3D3
accent
#DF072E
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #DC78F2

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

Preview Lab → · Contrast checker → · Palette generator →

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