#DA78E2#DA78E2

#DA78E2 is a light, vivid purple. Relative luminance 0.338; OKLCH L 71.9% C 0.179 H 324.4°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#DA78E2
RGBrgb(218, 120, 226)
HSLhsl(295, 65%, 68%)
HSVhsv(295, 47%, 89%)
CMYKcmyk(3.5%, 46.9%, 0%, 11.4%)
CIE-LABlab(64.83, 53.49, -37.95)
CIE-LCHlch(64.83, 65.58, 324.65°)
OKLaboklab(71.89% 0.1458 -0.1044)
OKLCHoklch(71.89% 0.179 324.4)
XYZxyz(49.3561, 33.8317, 75.8671)
Luminance0.3383 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DA78E2 #80E278
analogous
#A578E2 #DA78E2 #E278B5
triadic
#DA78E2 #E2DA78 #78E2DA
tetradic
#DA78E2 #E2A578 #80E278 #78B5E2
square
#DA78E2 #E2A578 #80E278 #78B5E2
split-complementary
#DA78E2 #B5E278 #78E2A5
monochromatic
#AD28B8 #CC46D7 #DA78E2 #E8AAED #F6DDF8

Accessibility & contrast

On white

2.70
#DA78E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#DA78E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DA78E2
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DA78E2#FFFFFF#000000##000000
##DA78E21.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C96E6
Deuteranopia (green-blind)
#88A1DF
Tritanopia (blue-blind)
#DE84A3
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #da78e2;
/* rgb */ color: rgb(218, 120, 226);
/* oklch */ color: oklch(71.9% 0.179 324.4);
Tailwind
colors: {
  custom: {
    50: '#e7a2eb',
    500: '#da78e2',
    950: '#000000',
  },
}
SCSS
$custom: #da78e2;
$custom-light: #e7a2eb;
$custom-dark: #000000;
JSON
{
  "hex": "#da78e2",
  "rgb": {
    "r": 218,
    "g": 120,
    "b": 226
  },
  "hsl": {
    "h": 295.472,
    "s": 64.634,
    "l": 67.843
  },
  "oklch": {
    "l": 0.71885,
    "c": 0.17932,
    "h": 324.4
  },
  "luminance": 0.33829
}

Semantic roles & 50–950 ramp

primary
#DA78E2
secondary
#CDEBCB
accent
#CC1927
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #DA78E2

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

Preview Lab → · Contrast checker → · Palette generator →

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