#EF81EB#EF81EB

#EF81EB is a light, vivid purple. Relative luminance 0.400; OKLCH L 76.0% C 0.186 H 328.6°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#EF81EB
RGBrgb(239, 129, 235)
HSLhsl(302, 77%, 72%)
HSVhsv(302, 46%, 94%)
CMYKcmyk(0%, 46%, 1.7%, 6.3%)
CIE-LABlab(69.51, 56.61, -35.44)
CIE-LCHlch(69.51, 66.79, 327.95°)
OKLaboklab(76.04% 0.1584 -0.0969)
OKLCHoklch(76.04% 0.186 328.6)
XYZxyz(58.4414, 40.0526, 83.2338)
Luminance0.4005 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF81EB #81EF85
analogous
#BC81EF #EF81EB #EF81B4
triadic
#EF81EB #EBEF81 #81EBEF
tetradic
#EF81EB #EFBC81 #81EF85 #81B4EF
square
#EF81EB #EFBC81 #81EF85 #81B4EF
split-complementary
#EF81EB #B4EF81 #81EFBC
monochromatic
#DA1CD3 #E84BE2 #EF81EB #F6B7F4 #FCE4FB

Accessibility & contrast

On white

2.33
#EF81EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.01
#EF81EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF81EB
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF81EB#FFFFFF#000000##000000
##EF81EB1.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A0EF
Deuteranopia (green-blind)
#99AFE8
Tritanopia (blue-blind)
#F68BAB
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #ef81eb;
/* rgb */ color: rgb(239, 129, 235);
/* oklch */ color: oklch(76.0% 0.186 328.6);
Tailwind
colors: {
  custom: {
    50: '#f6a9f1',
    500: '#ef81eb',
    950: '#000000',
  },
}
SCSS
$custom: #ef81eb;
$custom-light: #f6a9f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ef81eb",
  "rgb": {
    "r": 239,
    "g": 129,
    "b": 235
  },
  "hsl": {
    "h": 302.182,
    "s": 77.465,
    "l": 72.157
  },
  "oklch": {
    "l": 0.76035,
    "c": 0.18569,
    "h": 328.6
  },
  "luminance": 0.40049
}

Semantic roles & 50–950 ramp

primary
#EF81EB
secondary
#D8F3D9
accent
#DA130C
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171017
muted
#857F85

Preview Lab

Preview with #EF81EB

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

Preview Lab → · Contrast checker → · Palette generator →

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