#EF7AF7#EF7AF7

#EF7AF7 is a light, highly saturated purple. Relative luminance 0.390; OKLCH L 75.6% C 0.207 H 324.9°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#EF7AF7
RGBrgb(239, 122, 247)
HSLhsl(296, 89%, 72%)
HSVhsv(296, 51%, 97%)
CMYKcmyk(3.2%, 50.6%, 0%, 3.1%)
CIE-LABlab(68.74, 62.08, -43.23)
CIE-LCHlch(68.74, 75.64, 325.15°)
OKLaboklab(75.64% 0.1697 -0.1191)
OKLCHoklch(75.64% 0.207 324.9)
XYZxyz(59.3432, 38.9882, 92.3773)
Luminance0.3898 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF7AF7 #82F77A
analogous
#B17AF7 #EF7AF7 #F77AC1
triadic
#EF7AF7 #F7EF7A #7AF7EF
tetradic
#EF7AF7 #F7B17A #82F77A #7AC1F7
square
#EF7AF7 #F7B17A #82F77A #7AC1F7
split-complementary
#EF7AF7 #C1F77A #7AF7B1
monochromatic
#DB0EE9 #E840F4 #EF7AF7 #F6B4FA #FCE2FD

Accessibility & contrast

On white

2.39
#EF7AF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.80
#EF7AF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF7AF7
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF7AF7#FFFFFF#000000##000000
##EF7AF71.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9EFB
Deuteranopia (green-blind)
#8EADF3
Tritanopia (blue-blind)
#F489AE
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #ef7af7;
/* rgb */ color: rgb(239, 122, 247);
/* oklch */ color: oklch(75.6% 0.207 324.9);
Tailwind
colors: {
  custom: {
    50: '#f7a5fa',
    500: '#ef7af7',
    950: '#000000',
  },
}
SCSS
$custom: #ef7af7;
$custom-light: #f7a5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ef7af7",
  "rgb": {
    "r": 239,
    "g": 122,
    "b": 247
  },
  "hsl": {
    "h": 296.16,
    "s": 88.652,
    "l": 72.353
  },
  "oklch": {
    "l": 0.75638,
    "c": 0.20734,
    "h": 324.9
  },
  "luminance": 0.38985
}

Semantic roles & 50–950 ramp

primary
#EF7AF7
secondary
#D8F5D6
accent
#E5000F
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #EF7AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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