#EF7DEC#EF7DEC

#EF7DEC is a light, vivid purple. Relative luminance 0.391; OKLCH L 75.5% C 0.193 H 328.3°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#EF7DEC
RGBrgb(239, 125, 236)
HSLhsl(302, 78%, 71%)
HSVhsv(302, 48%, 94%)
CMYKcmyk(0%, 47.7%, 1.3%, 6.3%)
CIE-LABlab(68.81, 58.72, -37.08)
CIE-LCHlch(68.81, 69.45, 327.73°)
OKLaboklab(75.53% 0.1641 -0.1015)
OKLCHoklch(75.53% 0.193 328.3)
XYZxyz(58.0697, 39.0773, 83.8246)
Luminance0.3907 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF7DEC #7DEF80
analogous
#B97DEF #EF7DEC #EF7DB3
triadic
#EF7DEC #ECEF7D #7DECEF
tetradic
#EF7DEC #EFB97D #7DEF80 #7DB3EF
square
#EF7DEC #EFB97D #7DEF80 #7DB3EF
split-complementary
#EF7DEC #B3EF7D #7DEFB9
monochromatic
#D71AD2 #E847E4 #EF7DEC #F6B3F4 #FCE4FB

Accessibility & contrast

On white

2.38
#EF7DEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.81
#EF7DEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF7DEC
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF7DEC#FFFFFF#000000##000000
##EF7DEC1.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#749EF0
Deuteranopia (green-blind)
#95ADE9
Tritanopia (blue-blind)
#F688AA
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #ef7dec;
/* rgb */ color: rgb(239, 125, 236);
/* oklch */ color: oklch(75.5% 0.193 328.3);
Tailwind
colors: {
  custom: {
    50: '#f6a6f2',
    500: '#ef7dec',
    950: '#000000',
  },
}
SCSS
$custom: #ef7dec;
$custom-light: #f6a6f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ef7dec",
  "rgb": {
    "r": 239,
    "g": 125,
    "b": 236
  },
  "hsl": {
    "h": 301.579,
    "s": 78.082,
    "l": 71.373
  },
  "oklch": {
    "l": 0.75529,
    "c": 0.19294,
    "h": 328.3
  },
  "luminance": 0.39074
}

Semantic roles & 50–950 ramp

primary
#EF7DEC
secondary
#D5F3D6
accent
#DA110B
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171017
muted
#857F85

Preview Lab

Preview with #EF7DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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