#EF8AE7#EF8AE7

#EF8AE7 is a light, vivid purple. Relative luminance 0.423; OKLCH L 77.2% C 0.167 H 330.0°. Best body text is #000000 at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#EF8AE7
RGBrgb(239, 138, 231)
HSLhsl(305, 76%, 74%)
HSVhsv(305, 42%, 94%)
CMYKcmyk(0%, 42.3%, 3.3%, 6.3%)
CIE-LABlab(71.08, 51.45, -30.82)
CIE-LCHlch(71.08, 59.97, 329.08°)
OKLaboklab(77.15% 0.145 -0.0838)
OKLCHoklch(77.15% 0.167 330)
XYZxyz(59.1082, 42.3003, 80.6372)
Luminance0.4230 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF8AE7 #8AEF92
analogous
#C58AEF #EF8AE7 #EF8AB5
triadic
#EF8AE7 #E7EF8A #8AE7EF
tetradic
#EF8AE7 #EFC58A #8AEF92 #8AB5EF
square
#EF8AE7 #EFC58A #8AEF92 #8AB5EF
split-complementary
#EF8AE7 #B5EF8A #8AEFC5
monochromatic
#E01FD1 #E854DC #EF8AE7 #F6C0F2 #FBE4F9

Accessibility & contrast

On white

2.22
#EF8AE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.46
#EF8AE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF8AE7
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF8AE7#FFFFFF#000000##000000
##EF8AE71.002.229.469.46
#FFFFFF2.221.0021.0021.00
#0000009.4621.001.001.00
##0000009.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A5EA
Deuteranopia (green-blind)
#A0B3E4
Tritanopia (blue-blind)
#F692AE
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #ef8ae7;
/* rgb */ color: rgb(239, 138, 231);
/* oklch */ color: oklch(77.2% 0.167 330.0);
Tailwind
colors: {
  custom: {
    50: '#f6afef',
    500: '#ef8ae7',
    950: '#000000',
  },
}
SCSS
$custom: #ef8ae7;
$custom-light: #f6afef;
$custom-dark: #000000;
JSON
{
  "hex": "#ef8ae7",
  "rgb": {
    "r": 239,
    "g": 138,
    "b": 231
  },
  "hsl": {
    "h": 304.752,
    "s": 75.94,
    "l": 73.922
  },
  "oklch": {
    "l": 0.77154,
    "c": 0.16745,
    "h": 330
  },
  "luminance": 0.42297
}

Semantic roles & 50–950 ramp

primary
#EF8AE7
secondary
#D8F3DA
accent
#D81D0D
background
#FFFAFE
surface
#FFF5FD
border
#D7CFD5
text
#171116
muted
#858084

Preview Lab

Preview with #EF8AE7

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

Preview Lab → · Contrast checker → · Palette generator →

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