#EC7DF8#EC7DF8

#EC7DF8 is a light, highly saturated purple. Relative luminance 0.393; OKLCH L 75.7% C 0.202 H 323.6°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#EC7DF8
RGBrgb(236, 125, 248)
HSLhsl(294, 90%, 73%)
HSVhsv(294, 50%, 97%)
CMYKcmyk(4.8%, 49.6%, 0%, 2.7%)
CIE-LABlab(68.95, 60.02, -43.47)
CIE-LCHlch(68.95, 74.11, 324.09°)
OKLaboklab(75.73% 0.1626 -0.1199)
OKLCHoklch(75.73% 0.202 323.6)
XYZxyz(58.8673, 39.2802, 93.2698)
Luminance0.3928 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7DF8 #89F87D
analogous
#AE7DF8 #EC7DF8 #F87DC7
triadic
#EC7DF8 #F8EC7D #7DF8EC
tetradic
#EC7DF8 #F8AE7D #89F87D #7DC7F8
square
#EC7DF8 #F8AE7D #89F87D #7DC7F8
split-complementary
#EC7DF8 #C7F87D #7DF8AE
monochromatic
#D80DEE #E443F5 #EC7DF8 #F4B7FB #FBE2FD

Accessibility & contrast

On white

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

On black

8.86
#EC7DF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7DF8
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7DF8#FFFFFF#000000##000000
##EC7DF81.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6CA0FC
Deuteranopia (green-blind)
#8EADF4
Tritanopia (blue-blind)
#F08CAF
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #ec7df8;
/* rgb */ color: rgb(236, 125, 248);
/* oklch */ color: oklch(75.7% 0.202 323.6);
Tailwind
colors: {
  custom: {
    50: '#f4a6fb',
    500: '#ec7df8',
    950: '#000000',
  },
}
SCSS
$custom: #ec7df8;
$custom-light: #f4a6fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7df8",
  "rgb": {
    "r": 236,
    "g": 125,
    "b": 248
  },
  "hsl": {
    "h": 294.146,
    "s": 89.781,
    "l": 73.137
  },
  "oklch": {
    "l": 0.75729,
    "c": 0.20199,
    "h": 323.6
  },
  "luminance": 0.39277
}

Semantic roles & 50–950 ramp

primary
#EC7DF8
secondary
#D9F6D5
accent
#E60016
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #EC7DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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