#EC74ED#EC74ED

#EC74ED is a light, highly saturated purple. Relative luminance 0.364; OKLCH L 74.0% C 0.206 H 327.1°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#EC74ED
RGBrgb(236, 116, 237)
HSLhsl(300, 77%, 69%)
HSVhsv(300, 51%, 93%)
CMYKcmyk(0.4%, 51.1%, 0%, 7.1%)
CIE-LABlab(66.86, 62.34, -40.71)
CIE-LCHlch(66.86, 74.45, 326.85°)
OKLaboklab(74.02% 0.1729 -0.1119)
OKLCHoklch(74.02% 0.206 327.1)
XYZxyz(56.1225, 36.4412, 84.1821)
Luminance0.3644 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC74ED #75ED74
analogous
#B074ED #EC74ED #ED74B2
triadic
#EC74ED #EDEC74 #74EDEC
tetradic
#EC74ED #EDB074 #75ED74 #74B2ED
square
#EC74ED #EDB074 #75ED74 #74B2ED
split-complementary
#EC74ED #B2ED74 #74EDB0
monochromatic
#CB1ACC #E53EE6 #EC74ED #F3AAF4 #FBE0FB

Accessibility & contrast

On white

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

On black

8.29
#EC74ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC74ED
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC74ED#FFFFFF#000000##000000
##EC74ED1.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6899F1
Deuteranopia (green-blind)
#8DA8E9
Tritanopia (blue-blind)
#F282A6
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ec74ed;
/* rgb */ color: rgb(236, 116, 237);
/* oklch */ color: oklch(74.0% 0.206 327.1);
Tailwind
colors: {
  custom: {
    50: '#f5a1f3',
    500: '#ec74ed',
    950: '#000000',
  },
}
SCSS
$custom: #ec74ed;
$custom-light: #f5a1f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ec74ed",
  "rgb": {
    "r": 236,
    "g": 116,
    "b": 237
  },
  "hsl": {
    "h": 299.504,
    "s": 77.07,
    "l": 69.216
  },
  "oklch": {
    "l": 0.74021,
    "c": 0.20598,
    "h": 327.1
  },
  "luminance": 0.36438
}

Semantic roles & 50–950 ramp

primary
#EC74ED
secondary
#CDF0CD
accent
#D90C0E
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#170F17
muted
#857F85

Preview Lab

Preview with #EC74ED

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

Preview Lab → · Contrast checker → · Palette generator →

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