#EF81EF#EF81EF

#EF81EF is a light, vivid purple. Relative luminance 0.403; OKLCH L 76.2% C 0.189 H 327.2°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#EF81EF
RGBrgb(239, 129, 239)
HSLhsl(300, 77%, 72%)
HSVhsv(300, 46%, 94%)
CMYKcmyk(0%, 46%, 0%, 6.3%)
CIE-LABlab(69.67, 57.30, -37.39)
CIE-LCHlch(69.67, 68.42, 326.88°)
OKLaboklab(76.21% 0.1591 -0.1024)
OKLCHoklch(76.21% 0.189 327.2)
XYZxyz(59.0258, 40.2863, 86.3116)
Luminance0.4028 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF81EF #81EF81
analogous
#B881EF #EF81EF #EF81B8
triadic
#EF81EF #EFEF81 #81EFEF
tetradic
#EF81EF #EFB881 #81EF81 #81B8EF
square
#EF81EF #EFB881 #81EF81 #81B8EF
split-complementary
#EF81EF #B8EF81 #81EFB8
monochromatic
#DA1CDA #E84BE8 #EF81EF #F6B7F6 #FCE4FC

Accessibility & contrast

On white

2.32
#EF81EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.06
#EF81EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF81EF
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF81EF#FFFFFF#000000##000000
##EF81EF1.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A1F3
Deuteranopia (green-blind)
#97AFEC
Tritanopia (blue-blind)
#F58CAD
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #ef81ef;
/* rgb */ color: rgb(239, 129, 239);
/* oklch */ color: oklch(76.2% 0.189 327.2);
Tailwind
colors: {
  custom: {
    50: '#f6a9f4',
    500: '#ef81ef',
    950: '#000000',
  },
}
SCSS
$custom: #ef81ef;
$custom-light: #f6a9f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ef81ef",
  "rgb": {
    "r": 239,
    "g": 129,
    "b": 239
  },
  "hsl": {
    "h": 300,
    "s": 77.465,
    "l": 72.157
  },
  "oklch": {
    "l": 0.76213,
    "c": 0.18923,
    "h": 327.2
  },
  "luminance": 0.40283
}

Semantic roles & 50–950 ramp

primary
#EF81EF
secondary
#D8F3D8
accent
#DA0C0C
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171017
muted
#857F85

Preview Lab

Preview with #EF81EF

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

Preview Lab → · Contrast checker → · Palette generator →

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