#EC74E9#EC74E9

#EC74E9 is a light, highly saturated purple. Relative luminance 0.362; OKLCH L 73.8% C 0.203 H 328.3°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#EC74E9
RGBrgb(236, 116, 233)
HSLhsl(302, 76%, 69%)
HSVhsv(302, 51%, 93%)
CMYKcmyk(0%, 50.8%, 1.3%, 7.5%)
CIE-LABlab(66.68, 61.65, -38.77)
CIE-LCHlch(66.68, 72.83, 327.83°)
OKLaboklab(73.83% 0.1724 -0.1063)
OKLCHoklch(73.83% 0.203 328.3)
XYZxyz(55.5447, 36.2101, 81.1386)
Luminance0.3621 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC74E9 #74EC77
analogous
#B374EC #EC74E9 #EC74AD
triadic
#EC74E9 #E9EC74 #74E9EC
tetradic
#EC74E9 #ECB374 #74EC77 #74ADEC
square
#EC74E9 #ECB374 #74EC77 #74ADEC
split-complementary
#EC74E9 #ADEC74 #74ECB3
monochromatic
#CA1CC6 #E53EE0 #EC74E9 #F3AAF2 #FBE0FA

Accessibility & contrast

On white

2.55
#EC74E9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.24
#EC74E9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC74E9
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC74E9#FFFFFF#000000##000000
##EC74E91.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A98ED
Deuteranopia (green-blind)
#8FA8E5
Tritanopia (blue-blind)
#F380A4
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ec74e9;
/* rgb */ color: rgb(236, 116, 233);
/* oklch */ color: oklch(73.8% 0.203 328.3);
Tailwind
colors: {
  custom: {
    50: '#f5a1f0',
    500: '#ec74e9',
    950: '#000000',
  },
}
SCSS
$custom: #ec74e9;
$custom-light: #f5a1f0;
$custom-dark: #000000;
JSON
{
  "hex": "#ec74e9",
  "rgb": {
    "r": 236,
    "g": 116,
    "b": 233
  },
  "hsl": {
    "h": 301.5,
    "s": 75.949,
    "l": 69.02
  },
  "oklch": {
    "l": 0.73834,
    "c": 0.20253,
    "h": 328.3
  },
  "luminance": 0.36207
}

Semantic roles & 50–950 ramp

primary
#EC74E9
secondary
#CCEFCD
accent
#D8120D
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#170F16
muted
#857F84

Preview Lab

Preview with #EC74E9

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

Preview Lab → · Contrast checker → · Palette generator →

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