#EB81DC#EB81DC

#EB81DC is a light, vivid purple. Relative luminance 0.385; OKLCH L 74.9% C 0.170 H 332.6°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#EB81DC
RGBrgb(235, 129, 220)
HSLhsl(308, 73%, 71%)
HSVhsv(308, 45%, 92%)
CMYKcmyk(0%, 45.1%, 6.4%, 7.8%)
CIE-LABlab(68.41, 52.89, -28.89)
CIE-LCHlch(68.41, 60.27, 331.35°)
OKLaboklab(74.92% 0.151 -0.0783)
OKLCHoklch(74.92% 0.17 332.6)
XYZxyz(55.0292, 38.5332, 72.2354)
Luminance0.3853 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB81DC #81EB90
analogous
#C581EB #EB81DC #EB81A7
triadic
#EB81DC #DCEB81 #81DCEB
tetradic
#EB81DC #EBC581 #81EB90 #81A7EB
square
#EB81DC #EBC581 #81EB90 #81A7EB
split-complementary
#EB81DC #A7EB81 #81EBC5
monochromatic
#D121B8 #E34CCD #EB81DC #F3B6EB #FBE5F8

Accessibility & contrast

On white

2.41
#EB81DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#EB81DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB81DC
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB81DC#FFFFFF#000000##000000
##EB81DC1.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F9DDF
Deuteranopia (green-blind)
#9CACD9
Tritanopia (blue-blind)
#F388A4
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #eb81dc;
/* rgb */ color: rgb(235, 129, 220);
/* oklch */ color: oklch(74.9% 0.170 332.6);
Tailwind
colors: {
  custom: {
    50: '#f3a8e7',
    500: '#eb81dc',
    950: '#000000',
  },
}
SCSS
$custom: #eb81dc;
$custom-light: #f3a8e7;
$custom-dark: #000000;
JSON
{
  "hex": "#eb81dc",
  "rgb": {
    "r": 235,
    "g": 129,
    "b": 220
  },
  "hsl": {
    "h": 308.491,
    "s": 72.603,
    "l": 71.373
  },
  "oklch": {
    "l": 0.74918,
    "c": 0.17013,
    "h": 332.6
  },
  "luminance": 0.3853
}

Semantic roles & 50–950 ramp

primary
#EB81DC
secondary
#D6F2DA
accent
#D52D11
background
#FFFAFE
surface
#FEF4FC
border
#D6CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #EB81DC

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

Preview Lab → · Contrast checker → · Palette generator →

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