#EF8AF5#EF8AF5

#EF8AF5 is a light, vivid purple. Relative luminance 0.431; OKLCH L 77.8% C 0.180 H 325.1°. Best body text is #000000 at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#EF8AF5
RGBrgb(239, 138, 245)
HSLhsl(297, 84%, 75%)
HSVhsv(297, 44%, 96%)
CMYKcmyk(2.4%, 43.7%, 0%, 3.9%)
CIE-LABlab(71.64, 53.92, -37.61)
CIE-LCHlch(71.64, 65.75, 325.10°)
OKLaboklab(77.76% 0.1478 -0.1031)
OKLCHoklch(77.76% 0.18 325.1)
XYZxyz(61.1651, 43.1230, 91.4702)
Luminance0.4312 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF8AF5 #90F58A
analogous
#BA8AF5 #EF8AF5 #F58AC5
triadic
#EF8AF5 #F5EF8A #8AF5EF
tetradic
#EF8AF5 #F5BA8A #90F58A #8AC5F5
square
#EF8AF5 #F5BA8A #90F58A #8AC5F5
split-complementary
#EF8AF5 #C5F58A #8AF5BA
monochromatic
#E019EB #E752F0 #EF8AF5 #F7C2FA #FBE3FD

Accessibility & contrast

On white

2.18
#EF8AF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.62
#EF8AF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF8AF5
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF8AF5#FFFFFF#000000##000000
##EF8AF51.002.189.629.62
#FFFFFF2.181.0021.0021.00
#0000009.6221.001.001.00
##0000009.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA8F9
Deuteranopia (green-blind)
#9BB4F2
Tritanopia (blue-blind)
#F496B4
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #ef8af5;
/* rgb */ color: rgb(239, 138, 245);
/* oklch */ color: oklch(77.8% 0.180 325.1);
Tailwind
colors: {
  custom: {
    50: '#f6aff8',
    500: '#ef8af5',
    950: '#000000',
  },
}
SCSS
$custom: #ef8af5;
$custom-light: #f6aff8;
$custom-dark: #000000;
JSON
{
  "hex": "#ef8af5",
  "rgb": {
    "r": 239,
    "g": 138,
    "b": 245
  },
  "hsl": {
    "h": 296.636,
    "s": 84.252,
    "l": 75.098
  },
  "oklch": {
    "l": 0.77757,
    "c": 0.18019,
    "h": 325.1
  },
  "luminance": 0.4312
}

Semantic roles & 50–950 ramp

primary
#EF8AF5
secondary
#D8F5D6
accent
#E10511
background
#FFFAFF
surface
#FFF5FF
border
#D7CFD7
text
#171117
muted
#858085

Preview Lab

Preview with #EF8AF5

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

Preview Lab → · Contrast checker → · Palette generator →

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