#EC7DFE#EC7DFE

#EC7DFE is a light, highly saturated purple. Relative luminance 0.397; OKLCH L 76.0% C 0.208 H 321.9°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#EC7DFE
RGBrgb(236, 125, 254)
HSLhsl(292, 98%, 74%)
HSVhsv(292, 51%, 100%)
CMYKcmyk(7.1%, 50.8%, 0%, 0.4%)
CIE-LABlab(69.23, 61.12, -46.33)
CIE-LCHlch(69.23, 76.69, 322.84°)
OKLaboklab(76.02% 0.1633 -0.1281)
OKLCHoklch(76.02% 0.208 321.9)
XYZxyz(59.8131, 39.6585, 98.2509)
Luminance0.3966 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7DFE #8FFE7D
analogous
#AC7DFE #EC7DFE #FE7DD0
triadic
#EC7DFE #FEEC7D #7DFEEC
tetradic
#EC7DFE #FEAC7D #8FFE7D #7DD0FE
square
#EC7DFE #FEAC7D #8FFE7D #7DD0FE
split-complementary
#EC7DFE #D0FE7D #7DFEAC
monochromatic
#DA04FD #E340FE #EC7DFE #F5BAFE #FBE1FF

Accessibility & contrast

On white

2.35
#EC7DFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.93
#EC7DFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7DFE
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7DFE#FFFFFF#000000##000000
##EC7DFE1.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#69A1FF
Deuteranopia (green-blind)
#8BADFA
Tritanopia (blue-blind)
#EF8EB2
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #ec7dfe;
/* rgb */ color: rgb(236, 125, 254);
/* oklch */ color: oklch(76.0% 0.208 321.9);
Tailwind
colors: {
  custom: {
    50: '#f5a6ff',
    500: '#ec7dfe',
    950: '#000000',
  },
}
SCSS
$custom: #ec7dfe;
$custom-light: #f5a6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7dfe",
  "rgb": {
    "r": 236,
    "g": 125,
    "b": 254
  },
  "hsl": {
    "h": 291.628,
    "s": 98.473,
    "l": 74.314
  },
  "oklch": {
    "l": 0.76019,
    "c": 0.20757,
    "h": 321.9
  },
  "luminance": 0.39656
}

Semantic roles & 50–950 ramp

primary
#EC7DFE
secondary
#D9F7D4
accent
#E60020
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171018
muted
#857F86

Preview Lab

Preview with #EC7DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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