#E981DF#E981DF

#E981DF is a light, vivid purple. Relative luminance 0.384; OKLCH L 74.8% C 0.171 H 330.7°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#E981DF
RGBrgb(233, 129, 223)
HSLhsl(306, 70%, 71%)
HSVhsv(306, 45%, 91%)
CMYKcmyk(0%, 44.6%, 4.3%, 8.6%)
CIE-LABlab(68.28, 52.80, -30.78)
CIE-LCHlch(68.28, 61.12, 329.76°)
OKLaboklab(74.81% 0.1495 -0.0837)
OKLCHoklch(74.81% 0.171 330.7)
XYZxyz(54.7733, 38.3549, 74.3159)
Luminance0.3835 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E981DF #81E98B
analogous
#BF81E9 #E981DF #E981AB
triadic
#E981DF #DFE981 #81DFE9
tetradic
#E981DF #E9BF81 #81E98B #81ABE9
square
#E981DF #E9BF81 #81E98B #81ABE9
split-complementary
#E981DF #ABE981 #81E9BF
monochromatic
#CC24BC #E04DD2 #E981DF #F2B5EC #FAE5F8

Accessibility & contrast

On white

2.42
#E981DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.67
#E981DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E981DF
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E981DF#FFFFFF#000000##000000
##E981DF1.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D9DE2
Deuteranopia (green-blind)
#99ACDC
Tritanopia (blue-blind)
#F089A6
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #e981df;
/* rgb */ color: rgb(233, 129, 223);
/* oklch */ color: oklch(74.8% 0.171 330.7);
Tailwind
colors: {
  custom: {
    50: '#f2a8e9',
    500: '#e981df',
    950: '#000000',
  },
}
SCSS
$custom: #e981df;
$custom-light: #f2a8e9;
$custom-dark: #000000;
JSON
{
  "hex": "#e981df",
  "rgb": {
    "r": 233,
    "g": 129,
    "b": 223
  },
  "hsl": {
    "h": 305.769,
    "s": 70.27,
    "l": 70.98
  },
  "oklch": {
    "l": 0.74806,
    "c": 0.1713,
    "h": 330.7
  },
  "luminance": 0.38352
}

Semantic roles & 50–950 ramp

primary
#E981DF
secondary
#D5F1D8
accent
#D22613
background
#FFFAFE
surface
#FEF4FD
border
#D6CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #E981DF

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

Preview Lab → · Contrast checker → · Palette generator →

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