#DA78F2#DA78F2

#DA78F2 is a light, vivid purple. Relative luminance 0.347; OKLCH L 72.7% C 0.195 H 319.5°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#DA78F2
RGBrgb(218, 120, 242)
HSLhsl(288, 82%, 71%)
HSVhsv(288, 50%, 95%)
CMYKcmyk(9.9%, 50.4%, 0%, 5.1%)
CIE-LABlab(65.55, 56.50, -45.67)
CIE-LCHlch(65.55, 72.65, 321.05°)
OKLaboklab(72.66% 0.148 -0.1266)
OKLCHoklch(72.66% 0.195 319.5)
XYZxyz(51.6549, 34.7512, 87.9739)
Luminance0.3475 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DA78F2 #90F278
analogous
#9D78F2 #DA78F2 #F278CD
triadic
#DA78F2 #F2DA78 #78F2DA
tetradic
#DA78F2 #F29D78 #90F278 #78CDF2
square
#DA78F2 #F29D78 #90F278 #78CDF2
split-complementary
#DA78F2 #CDF278 #78F29D
monochromatic
#B415DB #CB40ED #DA78F2 #E9B0F7 #F7E3FC

Accessibility & contrast

On white

2.64
#DA78F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#DA78F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DA78F2
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DA78F2#FFFFFF#000000##000000
##DA78F21.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6298F6
Deuteranopia (green-blind)
#80A3EF
Tritanopia (blue-blind)
#DB89AA
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #da78f2;
/* rgb */ color: rgb(218, 120, 242);
/* oklch */ color: oklch(72.7% 0.195 319.5);
Tailwind
colors: {
  custom: {
    50: '#e8a2f7',
    500: '#da78f2',
    950: '#000000',
  },
}
SCSS
$custom: #da78f2;
$custom-light: #e8a2f7;
$custom-dark: #000000;
JSON
{
  "hex": "#da78f2",
  "rgb": {
    "r": 218,
    "g": 120,
    "b": 242
  },
  "hsl": {
    "h": 288.197,
    "s": 82.432,
    "l": 70.98
  },
  "oklch": {
    "l": 0.72659,
    "c": 0.19478,
    "h": 319.5
  },
  "luminance": 0.34749
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DA78F2

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

Preview Lab → · Contrast checker → · Palette generator →

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