#EF7AFE#EF7AFE

#EF7AFE is a light, highly saturated purple. Relative luminance 0.394; OKLCH L 76.0% C 0.214 H 323.0°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#EF7AFE
RGBrgb(239, 122, 254)
HSLhsl(293, 99%, 74%)
HSVhsv(293, 52%, 100%)
CMYKcmyk(5.9%, 52%, 0%, 0.4%)
CIE-LABlab(69.06, 63.33, -46.56)
CIE-LCHlch(69.06, 78.61, 323.68°)
OKLaboklab(75.98% 0.1706 -0.1287)
OKLCHoklch(75.98% 0.214 323)
XYZxyz(60.4437, 39.4284, 98.1733)
Luminance0.3943 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF7AFE #89FE7A
analogous
#AD7AFE #EF7AFE #FE7ACB
triadic
#EF7AFE #FEEF7A #7AFEEF
tetradic
#EF7AFE #FEAD7A #89FE7A #7ACBFE
square
#EF7AFE #FEAD7A #89FE7A #7ACBFE
split-complementary
#EF7AFE #CBFE7A #7AFEAD
monochromatic
#DF02FC #E83DFE #EF7AFE #F6B7FE #FBE1FF

Accessibility & contrast

On white

2.36
#EF7AFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.89
#EF7AFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF7AFE
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF7AFE#FFFFFF#000000##000000
##EF7AFE1.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#66A0FF
Deuteranopia (green-blind)
#8BADFA
Tritanopia (blue-blind)
#F28BB1
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #ef7afe;
/* rgb */ color: rgb(239, 122, 254);
/* oklch */ color: oklch(76.0% 0.214 323.0);
Tailwind
colors: {
  custom: {
    50: '#f7a5ff',
    500: '#ef7afe',
    950: '#000000',
  },
}
SCSS
$custom: #ef7afe;
$custom-light: #f7a5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ef7afe",
  "rgb": {
    "r": 239,
    "g": 122,
    "b": 254
  },
  "hsl": {
    "h": 293.182,
    "s": 98.507,
    "l": 73.725
  },
  "oklch": {
    "l": 0.75975,
    "c": 0.21369,
    "h": 323
  },
  "luminance": 0.39426
}

Semantic roles & 50–950 ramp

primary
#EF7AFE
secondary
#D8F7D4
accent
#E6001A
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171018
muted
#857F86

Preview Lab

Preview with #EF7AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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