#EF9AFF#EF9AFF

#EF9AFF is a light, vivid purple. Relative luminance 0.487; OKLCH L 80.6% C 0.164 H 321.1°. Best body text is #000000 at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#EF9AFF
RGBrgb(239, 154, 255)
HSLhsl(290, 100%, 80%)
HSVhsv(290, 40%, 100%)
CMYKcmyk(6.3%, 39.6%, 0%, 0%)
CIE-LABlab(75.25, 47.63, -37.43)
CIE-LCHlch(75.25, 60.58, 321.84°)
OKLaboklab(80.6% 0.1272 -0.1027)
OKLCHoklch(80.6% 0.164 321.1)
XYZxyz(65.2001, 48.6842, 100.5508)
Luminance0.4868 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF9AFF #AAFF9A
analogous
#BC9AFF #EF9AFF #FF9ADC
triadic
#EF9AFF #FFEF9A #9AFFEF
tetradic
#EF9AFF #FFBC9A #AAFF9A #9ADCFF
square
#EF9AFF #FFBC9A #AAFF9A #9ADCFF
split-complementary
#EF9AFF #DCFF9A #9AFFBC
monochromatic
#DC20FF #E55DFF #EF9AFF #F9D7FF #FAE0FF

Accessibility & contrast

On white

1.96
#EF9AFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.74
#EF9AFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF9AFF
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF9AFF#FFFFFF#000000##000000
##EF9AFF1.001.9610.7410.74
#FFFFFF1.961.0021.0021.00
#00000010.7421.001.001.00
##00000010.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DB3FF
Deuteranopia (green-blind)
#A3BDFC
Tritanopia (blue-blind)
#F1A6C1
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #ef9aff;
/* rgb */ color: rgb(239, 154, 255);
/* oklch */ color: oklch(80.6% 0.164 321.1);
Tailwind
colors: {
  custom: {
    50: '#f6b9ff',
    500: '#ef9aff',
    950: '#000000',
  },
}
SCSS
$custom: #ef9aff;
$custom-light: #f6b9ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ef9aff",
  "rgb": {
    "r": 239,
    "g": 154,
    "b": 255
  },
  "hsl": {
    "h": 290.495,
    "s": 100,
    "l": 80.196
  },
  "oklch": {
    "l": 0.80597,
    "c": 0.16353,
    "h": 321.1
  },
  "luminance": 0.48682
}

Semantic roles & 50–950 ramp

primary
#EF9AFF
secondary
#D9F7D4
accent
#E60024
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#171218
muted
#858186

Preview Lab

Preview with #EF9AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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