#EF7AFA#EF7AFA

#EF7AFA is a light, highly saturated purple. Relative luminance 0.392; OKLCH L 75.8% C 0.210 H 324.1°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#EF7AFA
RGBrgb(239, 122, 250)
HSLhsl(295, 93%, 73%)
HSVhsv(295, 51%, 98%)
CMYKcmyk(4.4%, 51.2%, 0%, 2%)
CIE-LABlab(68.88, 62.61, -44.66)
CIE-LCHlch(68.88, 76.91, 324.50°)
OKLaboklab(75.78% 0.1701 -0.1232)
OKLCHoklch(75.78% 0.21 324.1)
XYZxyz(59.8099, 39.1749, 94.8350)
Luminance0.3917 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF7AFA #85FA7A
analogous
#AF7AFA #EF7AFA #FA7AC5
triadic
#EF7AFA #FAEF7A #7AFAEF
tetradic
#EF7AFA #FAAF7A #85FA7A #7AC5FA
square
#EF7AFA #FAAF7A #85FA7A #7AC5FA
split-complementary
#EF7AFA #C5FA7A #7AFAAF
monochromatic
#DD09F1 #E83FF8 #EF7AFA #F6B5FC #FBE2FE

Accessibility & contrast

On white

2.38
#EF7AFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.83
#EF7AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF7AFA
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF7AFA#FFFFFF#000000##000000
##EF7AFA1.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#699FFE
Deuteranopia (green-blind)
#8DADF6
Tritanopia (blue-blind)
#F38AAF
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #ef7afa;
/* rgb */ color: rgb(239, 122, 250);
/* oklch */ color: oklch(75.8% 0.210 324.1);
Tailwind
colors: {
  custom: {
    50: '#f7a5fc',
    500: '#ef7afa',
    950: '#000000',
  },
}
SCSS
$custom: #ef7afa;
$custom-light: #f7a5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ef7afa",
  "rgb": {
    "r": 239,
    "g": 122,
    "b": 250
  },
  "hsl": {
    "h": 294.844,
    "s": 92.754,
    "l": 72.941
  },
  "oklch": {
    "l": 0.75781,
    "c": 0.21005,
    "h": 324.1
  },
  "luminance": 0.39172
}

Semantic roles & 50–950 ramp

primary
#EF7AFA
secondary
#D8F6D5
accent
#E60014
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #EF7AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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