#EF74E1#EF74E1

#EF74E1 is a light, vivid purple. Relative luminance 0.363; OKLCH L 73.8% C 0.198 H 331.9°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#EF74E1
RGBrgb(239, 116, 225)
HSLhsl(307, 79%, 70%)
HSVhsv(307, 51%, 94%)
CMYKcmyk(0%, 51.5%, 5.9%, 6.3%)
CIE-LABlab(66.73, 61.13, -34.22)
CIE-LCHlch(66.73, 70.06, 330.76°)
OKLaboklab(73.85% 0.1744 -0.0933)
OKLCHoklch(73.85% 0.198 331.9)
XYZxyz(55.4323, 36.2813, 75.3029)
Luminance0.3628 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF74E1 #74EF82
analogous
#BF74EF #EF74E1 #EF74A4
triadic
#EF74E1 #E1EF74 #74E1EF
tetradic
#EF74E1 #EFBF74 #74EF82 #74A4EF
square
#EF74E1 #EFBF74 #74EF82 #74A4EF
split-complementary
#EF74E1 #A4EF74 #74EFBF
monochromatic
#D118BC #E93DD5 #EF74E1 #F5ABED #FCE2F9

Accessibility & contrast

On white

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

On black

8.26
#EF74E1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF74E1
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF74E1#FFFFFF#000000##000000
##EF74E11.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7097E5
Deuteranopia (green-blind)
#94A9DE
Tritanopia (blue-blind)
#F87DA0
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ef74e1;
/* rgb */ color: rgb(239, 116, 225);
/* oklch */ color: oklch(73.8% 0.198 331.9);
Tailwind
colors: {
  custom: {
    50: '#f7a1ea',
    500: '#ef74e1',
    950: '#000000',
  },
}
SCSS
$custom: #ef74e1;
$custom-light: #f7a1ea;
$custom-dark: #000000;
JSON
{
  "hex": "#ef74e1",
  "rgb": {
    "r": 239,
    "g": 116,
    "b": 225
  },
  "hsl": {
    "h": 306.829,
    "s": 79.355,
    "l": 69.608
  },
  "oklch": {
    "l": 0.73845,
    "c": 0.19773,
    "h": 331.9
  },
  "luminance": 0.36278
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EF74E1

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

Preview Lab → · Contrast checker → · Palette generator →

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