#EF8AF8#EF8AF8

#EF8AF8 is a light, vivid purple. Relative luminance 0.433; OKLCH L 77.9% C 0.183 H 324.1°. Best body text is #000000 at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#EF8AF8
RGBrgb(239, 138, 248)
HSLhsl(295, 89%, 76%)
HSVhsv(295, 44%, 97%)
CMYKcmyk(3.6%, 44.4%, 0%, 2.7%)
CIE-LABlab(71.76, 54.47, -39.06)
CIE-LCHlch(71.76, 67.02, 324.36°)
OKLaboklab(77.89% 0.1483 -0.1073)
OKLCHoklch(77.89% 0.183 324.1)
XYZxyz(61.6268, 43.3077, 93.9018)
Luminance0.4330 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF8AF8 #93F88A
analogous
#B88AF8 #EF8AF8 #F88ACA
triadic
#EF8AF8 #F8EF8A #8AF8EF
tetradic
#EF8AF8 #F8B88A #93F88A #8ACAF8
square
#EF8AF8 #F8B88A #93F88A #8ACAF8
split-complementary
#EF8AF8 #CAF88A #8AF8B8
monochromatic
#DF17F1 #E750F5 #EF8AF8 #F7C4FB #FBE2FD

Accessibility & contrast

On white

2.17
#EF8AF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.66
#EF8AF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF8AF8
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF8AF8#FFFFFF#000000##000000
##EF8AF81.002.179.669.66
#FFFFFF2.171.0021.0021.00
#0000009.6621.001.001.00
##0000009.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA8FC
Deuteranopia (green-blind)
#9AB4F5
Tritanopia (blue-blind)
#F397B6
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #ef8af8;
/* rgb */ color: rgb(239, 138, 248);
/* oklch */ color: oklch(77.9% 0.183 324.1);
Tailwind
colors: {
  custom: {
    50: '#f6affb',
    500: '#ef8af8',
    950: '#000000',
  },
}
SCSS
$custom: #ef8af8;
$custom-light: #f6affb;
$custom-dark: #000000;
JSON
{
  "hex": "#ef8af8",
  "rgb": {
    "r": 239,
    "g": 138,
    "b": 248
  },
  "hsl": {
    "h": 295.091,
    "s": 88.71,
    "l": 75.686
  },
  "oklch": {
    "l": 0.77891,
    "c": 0.18302,
    "h": 324.1
  },
  "luminance": 0.43305
}

Semantic roles & 50–950 ramp

primary
#EF8AF8
secondary
#D8F5D6
accent
#E50013
background
#FFFAFF
surface
#FFF5FF
border
#D7CFD7
text
#171117
muted
#858085

Preview Lab

Preview with #EF8AF8

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

Preview Lab → · Contrast checker → · Palette generator →

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