#DC78FB#DC78FB

#DC78FB is a light, highly saturated purple. Relative luminance 0.356; OKLCH L 73.3% C 0.205 H 317.7°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#DC78FB
RGBrgb(220, 120, 251)
HSLhsl(286, 94%, 73%)
HSVhsv(286, 52%, 98%)
CMYKcmyk(12.4%, 52.2%, 0%, 1.6%)
CIE-LABlab(66.23, 58.78, -49.54)
CIE-LCHlch(66.23, 76.87, 319.87°)
OKLaboklab(73.35% 0.1513 -0.1378)
OKLCHoklch(73.35% 0.205 317.7)
XYZxyz(53.6418, 35.6155, 95.2969)
Luminance0.3561 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC78FB #97FB78
analogous
#9B78FB #DC78FB #FB78D8
triadic
#DC78FB #FBDC78 #78FBDC
tetradic
#DC78FB #FB9B78 #97FB78 #78D8FB
square
#DC78FB #FB9B78 #97FB78 #78D8FB
split-complementary
#DC78FB #D8FB78 #78FB9B
monochromatic
#BA07F1 #CD3DF9 #DC78FB #EBB3FD #F7E1FE

Accessibility & contrast

On white

2.59
#DC78FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#DC78FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC78FB
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC78FB#FFFFFF#000000##000000
##DC78FB1.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D9AFF
Deuteranopia (green-blind)
#7DA4F7
Tritanopia (blue-blind)
#DB8CAF
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #dc78fb;
/* rgb */ color: rgb(220, 120, 251);
/* oklch */ color: oklch(73.3% 0.205 317.7);
Tailwind
colors: {
  custom: {
    50: '#e9a2fd',
    500: '#dc78fb',
    950: '#000000',
  },
}
SCSS
$custom: #dc78fb;
$custom-light: #e9a2fd;
$custom-dark: #000000;
JSON
{
  "hex": "#dc78fb",
  "rgb": {
    "r": 220,
    "g": 120,
    "b": 251
  },
  "hsl": {
    "h": 285.802,
    "s": 94.245,
    "l": 72.745
  },
  "oklch": {
    "l": 0.73346,
    "c": 0.20463,
    "h": 317.7
  },
  "luminance": 0.35614
}

Semantic roles & 50–950 ramp

primary
#DC78FB
secondary
#DDF6D5
accent
#E60036
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #DC78FB

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

Preview Lab → · Contrast checker → · Palette generator →

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