#EF7DF2#EF7DF2

#EF7DF2 is a light, vivid purple. Relative luminance 0.394; OKLCH L 75.8% C 0.198 H 326.4°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#EF7DF2
RGBrgb(239, 125, 242)
HSLhsl(298, 82%, 72%)
HSVhsv(298, 48%, 95%)
CMYKcmyk(1.2%, 48.3%, 0%, 5.1%)
CIE-LABlab(69.06, 59.77, -39.98)
CIE-LCHlch(69.06, 71.91, 326.22°)
OKLaboklab(75.8% 0.165 -0.1098)
OKLCHoklch(75.8% 0.198 326.4)
XYZxyz(58.9561, 39.4319, 88.4929)
Luminance0.3943 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF7DF2 #80F27D
analogous
#B57DF2 #EF7DF2 #F27DBA
triadic
#EF7DF2 #F2EF7D #7DF2EF
tetradic
#EF7DF2 #F2B57D #80F27D #7DBAF2
square
#EF7DF2 #F2B57D #80F27D #7DBAF2
split-complementary
#EF7DF2 #BAF27D #7DF2B5
monochromatic
#D916DE #E845EC #EF7DF2 #F6B5F8 #FCE3FC

Accessibility & contrast

On white

2.36
#EF7DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.89
#EF7DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF7DF2
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF7DF2#FFFFFF#000000##000000
##EF7DF21.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#719FF6
Deuteranopia (green-blind)
#93AEEE
Tritanopia (blue-blind)
#F58AAD
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #ef7df2;
/* rgb */ color: rgb(239, 125, 242);
/* oklch */ color: oklch(75.8% 0.198 326.4);
Tailwind
colors: {
  custom: {
    50: '#f6a6f6',
    500: '#ef7df2',
    950: '#000000',
  },
}
SCSS
$custom: #ef7df2;
$custom-light: #f6a6f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ef7df2",
  "rgb": {
    "r": 239,
    "g": 125,
    "b": 242
  },
  "hsl": {
    "h": 298.462,
    "s": 81.818,
    "l": 71.961
  },
  "oklch": {
    "l": 0.75802,
    "c": 0.19823,
    "h": 326.4
  },
  "luminance": 0.39429
}

Semantic roles & 50–950 ramp

primary
#EF7DF2
secondary
#D7F4D7
accent
#DE070D
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#171017
muted
#857F85

Preview Lab

Preview with #EF7DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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