#EC74EE#EC74EE

#EC74EE is a light, highly saturated purple. Relative luminance 0.365; OKLCH L 74.1% C 0.207 H 326.8°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#EC74EE
RGBrgb(236, 116, 238)
HSLhsl(299, 78%, 69%)
HSVhsv(299, 51%, 93%)
CMYKcmyk(0.8%, 51.3%, 0%, 6.7%)
CIE-LABlab(66.90, 62.51, -41.19)
CIE-LCHlch(66.90, 74.86, 326.62°)
OKLaboklab(74.07% 0.1731 -0.1133)
OKLCHoklch(74.07% 0.207 326.8)
XYZxyz(56.2690, 36.4998, 84.9537)
Luminance0.3650 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC74EE #76EE74
analogous
#AF74EE #EC74EE #EE74B3
triadic
#EC74EE #EEEC74 #74EEEC
tetradic
#EC74EE #EEAF74 #76EE74 #74B3EE
square
#EC74EE #EEAF74 #76EE74 #74B3EE
split-complementary
#EC74EE #B3EE74 #74EEAF
monochromatic
#CB19CE #E53DE7 #EC74EE #F3ABF5 #FBE1FB

Accessibility & contrast

On white

2.53
#EC74EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#EC74EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC74EE
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC74EE#FFFFFF#000000##000000
##EC74EE1.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6799F2
Deuteranopia (green-blind)
#8CA8EA
Tritanopia (blue-blind)
#F282A7
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ec74ee;
/* rgb */ color: rgb(236, 116, 238);
/* oklch */ color: oklch(74.1% 0.207 326.8);
Tailwind
colors: {
  custom: {
    50: '#f5a1f4',
    500: '#ec74ee',
    950: '#000000',
  },
}
SCSS
$custom: #ec74ee;
$custom-light: #f5a1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ec74ee",
  "rgb": {
    "r": 236,
    "g": 116,
    "b": 238
  },
  "hsl": {
    "h": 299.016,
    "s": 78.205,
    "l": 69.412
  },
  "oklch": {
    "l": 0.74068,
    "c": 0.20685,
    "h": 326.8
  },
  "luminance": 0.36497
}

Semantic roles & 50–950 ramp

primary
#EC74EE
secondary
#CEF0CD
accent
#DA0B0E
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#170F17
muted
#857F85

Preview Lab

Preview with #EC74EE

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

Preview Lab → · Contrast checker → · Palette generator →

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