#EF7DEF#EF7DEF

#EF7DEF is a light, vivid purple. Relative luminance 0.393; OKLCH L 75.7% C 0.196 H 327.3°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#EF7DEF
RGBrgb(239, 125, 239)
HSLhsl(300, 78%, 71%)
HSVhsv(300, 48%, 94%)
CMYKcmyk(0%, 47.7%, 0%, 6.3%)
CIE-LABlab(68.93, 59.24, -38.54)
CIE-LCHlch(68.93, 70.67, 326.96°)
OKLaboklab(75.67% 0.1646 -0.1057)
OKLCHoklch(75.67% 0.196 327.3)
XYZxyz(58.5092, 39.2531, 86.1394)
Luminance0.3925 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF7DEF #7DEF7D
analogous
#B67DEF #EF7DEF #EF7DB6
triadic
#EF7DEF #EFEF7D #7DEFEF
tetradic
#EF7DEF #EFB67D #7DEF7D #7DB6EF
square
#EF7DEF #EFB67D #7DEF7D #7DB6EF
split-complementary
#EF7DEF #B6EF7D #7DEFB6
monochromatic
#D71AD7 #E847E8 #EF7DEF #F6B3F6 #FCE4FC

Accessibility & contrast

On white

2.37
#EF7DEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.85
#EF7DEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF7DEF
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF7DEF#FFFFFF#000000##000000
##EF7DEF1.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#739FF3
Deuteranopia (green-blind)
#94AEEC
Tritanopia (blue-blind)
#F589AB
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #ef7def;
/* rgb */ color: rgb(239, 125, 239);
/* oklch */ color: oklch(75.7% 0.196 327.3);
Tailwind
colors: {
  custom: {
    50: '#f6a6f4',
    500: '#ef7def',
    950: '#000000',
  },
}
SCSS
$custom: #ef7def;
$custom-light: #f6a6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ef7def",
  "rgb": {
    "r": 239,
    "g": 125,
    "b": 239
  },
  "hsl": {
    "h": 300,
    "s": 78.082,
    "l": 71.373
  },
  "oklch": {
    "l": 0.75665,
    "c": 0.19557,
    "h": 327.3
  },
  "luminance": 0.3925
}

Semantic roles & 50–950 ramp

primary
#EF7DEF
secondary
#D5F3D5
accent
#DA0B0B
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171017
muted
#857F85

Preview Lab

Preview with #EF7DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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