#EF9AFA#EF9AFA

#EF9AFA is a light, vivid purple. Relative luminance 0.484; OKLCH L 80.4% C 0.159 H 322.8°. Best body text is #000000 at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#EF9AFA
RGBrgb(239, 154, 250)
HSLhsl(293, 91%, 79%)
HSVhsv(293, 38%, 98%)
CMYKcmyk(4.4%, 38.4%, 0%, 2%)
CIE-LABlab(75.06, 46.69, -35.03)
CIE-LCHlch(75.06, 58.37, 323.12°)
OKLaboklab(80.38% 0.1262 -0.0959)
OKLCHoklch(80.38% 0.159 322.8)
XYZxyz(64.4056, 48.3664, 96.3670)
Luminance0.4836 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF9AFA #A5FA9A
analogous
#BF9AFA #EF9AFA #FA9AD5
triadic
#EF9AFA #FAEF9A #9AFAEF
tetradic
#EF9AFA #FABF9A #A5FA9A #9AD5FA
square
#EF9AFA #FABF9A #A5FA9A #9AD5FA
split-complementary
#EF9AFA #D5FA9A #9AFABF
monochromatic
#DD25F4 #E660F7 #EF9AFA #F8D4FD #FAE2FE

Accessibility & contrast

On white

1.97
#EF9AFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.67
#EF9AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF9AFA
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF9AFA#FFFFFF#000000##000000
##EF9AFA1.001.9710.6710.67
#FFFFFF1.971.0021.0021.00
#00000010.6721.001.001.00
##00000010.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FB2FE
Deuteranopia (green-blind)
#A5BCF7
Tritanopia (blue-blind)
#F2A5BF
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #ef9afa;
/* rgb */ color: rgb(239, 154, 250);
/* oklch */ color: oklch(80.4% 0.159 322.8);
Tailwind
colors: {
  custom: {
    50: '#f5b9fc',
    500: '#ef9afa',
    950: '#000000',
  },
}
SCSS
$custom: #ef9afa;
$custom-light: #f5b9fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ef9afa",
  "rgb": {
    "r": 239,
    "g": 154,
    "b": 250
  },
  "hsl": {
    "h": 293.125,
    "s": 90.566,
    "l": 79.216
  },
  "oklch": {
    "l": 0.80382,
    "c": 0.1585,
    "h": 322.8
  },
  "luminance": 0.48364
}

Semantic roles & 50–950 ramp

primary
#EF9AFA
secondary
#D9F6D5
accent
#E6001A
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#171217
muted
#858185

Preview Lab

Preview with #EF9AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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