#DA78D2#DA78D2

#DA78D2 is a light, vivid purple. Relative luminance 0.330; OKLCH L 71.2% C 0.165 H 330.2°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#DA78D2
RGBrgb(218, 120, 210)
HSLhsl(305, 57%, 66%)
HSVhsv(305, 45%, 85%)
CMYKcmyk(0%, 45%, 3.7%, 14.5%)
CIE-LABlab(64.16, 50.62, -30.06)
CIE-LCHlch(64.16, 58.88, 329.29°)
OKLaboklab(71.16% 0.1429 -0.0819)
OKLCHoklch(71.16% 0.165 330.2)
XYZxyz(47.2622, 32.9941, 64.8393)
Luminance0.3299 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DA78D2 #78DA80
analogous
#B178DA #DA78D2 #DA78A1
triadic
#DA78D2 #D2DA78 #78D2DA
tetradic
#DA78D2 #DAB178 #78DA80 #78A1DA
square
#DA78D2 #DAB178 #78DA80 #78A1DA
split-complementary
#DA78D2 #A1DA78 #78DAB1
monochromatic
#A92E9F #CD48C2 #DA78D2 #E7A8E2 #F4D8F2

Accessibility & contrast

On white

2.76
#DA78D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#DA78D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DA78D2
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DA78D2#FFFFFF#000000##000000
##DA78D21.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7393D5
Deuteranopia (green-blind)
#8EA0CF
Tritanopia (blue-blind)
#E1809B
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #da78d2;
/* rgb */ color: rgb(218, 120, 210);
/* oklch */ color: oklch(71.2% 0.165 330.2);
Tailwind
colors: {
  custom: {
    50: '#e7a2e0',
    500: '#da78d2',
    950: '#000000',
  },
}
SCSS
$custom: #da78d2;
$custom-light: #e7a2e0;
$custom-dark: #000000;
JSON
{
  "hex": "#da78d2",
  "rgb": {
    "r": 218,
    "g": 120,
    "b": 210
  },
  "hsl": {
    "h": 304.898,
    "s": 56.977,
    "l": 66.275
  },
  "oklch": {
    "l": 0.71164,
    "c": 0.16467,
    "h": 330.2
  },
  "luminance": 0.32992
}

Semantic roles & 50–950 ramp

primary
#DA78D2
secondary
#C7E7CA
accent
#C52E21
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#160F15
muted
#847F83

Preview Lab

Preview with #DA78D2

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

Preview Lab → · Contrast checker → · Palette generator →

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