#EF7AE2#EF7AE2

#EF7AE2 is a light, vivid purple. Relative luminance 0.378; OKLCH L 74.7% C 0.189 H 331.6°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#EF7AE2
RGBrgb(239, 122, 226)
HSLhsl(307, 79%, 71%)
HSVhsv(307, 49%, 94%)
CMYKcmyk(0%, 49%, 5.4%, 6.3%)
CIE-LABlab(67.85, 58.47, -33.05)
CIE-LCHlch(67.85, 67.16, 330.52°)
OKLaboklab(74.68% 0.1664 -0.09)
OKLCHoklch(74.68% 0.189 331.6)
XYZxyz(56.2833, 37.7642, 76.2615)
Luminance0.3776 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF7AE2 #7AEF87
analogous
#C17AEF #EF7AE2 #EF7AA7
triadic
#EF7AE2 #E2EF7A #7AE2EF
tetradic
#EF7AE2 #EFC17A #7AEF87 #7AA7EF
square
#EF7AE2 #EFC17A #7AEF87 #7AA7EF
split-complementary
#EF7AE2 #A7EF7A #7AEFC1
monochromatic
#D51AC0 #E843D6 #EF7AE2 #F6B1EE #FCE4F9

Accessibility & contrast

On white

2.46
#EF7AE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.55
#EF7AE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF7AE2
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF7AE2#FFFFFF#000000##000000
##EF7AE21.002.468.558.55
#FFFFFF2.461.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#769BE5
Deuteranopia (green-blind)
#97ABDF
Tritanopia (blue-blind)
#F783A4
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #ef7ae2;
/* rgb */ color: rgb(239, 122, 226);
/* oklch */ color: oklch(74.7% 0.189 331.6);
Tailwind
colors: {
  custom: {
    50: '#f6a4eb',
    500: '#ef7ae2',
    950: '#000000',
  },
}
SCSS
$custom: #ef7ae2;
$custom-light: #f6a4eb;
$custom-dark: #000000;
JSON
{
  "hex": "#ef7ae2",
  "rgb": {
    "r": 239,
    "g": 122,
    "b": 226
  },
  "hsl": {
    "h": 306.667,
    "s": 78.523,
    "l": 70.784
  },
  "oklch": {
    "l": 0.74681,
    "c": 0.18918,
    "h": 331.6
  },
  "luminance": 0.37761
}

Semantic roles & 50–950 ramp

primary
#EF7AE2
secondary
#D3F2D6
accent
#DB220B
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #EF7AE2

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

Preview Lab → · Contrast checker → · Palette generator →

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