#DA78EC#DA78EC

#DA78EC is a light, vivid purple. Relative luminance 0.344; OKLCH L 72.4% C 0.189 H 321.2°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#DA78EC
RGBrgb(218, 120, 236)
HSLhsl(291, 75%, 70%)
HSVhsv(291, 49%, 93%)
CMYKcmyk(7.6%, 49.2%, 0%, 7.5%)
CIE-LABlab(65.28, 55.36, -42.79)
CIE-LCHlch(65.28, 69.97, 322.30°)
OKLaboklab(72.36% 0.1473 -0.1183)
OKLCHoklch(72.36% 0.189 321.2)
XYZxyz(50.7685, 34.3966, 83.3056)
Luminance0.3439 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DA78EC #8AEC78
analogous
#A078EC #DA78EC #EC78C4
triadic
#DA78EC #ECDA78 #78ECDA
tetradic
#DA78EC #ECA078 #8AEC78 #78C4EC
square
#DA78EC #ECA078 #8AEC78 #78C4EC
split-complementary
#DA78EC #C4EC78 #78ECA0
monochromatic
#B11DCD #CB42E4 #DA78EC #E9AEF4 #F7E3FB

Accessibility & contrast

On white

2.67
#DA78EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#DA78EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DA78EC
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DA78EC#FFFFFF#000000##000000
##DA78EC1.002.677.887.88
#FFFFFF2.671.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6697F0
Deuteranopia (green-blind)
#83A2E9
Tritanopia (blue-blind)
#DC87A7
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #da78ec;
/* rgb */ color: rgb(218, 120, 236);
/* oklch */ color: oklch(72.4% 0.189 321.2);
Tailwind
colors: {
  custom: {
    50: '#e8a2f2',
    500: '#da78ec',
    950: '#000000',
  },
}
SCSS
$custom: #da78ec;
$custom-light: #e8a2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#da78ec",
  "rgb": {
    "r": 218,
    "g": 120,
    "b": 236
  },
  "hsl": {
    "h": 290.69,
    "s": 75.325,
    "l": 69.804
  },
  "oklch": {
    "l": 0.72363,
    "c": 0.18892,
    "h": 321.2
  },
  "luminance": 0.34394
}

Semantic roles & 50–950 ramp

primary
#DA78EC
secondary
#D5F0D0
accent
#D70E2D
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #DA78EC

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

Preview Lab → · Contrast checker → · Palette generator →

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