#EC74F1#EC74F1

#EC74F1 is a light, highly saturated purple. Relative luminance 0.367; OKLCH L 74.2% C 0.209 H 325.9°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#EC74F1
RGBrgb(236, 116, 241)
HSLhsl(298, 82%, 70%)
HSVhsv(298, 52%, 95%)
CMYKcmyk(2.1%, 51.9%, 0%, 5.5%)
CIE-LABlab(67.03, 63.03, -42.63)
CIE-LCHlch(67.03, 76.10, 325.93°)
OKLaboklab(74.21% 0.1735 -0.1174)
OKLCHoklch(74.21% 0.209 325.9)
XYZxyz(56.7135, 36.6776, 87.2943)
Luminance0.3668 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC74F1 #79F174
analogous
#AE74F1 #EC74F1 #F174B7
triadic
#EC74F1 #F1EC74 #74F1EC
tetradic
#EC74F1 #F1AE74 #79F174 #74B7F1
square
#EC74F1 #F1AE74 #79F174 #74B7F1
split-complementary
#EC74F1 #B7F174 #74F1AE
monochromatic
#CD15D5 #E43CEB #EC74F1 #F4ACF7 #FBE3FC

Accessibility & contrast

On white

2.52
#EC74F1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.33
#EC74F1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC74F1
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC74F1#FFFFFF#000000##000000
##EC74F11.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6599F5
Deuteranopia (green-blind)
#8BA8ED
Tritanopia (blue-blind)
#F183A8
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ec74f1;
/* rgb */ color: rgb(236, 116, 241);
/* oklch */ color: oklch(74.2% 0.209 325.9);
Tailwind
colors: {
  custom: {
    50: '#f5a1f6',
    500: '#ec74f1',
    950: '#000000',
  },
}
SCSS
$custom: #ec74f1;
$custom-light: #f5a1f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ec74f1",
  "rgb": {
    "r": 236,
    "g": 116,
    "b": 241
  },
  "hsl": {
    "h": 297.6,
    "s": 81.699,
    "l": 70
  },
  "oklch": {
    "l": 0.74211,
    "c": 0.20947,
    "h": 325.9
  },
  "luminance": 0.36675
}

Semantic roles & 50–950 ramp

primary
#EC74F1
secondary
#D0F2CF
accent
#DE0710
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#170F17
muted
#857F85

Preview Lab

Preview with #EC74F1

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

Preview Lab → · Contrast checker → · Palette generator →

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