#EF78E2#EF78E2

#EF78E2 is a light, vivid purple. Relative luminance 0.373; OKLCH L 74.4% C 0.192 H 331.6°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#EF78E2
RGBrgb(239, 120, 226)
HSLhsl(307, 79%, 70%)
HSVhsv(307, 50%, 94%)
CMYKcmyk(0%, 49.8%, 5.4%, 6.3%)
CIE-LABlab(67.49, 59.42, -33.61)
CIE-LCHlch(67.49, 68.27, 330.50°)
OKLaboklab(74.41% 0.1691 -0.0916)
OKLCHoklch(74.41% 0.192 331.6)
XYZxyz(56.0402, 37.2781, 76.1804)
Luminance0.3728 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF78E2 #78EF85
analogous
#C178EF #EF78E2 #EF78A6
triadic
#EF78E2 #E2EF78 #78E2EF
tetradic
#EF78E2 #EFC178 #78EF85 #78A6EF
square
#EF78E2 #EFC178 #78EF85 #78A6EF
split-complementary
#EF78E2 #A6EF78 #78EFC1
monochromatic
#D419BF #E941D6 #EF78E2 #F5AFEE #FCE4F9

Accessibility & contrast

On white

2.48
#EF78E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.46
#EF78E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF78E2
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF78E2#FFFFFF#000000##000000
##EF78E21.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#749AE6
Deuteranopia (green-blind)
#96AADF
Tritanopia (blue-blind)
#F781A3
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ef78e2;
/* rgb */ color: rgb(239, 120, 226);
/* oklch */ color: oklch(74.4% 0.192 331.6);
Tailwind
colors: {
  custom: {
    50: '#f7a3eb',
    500: '#ef78e2',
    950: '#000000',
  },
}
SCSS
$custom: #ef78e2;
$custom-light: #f7a3eb;
$custom-dark: #000000;
JSON
{
  "hex": "#ef78e2",
  "rgb": {
    "r": 239,
    "g": 120,
    "b": 226
  },
  "hsl": {
    "h": 306.555,
    "s": 78.808,
    "l": 70.392
  },
  "oklch": {
    "l": 0.74414,
    "c": 0.19233,
    "h": 331.6
  },
  "luminance": 0.37275
}

Semantic roles & 50–950 ramp

primary
#EF78E2
secondary
#D1F2D5
accent
#DB210A
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#170F16
muted
#857F84

Preview Lab

Preview with #EF78E2

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

Preview Lab → · Contrast checker → · Palette generator →

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