#EC7EF9#EC7EF9

#EC7EF9 is a light, highly saturated purple. Relative luminance 0.396; OKLCH L 75.9% C 0.201 H 323.3°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#EC7EF9
RGBrgb(236, 126, 249)
HSLhsl(294, 91%, 74%)
HSVhsv(294, 49%, 98%)
CMYKcmyk(5.2%, 49.4%, 0%, 2.4%)
CIE-LABlab(69.18, 59.72, -43.66)
CIE-LCHlch(69.18, 73.98, 323.83°)
OKLaboklab(75.91% 0.1614 -0.1205)
OKLCHoklch(75.91% 0.201 323.3)
XYZxyz(59.1501, 39.5969, 94.1314)
Luminance0.3959 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7EF9 #8BF97E
analogous
#AE7EF9 #EC7EF9 #F97EC8
triadic
#EC7EF9 #F9EC7E #7EF9EC
tetradic
#EC7EF9 #F9AE7E #8BF97E #7EC8F9
square
#EC7EF9 #F9AE7E #8BF97E #7EC8F9
split-complementary
#EC7EF9 #C8F97E #7EF9AE
monochromatic
#D90BF1 #E344F6 #EC7EF9 #F5B8FC #FBE2FE

Accessibility & contrast

On white

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

On black

8.92
#EC7EF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7EF9
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7EF9#FFFFFF#000000##000000
##EC7EF91.002.358.928.92
#FFFFFF2.351.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6DA1FD
Deuteranopia (green-blind)
#8EADF5
Tritanopia (blue-blind)
#F08DB0
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #ec7ef9;
/* rgb */ color: rgb(236, 126, 249);
/* oklch */ color: oklch(75.9% 0.201 323.3);
Tailwind
colors: {
  custom: {
    50: '#f4a7fb',
    500: '#ec7ef9',
    950: '#000000',
  },
}
SCSS
$custom: #ec7ef9;
$custom-light: #f4a7fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7ef9",
  "rgb": {
    "r": 236,
    "g": 126,
    "b": 249
  },
  "hsl": {
    "h": 293.659,
    "s": 91.111,
    "l": 73.529
  },
  "oklch": {
    "l": 0.75912,
    "c": 0.20136,
    "h": 323.3
  },
  "luminance": 0.39594
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC7EF9

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

Preview Lab → · Contrast checker → · Palette generator →

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