#DC78F0#DC78F0

#DC78F0 is a light, vivid purple. Relative luminance 0.349; OKLCH L 72.8% C 0.194 H 320.7°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#DC78F0
RGBrgb(220, 120, 240)
HSLhsl(290, 80%, 71%)
HSVhsv(290, 50%, 94%)
CMYKcmyk(8.3%, 50%, 0%, 5.9%)
CIE-LABlab(65.70, 56.66, -44.31)
CIE-LCHlch(65.70, 71.93, 321.97°)
OKLaboklab(72.79% 0.1501 -0.1226)
OKLCHoklch(72.79% 0.194 320.7)
XYZxyz(51.9580, 34.9420, 86.4288)
Luminance0.3494 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC78F0 #8CF078
analogous
#A078F0 #DC78F0 #F078C8
triadic
#DC78F0 #F0DC78 #78F0DC
tetradic
#DC78F0 #F0A078 #8CF078 #78C8F0
square
#DC78F0 #F0A078 #8CF078 #78C8F0
split-complementary
#DC78F0 #C8F078 #78F0A0
monochromatic
#B618D6 #CE41EA #DC78F0 #EAAFF6 #F8E3FC

Accessibility & contrast

On white

2.63
#DC78F0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.99
#DC78F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC78F0
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC78F0#FFFFFF#000000##000000
##DC78F01.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6498F4
Deuteranopia (green-blind)
#83A3ED
Tritanopia (blue-blind)
#DE88A9
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #dc78f0;
/* rgb */ color: rgb(220, 120, 240);
/* oklch */ color: oklch(72.8% 0.194 320.7);
Tailwind
colors: {
  custom: {
    50: '#e9a2f5',
    500: '#dc78f0',
    950: '#000000',
  },
}
SCSS
$custom: #dc78f0;
$custom-light: #e9a2f5;
$custom-dark: #000000;
JSON
{
  "hex": "#dc78f0",
  "rgb": {
    "r": 220,
    "g": 120,
    "b": 240
  },
  "hsl": {
    "h": 290,
    "s": 80,
    "l": 70.588
  },
  "oklch": {
    "l": 0.72791,
    "c": 0.19383,
    "h": 320.7
  },
  "luminance": 0.3494
}

Semantic roles & 50–950 ramp

primary
#DC78F0
secondary
#D7F2D2
accent
#DC092C
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#160F17
muted
#847F85

Preview Lab

Preview with #DC78F0

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

Preview Lab → · Contrast checker → · Palette generator →

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