#DA78F9#DA78F9

#DA78F9 is a light, highly saturated purple. Relative luminance 0.352; OKLCH L 73.0% C 0.202 H 317.5°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#DA78F9
RGBrgb(218, 120, 249)
HSLhsl(286, 91%, 72%)
HSVhsv(286, 52%, 98%)
CMYKcmyk(12.4%, 51.8%, 0%, 2.4%)
CIE-LABlab(65.89, 57.87, -48.99)
CIE-LCHlch(65.89, 75.82, 319.75°)
OKLaboklab(73.02% 0.1488 -0.1362)
OKLCHoklch(73.02% 0.202 317.5)
XYZxyz(52.7264, 35.1798, 93.6171)
Luminance0.3518 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DA78F9 #97F978
analogous
#9978F9 #DA78F9 #F978D8
triadic
#DA78F9 #F9DA78 #78F9DA
tetradic
#DA78F9 #F99978 #97F978 #78D8F9
square
#DA78F9 #F99978 #97F978 #78D8F9
split-complementary
#DA78F9 #D8F978 #78F999
monochromatic
#B60AEC #CA3DF6 #DA78F9 #EAB3FC #F7E2FE

Accessibility & contrast

On white

2.61
#DA78F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#DA78F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DA78F9
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DA78F9#FFFFFF#000000##000000
##DA78F91.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D9AFD
Deuteranopia (green-blind)
#7CA3F6
Tritanopia (blue-blind)
#D98BAE
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #da78f9;
/* rgb */ color: rgb(218, 120, 249);
/* oklch */ color: oklch(73.0% 0.202 317.5);
Tailwind
colors: {
  custom: {
    50: '#e8a2fc',
    500: '#da78f9',
    950: '#000000',
  },
}
SCSS
$custom: #da78f9;
$custom-light: #e8a2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#da78f9",
  "rgb": {
    "r": 218,
    "g": 120,
    "b": 249
  },
  "hsl": {
    "h": 285.581,
    "s": 91.489,
    "l": 72.353
  },
  "oklch": {
    "l": 0.73015,
    "c": 0.20173,
    "h": 317.5
  },
  "luminance": 0.35178
}

Semantic roles & 50–950 ramp

primary
#DA78F9
secondary
#DDF6D5
accent
#E60037
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #DA78F9

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

Preview Lab → · Contrast checker → · Palette generator →

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