#EF7AFF#EF7AFF

#EF7AFF is a light, highly saturated purple. Relative luminance 0.395; OKLCH L 76.0% C 0.215 H 322.7°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#EF7AFF
RGBrgb(239, 122, 255)
HSLhsl(293, 100%, 74%)
HSVhsv(293, 52%, 100%)
CMYKcmyk(6.3%, 52.2%, 0%, 0%)
CIE-LABlab(69.11, 63.51, -47.03)
CIE-LCHlch(69.11, 79.03, 323.48°)
OKLaboklab(76.02% 0.1707 -0.1301)
OKLCHoklch(76.02% 0.215 322.7)
XYZxyz(60.6043, 39.4927, 99.0189)
Luminance0.3949 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF7AFF #8AFF7A
analogous
#AD7AFF #EF7AFF #FF7ACD
triadic
#EF7AFF #FFEF7A #7AFFEF
tetradic
#EF7AFF #FFAD7A #8AFF7A #7ACDFF
square
#EF7AFF #FFAD7A #8AFF7A #7ACDFF
split-complementary
#EF7AFF #CDFF7A #7AFFAD
monochromatic
#E000FF #E83DFF #EF7AFF #F6B7FF #FBE0FF

Accessibility & contrast

On white

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

On black

8.90
#EF7AFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF7AFF
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF7AFF#FFFFFF#000000##000000
##EF7AFF1.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#65A0FF
Deuteranopia (green-blind)
#8BADFB
Tritanopia (blue-blind)
#F28CB2
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #ef7aff;
/* rgb */ color: rgb(239, 122, 255);
/* oklch */ color: oklch(76.0% 0.215 322.7);
Tailwind
colors: {
  custom: {
    50: '#f7a5ff',
    500: '#ef7aff',
    950: '#000000',
  },
}
SCSS
$custom: #ef7aff;
$custom-light: #f7a5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ef7aff",
  "rgb": {
    "r": 239,
    "g": 122,
    "b": 255
  },
  "hsl": {
    "h": 292.782,
    "s": 100,
    "l": 73.922
  },
  "oklch": {
    "l": 0.76024,
    "c": 0.2146,
    "h": 322.7
  },
  "luminance": 0.3949
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EF7AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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