#EF74DC#EF74DC

#EF74DC is a light, vivid purple. Relative luminance 0.360; OKLCH L 73.6% C 0.194 H 333.6°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#EF74DC
RGBrgb(239, 116, 220)
HSLhsl(309, 79%, 70%)
HSVhsv(309, 51%, 94%)
CMYKcmyk(0%, 51.5%, 7.9%, 6.3%)
CIE-LABlab(66.53, 60.32, -31.76)
CIE-LCHlch(66.53, 68.17, 332.23°)
OKLaboklab(73.63% 0.1735 -0.0863)
OKLCHoklch(73.63% 0.194 333.6)
XYZxyz(54.7602, 36.0125, 71.7631)
Luminance0.3601 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF74DC #74EF87
analogous
#C474EF #EF74DC #EF749F
triadic
#EF74DC #DCEF74 #74DCEF
tetradic
#EF74DC #EFC474 #74EF87 #749FEF
square
#EF74DC #EFC474 #74EF87 #749FEF
split-complementary
#EF74DC #9FEF74 #74EFC4
monochromatic
#D118B4 #E93DCE #EF74DC #F5ABEA #FCE2F8

Accessibility & contrast

On white

2.56
#EF74DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.20
#EF74DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF74DC
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF74DC#FFFFFF#000000##000000
##EF74DC1.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7296DF
Deuteranopia (green-blind)
#96A8D9
Tritanopia (blue-blind)
#F87C9E
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ef74dc;
/* rgb */ color: rgb(239, 116, 220);
/* oklch */ color: oklch(73.6% 0.194 333.6);
Tailwind
colors: {
  custom: {
    50: '#f7a1e7',
    500: '#ef74dc',
    950: '#000000',
  },
}
SCSS
$custom: #ef74dc;
$custom-light: #f7a1e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ef74dc",
  "rgb": {
    "r": 239,
    "g": 116,
    "b": 220
  },
  "hsl": {
    "h": 309.268,
    "s": 79.355,
    "l": 69.608
  },
  "oklch": {
    "l": 0.73626,
    "c": 0.19374,
    "h": 333.6
  },
  "luminance": 0.36009
}

Semantic roles & 50–950 ramp

primary
#EF74DC
secondary
#CEF1D3
accent
#DC2A0A
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#170F16
muted
#857F84

Preview Lab

Preview with #EF74DC

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

Preview Lab → · Contrast checker → · Palette generator →

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