#EF8AF3#EF8AF3

#EF8AF3 is a light, vivid purple. Relative luminance 0.430; OKLCH L 77.7% C 0.178 H 325.7°. Best body text is #000000 at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#EF8AF3
RGBrgb(239, 138, 243)
HSLhsl(298, 81%, 75%)
HSVhsv(298, 43%, 95%)
CMYKcmyk(1.6%, 43.2%, 0%, 4.7%)
CIE-LABlab(71.56, 53.56, -36.65)
CIE-LCHlch(71.56, 64.90, 325.62°)
OKLaboklab(77.67% 0.1474 -0.1004)
OKLCHoklch(77.67% 0.178 325.7)
XYZxyz(60.8614, 43.0016, 89.8710)
Luminance0.4300 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF8AF3 #8EF38A
analogous
#BA8AF3 #EF8AF3 #F38AC3
triadic
#EF8AF3 #F3EF8A #8AF3EF
tetradic
#EF8AF3 #F3BA8A #8EF38A #8AC3F3
square
#EF8AF3 #F3BA8A #8EF38A #8AC3F3
split-complementary
#EF8AF3 #C3F38A #8AF3BA
monochromatic
#E01BE8 #E752ED #EF8AF3 #F7C2F9 #FBE3FC

Accessibility & contrast

On white

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

On black

9.60
#EF8AF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF8AF3
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF8AF3#FFFFFF#000000##000000
##EF8AF31.002.199.609.60
#FFFFFF2.191.0021.0021.00
#0000009.6021.001.001.00
##0000009.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ef8af3;
/* rgb */ color: rgb(239, 138, 243);
/* oklch */ color: oklch(77.7% 0.178 325.7);
Tailwind
colors: {
  custom: {
    50: '#f6aff7',
    500: '#ef8af3',
    950: '#000000',
  },
}
SCSS
$custom: #ef8af3;
$custom-light: #f6aff7;
$custom-dark: #000000;
JSON
{
  "hex": "#ef8af3",
  "rgb": {
    "r": 239,
    "g": 138,
    "b": 243
  },
  "hsl": {
    "h": 297.714,
    "s": 81.395,
    "l": 74.706
  },
  "oklch": {
    "l": 0.77668,
    "c": 0.17832,
    "h": 325.7
  },
  "luminance": 0.42999
}

Semantic roles & 50–950 ramp

primary
#EF8AF3
secondary
#D8F4D7
accent
#DE0810
background
#FFFAFF
surface
#FFF5FF
border
#D7CFD7
text
#171117
muted
#858085

Preview Lab

Preview with #EF8AF3

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

Preview Lab → · Contrast checker → · Palette generator →

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