#EC7EFD#EC7EFD

#EC7EFD is a light, highly saturated purple. Relative luminance 0.398; OKLCH L 76.1% C 0.205 H 322.1°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#EC7EFD
RGBrgb(236, 126, 253)
HSLhsl(292, 97%, 74%)
HSVhsv(292, 50%, 99%)
CMYKcmyk(6.7%, 50.2%, 0%, 0.8%)
CIE-LABlab(69.36, 60.46, -45.57)
CIE-LCHlch(69.36, 75.70, 322.99°)
OKLaboklab(76.1% 0.1619 -0.1259)
OKLCHoklch(76.1% 0.205 322.1)
XYZxyz(59.7806, 39.8491, 97.4522)
Luminance0.3985 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7EFD #8FFD7E
analogous
#AD7EFD #EC7EFD #FD7ECE
triadic
#EC7EFD #FDEC7E #7EFDEC
tetradic
#EC7EFD #FDAD7E #8FFD7E #7ECEFD
square
#EC7EFD #FDAD7E #8FFD7E #7ECEFD
split-complementary
#EC7EFD #CEFD7E #7EFDAD
monochromatic
#DA05FB #E342FC #EC7EFD #F5BAFE #FBE1FF

Accessibility & contrast

On white

2.34
#EC7EFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.97
#EC7EFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7EFD
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7EFD#FFFFFF#000000##000000
##EC7EFD1.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6BA1FF
Deuteranopia (green-blind)
#8CAEF9
Tritanopia (blue-blind)
#EF8FB2
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #ec7efd;
/* rgb */ color: rgb(236, 126, 253);
/* oklch */ color: oklch(76.1% 0.205 322.1);
Tailwind
colors: {
  custom: {
    50: '#f4a7fe',
    500: '#ec7efd',
    950: '#000000',
  },
}
SCSS
$custom: #ec7efd;
$custom-light: #f4a7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7efd",
  "rgb": {
    "r": 236,
    "g": 126,
    "b": 253
  },
  "hsl": {
    "h": 291.969,
    "s": 96.947,
    "l": 74.314
  },
  "oklch": {
    "l": 0.76104,
    "c": 0.2051,
    "h": 322.1
  },
  "luminance": 0.39846
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC7EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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