#EF8AFA#EF8AFA

#EF8AFA is a light, vivid purple. Relative luminance 0.434; OKLCH L 78.0% C 0.185 H 323.5°. Best body text is #000000 at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#EF8AFA
RGBrgb(239, 138, 250)
HSLhsl(294, 92%, 76%)
HSVhsv(294, 45%, 98%)
CMYKcmyk(4.4%, 44.8%, 0%, 2%)
CIE-LABlab(71.85, 54.84, -40.01)
CIE-LCHlch(71.85, 67.88, 323.88°)
OKLaboklab(77.98% 0.1486 -0.11)
OKLCHoklch(77.98% 0.185 323.5)
XYZxyz(61.9387, 43.4325, 95.5446)
Luminance0.4343 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF8AFA #95FA8A
analogous
#B78AFA #EF8AFA #FA8ACD
triadic
#EF8AFA #FAEF8A #8AFAEF
tetradic
#EF8AFA #FAB78A #95FA8A #8ACDFA
square
#EF8AFA #FAB78A #95FA8A #8ACDFA
split-complementary
#EF8AFA #CDFA8A #8AFAB7
monochromatic
#DF15F5 #E74FF7 #EF8AFA #F7C5FD #FBE2FE

Accessibility & contrast

On white

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

On black

9.69
#EF8AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF8AFA
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF8AFA#FFFFFF#000000##000000
##EF8AFA1.002.179.699.69
#FFFFFF2.171.0021.0021.00
#0000009.6921.001.001.00
##0000009.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA8FE
Deuteranopia (green-blind)
#99B4F7
Tritanopia (blue-blind)
#F397B6
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #ef8afa;
/* rgb */ color: rgb(239, 138, 250);
/* oklch */ color: oklch(78.0% 0.185 323.5);
Tailwind
colors: {
  custom: {
    50: '#f6affc',
    500: '#ef8afa',
    950: '#000000',
  },
}
SCSS
$custom: #ef8afa;
$custom-light: #f6affc;
$custom-dark: #000000;
JSON
{
  "hex": "#ef8afa",
  "rgb": {
    "r": 239,
    "g": 138,
    "b": 250
  },
  "hsl": {
    "h": 294.107,
    "s": 91.803,
    "l": 76.078
  },
  "oklch": {
    "l": 0.77981,
    "c": 0.18491,
    "h": 323.5
  },
  "luminance": 0.4343
}

Semantic roles & 50–950 ramp

primary
#EF8AFA
secondary
#D8F6D5
accent
#E60017
background
#FFFAFF
surface
#FFF5FF
border
#D7CFD7
text
#171117
muted
#858085

Preview Lab

Preview with #EF8AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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