#DA78F6#DA78F6

#DA78F6 is a light, vivid purple. Relative luminance 0.350; OKLCH L 72.9% C 0.199 H 318.3°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#DA78F6
RGBrgb(218, 120, 246)
HSLhsl(287, 88%, 72%)
HSVhsv(287, 51%, 96%)
CMYKcmyk(11.4%, 51.2%, 0%, 3.5%)
CIE-LABlab(65.74, 57.28, -47.57)
CIE-LCHlch(65.74, 74.46, 320.29°)
OKLaboklab(72.86% 0.1485 -0.1321)
OKLCHoklch(72.86% 0.199 318.3)
XYZxyz(52.2622, 34.9941, 91.1725)
Luminance0.3499 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DA78F6 #94F678
analogous
#9B78F6 #DA78F6 #F678D3
triadic
#DA78F6 #F6DA78 #78F6DA
tetradic
#DA78F6 #F69B78 #94F678 #78D3F6
square
#DA78F6 #F69B78 #94F678 #78D3F6
split-complementary
#DA78F6 #D3F678 #78F69B
monochromatic
#B50FE4 #CA3FF2 #DA78F6 #EAB1FA #F7E2FD

Accessibility & contrast

On white

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

On black

8.00
#DA78F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DA78F6
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DA78F6#FFFFFF#000000##000000
##DA78F61.002.638.008.00
#FFFFFF2.631.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F99FA
Deuteranopia (green-blind)
#7EA3F3
Tritanopia (blue-blind)
#DA8AAC
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #da78f6;
/* rgb */ color: rgb(218, 120, 246);
/* oklch */ color: oklch(72.9% 0.199 318.3);
Tailwind
colors: {
  custom: {
    50: '#e8a2f9',
    500: '#da78f6',
    950: '#000000',
  },
}
SCSS
$custom: #da78f6;
$custom-light: #e8a2f9;
$custom-dark: #000000;
JSON
{
  "hex": "#da78f6",
  "rgb": {
    "r": 218,
    "g": 120,
    "b": 246
  },
  "hsl": {
    "h": 286.667,
    "s": 87.5,
    "l": 71.765
  },
  "oklch": {
    "l": 0.72861,
    "c": 0.19875,
    "h": 318.3
  },
  "luminance": 0.34992
}

Semantic roles & 50–950 ramp

primary
#DA78F6
secondary
#DCF5D5
accent
#E40134
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #DA78F6

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

Preview Lab → · Contrast checker → · Palette generator →

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