#DA78FC#DA78FC

#DA78FC is a light, highly saturated purple. Relative luminance 0.354; OKLCH L 73.2% C 0.205 H 316.7°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#DA78FC
RGBrgb(218, 120, 252)
HSLhsl(285, 96%, 73%)
HSVhsv(285, 52%, 99%)
CMYKcmyk(13.5%, 52.4%, 0%, 1.2%)
CIE-LABlab(66.03, 58.46, -50.41)
CIE-LCHlch(66.03, 77.19, 319.23°)
OKLaboklab(73.17% 0.1491 -0.1403)
OKLCHoklch(73.17% 0.205 316.7)
XYZxyz(53.1980, 35.3684, 96.1011)
Luminance0.3537 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DA78FC #9AFC78
analogous
#9878FC #DA78FC #FC78DC
triadic
#DA78FC #FCDA78 #78FCDA
tetradic
#DA78FC #FC9878 #9AFC78 #78DCFC
square
#DA78FC #FC9878 #9AFC78 #78DCFC
split-complementary
#DA78FC #DCFC78 #78FC98
monochromatic
#B705F4 #CA3CFB #DA78FC #EAB4FD #F7E1FE

Accessibility & contrast

On white

2.60
#DA78FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.07
#DA78FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DA78FC
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DA78FC#FFFFFF#000000##000000
##DA78FC1.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B9AFF
Deuteranopia (green-blind)
#7BA4F8
Tritanopia (blue-blind)
#D98CAF
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #da78fc;
/* rgb */ color: rgb(218, 120, 252);
/* oklch */ color: oklch(73.2% 0.205 316.7);
Tailwind
colors: {
  custom: {
    50: '#e8a2fe',
    500: '#da78fc',
    950: '#000000',
  },
}
SCSS
$custom: #da78fc;
$custom-light: #e8a2fe;
$custom-dark: #000000;
JSON
{
  "hex": "#da78fc",
  "rgb": {
    "r": 218,
    "g": 120,
    "b": 252
  },
  "hsl": {
    "h": 284.545,
    "s": 95.652,
    "l": 72.941
  },
  "oklch": {
    "l": 0.7317,
    "c": 0.20474,
    "h": 316.7
  },
  "luminance": 0.35367
}

Semantic roles & 50–950 ramp

primary
#DA78FC
secondary
#DDF7D4
accent
#E6003B
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #DA78FC

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

Preview Lab → · Contrast checker → · Palette generator →

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