#EF7DF8#EF7DF8

#EF7DF8 is a light, highly saturated purple. Relative luminance 0.398; OKLCH L 76.1% C 0.204 H 324.6°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#EF7DF8
RGBrgb(239, 125, 248)
HSLhsl(296, 90%, 73%)
HSVhsv(296, 50%, 97%)
CMYKcmyk(3.6%, 49.6%, 0%, 2.7%)
CIE-LABlab(69.33, 60.83, -42.86)
CIE-LCHlch(69.33, 74.41, 324.83°)
OKLaboklab(76.08% 0.1659 -0.1181)
OKLCHoklch(76.08% 0.204 324.6)
XYZxyz(59.8720, 39.7982, 93.3169)
Luminance0.3980 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF7DF8 #86F87D
analogous
#B17DF8 #EF7DF8 #F87DC3
triadic
#EF7DF8 #F8EF7D #7DF8EF
tetradic
#EF7DF8 #F8B17D #86F87D #7DC3F8
square
#EF7DF8 #F8B17D #86F87D #7DC3F8
split-complementary
#EF7DF8 #C3F87D #7DF8B1
monochromatic
#DD0DEE #E843F5 #EF7DF8 #F6B7FB #FBE2FD

Accessibility & contrast

On white

2.34
#EF7DF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#EF7DF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF7DF8
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF7DF8#FFFFFF#000000##000000
##EF7DF81.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA0FC
Deuteranopia (green-blind)
#90AEF4
Tritanopia (blue-blind)
#F38CAF
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #ef7df8;
/* rgb */ color: rgb(239, 125, 248);
/* oklch */ color: oklch(76.1% 0.204 324.6);
Tailwind
colors: {
  custom: {
    50: '#f7a7fb',
    500: '#ef7df8',
    950: '#000000',
  },
}
SCSS
$custom: #ef7df8;
$custom-light: #f7a7fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ef7df8",
  "rgb": {
    "r": 239,
    "g": 125,
    "b": 248
  },
  "hsl": {
    "h": 295.61,
    "s": 89.781,
    "l": 73.137
  },
  "oklch": {
    "l": 0.76082,
    "c": 0.20363,
    "h": 324.6
  },
  "luminance": 0.39795
}

Semantic roles & 50–950 ramp

primary
#EF7DF8
secondary
#D8F6D5
accent
#E60011
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #EF7DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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