#EF7AFD#EF7AFD

#EF7AFD is a light, highly saturated purple. Relative luminance 0.394; OKLCH L 75.9% C 0.213 H 323.2°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#EF7AFD
RGBrgb(239, 122, 253)
HSLhsl(294, 97%, 74%)
HSVhsv(294, 52%, 99%)
CMYKcmyk(5.5%, 51.8%, 0%, 0.8%)
CIE-LABlab(69.01, 63.15, -46.09)
CIE-LCHlch(69.01, 78.18, 323.88°)
OKLaboklab(75.93% 0.1705 -0.1274)
OKLCHoklch(75.93% 0.213 323.2)
XYZxyz(60.2840, 39.3645, 97.3322)
Luminance0.3936 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF7AFD #88FD7A
analogous
#AD7AFD #EF7AFD #FD7AC9
triadic
#EF7AFD #FDEF7A #7AFDEF
tetradic
#EF7AFD #FDAD7A #88FD7A #7AC9FD
square
#EF7AFD #FDAD7A #88FD7A #7AC9FD
split-complementary
#EF7AFD #C9FD7A #7AFDAD
monochromatic
#DF04F9 #E83EFC #EF7AFD #F6B6FE #FBE1FF

Accessibility & contrast

On white

2.37
#EF7AFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.87
#EF7AFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF7AFD
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF7AFD#FFFFFF#000000##000000
##EF7AFD1.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#67A0FF
Deuteranopia (green-blind)
#8CADF9
Tritanopia (blue-blind)
#F38BB1
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #ef7afd;
/* rgb */ color: rgb(239, 122, 253);
/* oklch */ color: oklch(75.9% 0.213 323.2);
Tailwind
colors: {
  custom: {
    50: '#f7a5fe',
    500: '#ef7afd',
    950: '#000000',
  },
}
SCSS
$custom: #ef7afd;
$custom-light: #f7a5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ef7afd",
  "rgb": {
    "r": 239,
    "g": 122,
    "b": 253
  },
  "hsl": {
    "h": 293.588,
    "s": 97.037,
    "l": 73.529
  },
  "oklch": {
    "l": 0.75927,
    "c": 0.21278,
    "h": 323.2
  },
  "luminance": 0.39362
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EF7AFD

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

Preview Lab → · Contrast checker → · Palette generator →

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