#EF7DFC#EF7DFC

#EF7DFC is a light, highly saturated purple. Relative luminance 0.400; OKLCH L 76.3% C 0.207 H 323.4°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#EF7DFC
RGBrgb(239, 125, 252)
HSLhsl(294, 95%, 74%)
HSVhsv(294, 50%, 99%)
CMYKcmyk(5.2%, 50.4%, 0%, 1.2%)
CIE-LABlab(69.50, 61.55, -44.77)
CIE-LCHlch(69.50, 76.11, 323.97°)
OKLaboklab(76.27% 0.1664 -0.1236)
OKLCHoklch(76.27% 0.207 323.4)
XYZxyz(60.4992, 40.0491, 96.6201)
Luminance0.4005 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF7DFC #8AFC7D
analogous
#B07DFC #EF7DFC #FC7DCA
triadic
#EF7DFC #FCEF7D #7DFCEF
tetradic
#EF7DFC #FCB07D #8AFC7D #7DCAFC
square
#EF7DFC #FCB07D #8AFC7D #7DCAFC
split-complementary
#EF7DFC #CAFC7D #7DFCB0
monochromatic
#E006F9 #E841FB #EF7DFC #F6B9FD #FBE1FE

Accessibility & contrast

On white

2.33
#EF7DFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.01
#EF7DFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF7DFC
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF7DFC#FFFFFF#000000##000000
##EF7DFC1.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6BA1FF
Deuteranopia (green-blind)
#8EAEF8
Tritanopia (blue-blind)
#F38DB1
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #ef7dfc;
/* rgb */ color: rgb(239, 125, 252);
/* oklch */ color: oklch(76.3% 0.207 323.4);
Tailwind
colors: {
  custom: {
    50: '#f7a7fe',
    500: '#ef7dfc',
    950: '#000000',
  },
}
SCSS
$custom: #ef7dfc;
$custom-light: #f7a7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ef7dfc",
  "rgb": {
    "r": 239,
    "g": 125,
    "b": 252
  },
  "hsl": {
    "h": 293.858,
    "s": 95.489,
    "l": 73.922
  },
  "oklch": {
    "l": 0.76273,
    "c": 0.20729,
    "h": 323.4
  },
  "luminance": 0.40046
}

Semantic roles & 50–950 ramp

primary
#EF7DFC
secondary
#D8F7D4
accent
#E60017
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171018
muted
#857F86

Preview Lab

Preview with #EF7DFC

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

Preview Lab → · Contrast checker → · Palette generator →

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