#EC7FEE#EC7FEE

#EC7FEE is a light, vivid purple. Relative luminance 0.392; OKLCH L 75.5% C 0.190 H 326.6°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#EC7FEE
RGBrgb(236, 127, 238)
HSLhsl(299, 77%, 72%)
HSVhsv(299, 47%, 93%)
CMYKcmyk(0.8%, 46.6%, 0%, 6.7%)
CIE-LABlab(68.89, 57.26, -38.09)
CIE-LCHlch(68.89, 68.77, 326.37°)
OKLaboklab(75.54% 0.1584 -0.1045)
OKLCHoklch(75.54% 0.19 326.6)
XYZxyz(57.6129, 39.1876, 85.4016)
Luminance0.3918 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7FEE #81EE7F
analogous
#B57FEE #EC7FEE #EE7FB9
triadic
#EC7FEE #EEEC7F #7FEEEC
tetradic
#EC7FEE #EEB57F #81EE7F #7FB9EE
square
#EC7FEE #EEB57F #81EE7F #7FB9EE
split-complementary
#EC7FEE #B9EE7F #7FEEB5
monochromatic
#D31CD6 #E449E7 #EC7FEE #F4B5F5 #FBE4FB

Accessibility & contrast

On white

2.38
#EC7FEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.84
#EC7FEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7FEE
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7FEE#FFFFFF#000000##000000
##EC7FEE1.002.388.848.84
#FFFFFF2.381.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#749FF2
Deuteranopia (green-blind)
#94ADEB
Tritanopia (blue-blind)
#F28BAC
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #ec7fee;
/* rgb */ color: rgb(236, 127, 238);
/* oklch */ color: oklch(75.5% 0.190 326.6);
Tailwind
colors: {
  custom: {
    50: '#f4a7f4',
    500: '#ec7fee',
    950: '#000000',
  },
}
SCSS
$custom: #ec7fee;
$custom-light: #f4a7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7fee",
  "rgb": {
    "r": 236,
    "g": 127,
    "b": 238
  },
  "hsl": {
    "h": 298.919,
    "s": 76.552,
    "l": 71.569
  },
  "oklch": {
    "l": 0.75537,
    "c": 0.18971,
    "h": 326.6
  },
  "luminance": 0.39185
}

Semantic roles & 50–950 ramp

primary
#EC7FEE
secondary
#D7F3D6
accent
#D90D10
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171017
muted
#857F85

Preview Lab

Preview with #EC7FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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