#EF74E2#EF74E2

#EF74E2 is a light, vivid purple. Relative luminance 0.363; OKLCH L 73.9% C 0.199 H 331.5°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#EF74E2
RGBrgb(239, 116, 226)
HSLhsl(306, 79%, 70%)
HSVhsv(306, 51%, 94%)
CMYKcmyk(0%, 51.5%, 5.4%, 6.3%)
CIE-LABlab(66.78, 61.30, -34.71)
CIE-LCHlch(66.78, 70.44, 330.48°)
OKLaboklab(73.89% 0.1745 -0.0947)
OKLCHoklch(73.89% 0.199 331.5)
XYZxyz(55.5692, 36.3360, 76.0234)
Luminance0.3633 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF74E2 #74EF81
analogous
#BE74EF #EF74E2 #EF74A5
triadic
#EF74E2 #E2EF74 #74E2EF
tetradic
#EF74E2 #EFBE74 #74EF81 #74A5EF
square
#EF74E2 #EFBE74 #74EF81 #74A5EF
split-complementary
#EF74E2 #A5EF74 #74EFBE
monochromatic
#D118BD #E93DD7 #EF74E2 #F5ABED #FCE2F9

Accessibility & contrast

On white

2.54
#EF74E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#EF74E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF74E2
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF74E2#FFFFFF#000000##000000
##EF74E21.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F97E6
Deuteranopia (green-blind)
#94A9DE
Tritanopia (blue-blind)
#F77EA1
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ef74e2;
/* rgb */ color: rgb(239, 116, 226);
/* oklch */ color: oklch(73.9% 0.199 331.5);
Tailwind
colors: {
  custom: {
    50: '#f7a1eb',
    500: '#ef74e2',
    950: '#000000',
  },
}
SCSS
$custom: #ef74e2;
$custom-light: #f7a1eb;
$custom-dark: #000000;
JSON
{
  "hex": "#ef74e2",
  "rgb": {
    "r": 239,
    "g": 116,
    "b": 226
  },
  "hsl": {
    "h": 306.341,
    "s": 79.355,
    "l": 69.608
  },
  "oklch": {
    "l": 0.73889,
    "c": 0.19855,
    "h": 331.5
  },
  "luminance": 0.36332
}

Semantic roles & 50–950 ramp

primary
#EF74E2
secondary
#CEF1D2
accent
#DC200A
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#170F16
muted
#857F84

Preview Lab

Preview with #EF74E2

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

Preview Lab → · Contrast checker → · Palette generator →

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