#DA78F7#DA78F7

#DA78F7 is a light, vivid purple. Relative luminance 0.351; OKLCH L 72.9% C 0.200 H 318.1°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#DA78F7
RGBrgb(218, 120, 247)
HSLhsl(286, 89%, 72%)
HSVhsv(286, 51%, 97%)
CMYKcmyk(11.7%, 51.4%, 0%, 3.1%)
CIE-LABlab(65.79, 57.47, -48.04)
CIE-LCHlch(65.79, 74.91, 320.11°)
OKLaboklab(72.91% 0.1486 -0.1335)
OKLCHoklch(72.91% 0.2 318.1)
XYZxyz(52.4161, 35.0557, 91.9830)
Luminance0.3505 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DA78F7 #95F778
analogous
#9B78F7 #DA78F7 #F778D5
triadic
#DA78F7 #F7DA78 #78F7DA
tetradic
#DA78F7 #F79B78 #95F778 #78D5F7
square
#DA78F7 #F79B78 #95F778 #78D5F7
split-complementary
#DA78F7 #D5F778 #78F79B
monochromatic
#B50EE7 #CA3EF4 #DA78F7 #EAB2FA #F7E2FD

Accessibility & contrast

On white

2.62
#DA78F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#DA78F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DA78F7
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DA78F7#FFFFFF#000000##000000
##DA78F71.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F99FB
Deuteranopia (green-blind)
#7EA3F4
Tritanopia (blue-blind)
#DA8BAD
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #da78f7;
/* rgb */ color: rgb(218, 120, 247);
/* oklch */ color: oklch(72.9% 0.200 318.1);
Tailwind
colors: {
  custom: {
    50: '#e8a2fa',
    500: '#da78f7',
    950: '#000000',
  },
}
SCSS
$custom: #da78f7;
$custom-light: #e8a2fa;
$custom-dark: #000000;
JSON
{
  "hex": "#da78f7",
  "rgb": {
    "r": 218,
    "g": 120,
    "b": 247
  },
  "hsl": {
    "h": 286.299,
    "s": 88.811,
    "l": 71.961
  },
  "oklch": {
    "l": 0.72912,
    "c": 0.19974,
    "h": 318.1
  },
  "luminance": 0.35054
}

Semantic roles & 50–950 ramp

primary
#DA78F7
secondary
#DDF5D5
accent
#E50034
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #DA78F7

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

Preview Lab → · Contrast checker → · Palette generator →

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