#D781EA#D781EA

#D781EA is a light, vivid purple. Relative luminance 0.361; OKLCH L 73.2% C 0.171 H 320.2°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#D781EA
RGBrgb(215, 129, 234)
HSLhsl(289, 71%, 71%)
HSVhsv(289, 45%, 92%)
CMYKcmyk(8.1%, 44.9%, 0%, 8.2%)
CIE-LABlab(66.59, 49.58, -39.66)
CIE-LCHlch(66.59, 63.49, 321.35°)
OKLaboklab(73.23% 0.1312 -0.1094)
OKLCHoklch(73.23% 0.171 320.2)
XYZxyz(50.7240, 36.0899, 82.1201)
Luminance0.3609 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D781EA #94EA81
analogous
#A281EA #D781EA #EA81C8
triadic
#D781EA #EAD781 #81EAD7
tetradic
#D781EA #EAA281 #94EA81 #81C8EA
square
#D781EA #EAA281 #94EA81 #81C8EA
split-complementary
#D781EA #C8EA81 #81EAA2
monochromatic
#AF22CE #C64DE1 #D781EA #E8B5F3 #F7E5FB

Accessibility & contrast

On white

2.56
#D781EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#D781EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D781EA
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D781EA#FFFFFF#000000##000000
##D781EA1.002.568.228.22
#FFFFFF2.561.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#719CEE
Deuteranopia (green-blind)
#89A5E7
Tritanopia (blue-blind)
#D88EAB
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #d781ea;
/* rgb */ color: rgb(215, 129, 234);
/* oklch */ color: oklch(73.2% 0.171 320.2);
Tailwind
colors: {
  custom: {
    50: '#e5a8f1',
    500: '#d781ea',
    950: '#000000',
  },
}
SCSS
$custom: #d781ea;
$custom-light: #e5a8f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d781ea",
  "rgb": {
    "r": 215,
    "g": 129,
    "b": 234
  },
  "hsl": {
    "h": 289.143,
    "s": 71.429,
    "l": 71.176
  },
  "oklch": {
    "l": 0.73232,
    "c": 0.17081,
    "h": 320.2
  },
  "luminance": 0.36088
}

Semantic roles & 50–950 ramp

primary
#D781EA
secondary
#DBF1D6
accent
#D31235
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #D781EA

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

Preview Lab → · Contrast checker → · Palette generator →

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