#EF78DC#EF78DC

#EF78DC is a light, vivid purple. Relative luminance 0.370; OKLCH L 74.2% C 0.187 H 333.7°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#EF78DC
RGBrgb(239, 120, 220)
HSLhsl(310, 79%, 70%)
HSVhsv(310, 50%, 94%)
CMYKcmyk(0%, 49.8%, 7.9%, 6.3%)
CIE-LABlab(67.24, 58.43, -30.66)
CIE-LCHlch(67.24, 65.99, 332.32°)
OKLaboklab(74.16% 0.168 -0.0832)
OKLCHoklch(74.16% 0.187 333.7)
XYZxyz(55.2313, 36.9546, 71.9201)
Luminance0.3695 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF78DC #78EF8B
analogous
#C778EF #EF78DC #EF78A0
triadic
#EF78DC #DCEF78 #78DCEF
tetradic
#EF78DC #EFC778 #78EF8B #78A0EF
square
#EF78DC #EFC778 #78EF8B #78A0EF
split-complementary
#EF78DC #A0EF78 #78EFC7
monochromatic
#D419B6 #E941CE #EF78DC #F5AFEA #FCE4F8

Accessibility & contrast

On white

2.50
#EF78DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.39
#EF78DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF78DC
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF78DC#FFFFFF#000000##000000
##EF78DC1.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7699DF
Deuteranopia (green-blind)
#98AAD9
Tritanopia (blue-blind)
#F87FA0
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ef78dc;
/* rgb */ color: rgb(239, 120, 220);
/* oklch */ color: oklch(74.2% 0.187 333.7);
Tailwind
colors: {
  custom: {
    50: '#f7a3e7',
    500: '#ef78dc',
    950: '#000000',
  },
}
SCSS
$custom: #ef78dc;
$custom-light: #f7a3e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ef78dc",
  "rgb": {
    "r": 239,
    "g": 120,
    "b": 220
  },
  "hsl": {
    "h": 309.58,
    "s": 78.808,
    "l": 70.392
  },
  "oklch": {
    "l": 0.74155,
    "c": 0.18746,
    "h": 333.7
  },
  "luminance": 0.36951
}

Semantic roles & 50–950 ramp

primary
#EF78DC
secondary
#D1F2D6
accent
#DB2C0A
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#170F16
muted
#857F84

Preview Lab

Preview with #EF78DC

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

Preview Lab → · Contrast checker → · Palette generator →

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