#EC74F2#EC74F2

#EC74F2 is a light, highly saturated purple. Relative luminance 0.367; OKLCH L 74.3% C 0.210 H 325.6°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#EC74F2
RGBrgb(236, 116, 242)
HSLhsl(297, 83%, 70%)
HSVhsv(297, 52%, 95%)
CMYKcmyk(2.5%, 52.1%, 0%, 5.1%)
CIE-LABlab(67.08, 63.21, -43.11)
CIE-LCHlch(67.08, 76.51, 325.70°)
OKLaboklab(74.26% 0.1736 -0.1188)
OKLCHoklch(74.26% 0.21 325.6)
XYZxyz(56.8632, 36.7375, 88.0831)
Luminance0.3673 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC74F2 #7AF274
analogous
#AD74F2 #EC74F2 #F274B9
triadic
#EC74F2 #F2EC74 #74F2EC
tetradic
#EC74F2 #F2AD74 #7AF274 #74B9F2
square
#EC74F2 #F2AD74 #7AF274 #74B9F2
split-complementary
#EC74F2 #B9F274 #74F2AD
monochromatic
#CE14D7 #E43CED #EC74F2 #F4ACF7 #FBE3FC

Accessibility & contrast

On white

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

On black

8.35
#EC74F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC74F2
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC74F2#FFFFFF#000000##000000
##EC74F21.002.528.358.35
#FFFFFF2.521.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#659AF6
Deuteranopia (green-blind)
#8AA9EE
Tritanopia (blue-blind)
#F183A9
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ec74f2;
/* rgb */ color: rgb(236, 116, 242);
/* oklch */ color: oklch(74.3% 0.210 325.6);
Tailwind
colors: {
  custom: {
    50: '#f5a1f7',
    500: '#ec74f2',
    950: '#000000',
  },
}
SCSS
$custom: #ec74f2;
$custom-light: #f5a1f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ec74f2",
  "rgb": {
    "r": 236,
    "g": 116,
    "b": 242
  },
  "hsl": {
    "h": 297.143,
    "s": 82.895,
    "l": 70.196
  },
  "oklch": {
    "l": 0.74259,
    "c": 0.21035,
    "h": 325.6
  },
  "luminance": 0.36734
}

Semantic roles & 50–950 ramp

primary
#EC74F2
secondary
#D1F2CF
accent
#DF0611
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#170F17
muted
#857F85

Preview Lab

Preview with #EC74F2

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

Preview Lab → · Contrast checker → · Palette generator →

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