#EF8AE2#EF8AE2

#EF8AE2 is a light, vivid purple. Relative luminance 0.420; OKLCH L 76.9% C 0.163 H 331.9°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#EF8AE2
RGBrgb(239, 138, 226)
HSLhsl(308, 76%, 74%)
HSVhsv(308, 42%, 94%)
CMYKcmyk(0%, 42.3%, 5.4%, 6.3%)
CIE-LABlab(70.89, 50.59, -28.36)
CIE-LCHlch(70.89, 58.00, 330.73°)
OKLaboklab(76.95% 0.1439 -0.0769)
OKLCHoklch(76.95% 0.163 331.9)
XYZxyz(58.4121, 42.0218, 76.9711)
Luminance0.4202 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF8AE2 #8AEF97
analogous
#CA8AEF #EF8AE2 #EF8AB0
triadic
#EF8AE2 #E2EF8A #8AE2EF
tetradic
#EF8AE2 #EFCA8A #8AEF97 #8AB0EF
square
#EF8AE2 #EFCA8A #8AEF97 #8AB0EF
split-complementary
#EF8AE2 #B0EF8A #8AEFCA
monochromatic
#E01FC7 #E854D5 #EF8AE2 #F6C0EF #FBE4F8

Accessibility & contrast

On white

2.23
#EF8AE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.40
#EF8AE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF8AE2
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF8AE2#FFFFFF#000000##000000
##EF8AE21.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A5E5
Deuteranopia (green-blind)
#A2B3DF
Tritanopia (blue-blind)
#F791AC
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #ef8ae2;
/* rgb */ color: rgb(239, 138, 226);
/* oklch */ color: oklch(76.9% 0.163 331.9);
Tailwind
colors: {
  custom: {
    50: '#f6aeeb',
    500: '#ef8ae2',
    950: '#000000',
  },
}
SCSS
$custom: #ef8ae2;
$custom-light: #f6aeeb;
$custom-dark: #000000;
JSON
{
  "hex": "#ef8ae2",
  "rgb": {
    "r": 239,
    "g": 138,
    "b": 226
  },
  "hsl": {
    "h": 307.723,
    "s": 75.94,
    "l": 73.922
  },
  "oklch": {
    "l": 0.76947,
    "c": 0.1631,
    "h": 331.9
  },
  "luminance": 0.42019
}

Semantic roles & 50–950 ramp

primary
#EF8AE2
secondary
#D8F3DB
accent
#D8270D
background
#FFFAFE
surface
#FFF5FD
border
#D7CFD5
text
#171016
muted
#857F84

Preview Lab

Preview with #EF8AE2

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

Preview Lab → · Contrast checker → · Palette generator →

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