#EF8AF2#EF8AF2

#EF8AF2 is a light, vivid purple. Relative luminance 0.429; OKLCH L 77.6% C 0.177 H 326.1°. Best body text is #000000 at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#EF8AF2
RGBrgb(239, 138, 242)
HSLhsl(298, 80%, 75%)
HSVhsv(298, 43%, 95%)
CMYKcmyk(1.2%, 43%, 0%, 5.1%)
CIE-LABlab(71.52, 53.38, -36.17)
CIE-LCHlch(71.52, 64.48, 325.88°)
OKLaboklab(77.62% 0.1472 -0.099)
OKLCHoklch(77.62% 0.177 326.1)
XYZxyz(60.7108, 42.9413, 89.0778)
Luminance0.4294 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF8AF2 #8DF28A
analogous
#BB8AF2 #EF8AF2 #F28AC1
triadic
#EF8AF2 #F2EF8A #8AF2EF
tetradic
#EF8AF2 #F2BB8A #8DF28A #8AC1F2
square
#EF8AF2 #F2BB8A #8DF28A #8AC1F2
split-complementary
#EF8AF2 #C1F28A #8AF2BB
monochromatic
#E01CE6 #E753EC #EF8AF2 #F7C1F8 #FBE3FC

Accessibility & contrast

On white

2.19
#EF8AF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.59
#EF8AF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF8AF2
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF8AF2#FFFFFF#000000##000000
##EF8AF21.002.199.599.59
#FFFFFF2.191.0021.0021.00
#0000009.5921.001.001.00
##0000009.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A7F6
Deuteranopia (green-blind)
#9CB4EF
Tritanopia (blue-blind)
#F495B3
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #ef8af2;
/* rgb */ color: rgb(239, 138, 242);
/* oklch */ color: oklch(77.6% 0.177 326.1);
Tailwind
colors: {
  custom: {
    50: '#f6aff6',
    500: '#ef8af2',
    950: '#000000',
  },
}
SCSS
$custom: #ef8af2;
$custom-light: #f6aff6;
$custom-dark: #000000;
JSON
{
  "hex": "#ef8af2",
  "rgb": {
    "r": 239,
    "g": 138,
    "b": 242
  },
  "hsl": {
    "h": 298.269,
    "s": 80,
    "l": 74.51
  },
  "oklch": {
    "l": 0.77624,
    "c": 0.17739,
    "h": 326.1
  },
  "luminance": 0.42938
}

Semantic roles & 50–950 ramp

primary
#EF8AF2
secondary
#D8F4D7
accent
#DC090F
background
#FFFAFF
surface
#FFF5FE
border
#D7CFD6
text
#171117
muted
#858085

Preview Lab

Preview with #EF8AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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