#EF81E2#EF81E2

#EF81E2 is a light, vivid purple. Relative luminance 0.395; OKLCH L 75.6% C 0.178 H 331.7°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#EF81E2
RGBrgb(239, 129, 226)
HSLhsl(307, 77%, 72%)
HSVhsv(307, 46%, 94%)
CMYKcmyk(0%, 46%, 5.4%, 6.3%)
CIE-LABlab(69.14, 55.07, -31.04)
CIE-LCHlch(69.14, 63.22, 330.59°)
OKLaboklab(75.65% 0.1567 -0.0844)
OKLCHoklch(75.65% 0.178 331.7)
XYZxyz(57.1739, 39.5456, 76.5584)
Luminance0.3954 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF81E2 #81EF8E
analogous
#C581EF #EF81E2 #EF81AB
triadic
#EF81E2 #E2EF81 #81E2EF
tetradic
#EF81E2 #EFC581 #81EF8E #81ABEF
square
#EF81E2 #EFC581 #81EF8E #81ABEF
split-complementary
#EF81E2 #ABEF81 #81EFC5
monochromatic
#DA1CC3 #E84BD6 #EF81E2 #F6B7EE #FCE4F9

Accessibility & contrast

On white

2.36
#EF81E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.91
#EF81E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF81E2
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF81E2#FFFFFF#000000##000000
##EF81E21.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D9FE5
Deuteranopia (green-blind)
#9CAEDF
Tritanopia (blue-blind)
#F789A7
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #ef81e2;
/* rgb */ color: rgb(239, 129, 226);
/* oklch */ color: oklch(75.6% 0.178 331.7);
Tailwind
colors: {
  custom: {
    50: '#f6a9eb',
    500: '#ef81e2',
    950: '#000000',
  },
}
SCSS
$custom: #ef81e2;
$custom-light: #f6a9eb;
$custom-dark: #000000;
JSON
{
  "hex": "#ef81e2",
  "rgb": {
    "r": 239,
    "g": 129,
    "b": 226
  },
  "hsl": {
    "h": 307.091,
    "s": 77.465,
    "l": 72.157
  },
  "oklch": {
    "l": 0.75646,
    "c": 0.17794,
    "h": 331.7
  },
  "luminance": 0.39542
}

Semantic roles & 50–950 ramp

primary
#EF81E2
secondary
#D8F3DB
accent
#DA240C
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #EF81E2

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

Preview Lab → · Contrast checker → · Palette generator →

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