#EC74F6#EC74F6

#EC74F6 is a light, highly saturated purple. Relative luminance 0.370; OKLCH L 74.5% C 0.214 H 324.5°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#EC74F6
RGBrgb(236, 116, 246)
HSLhsl(295, 88%, 71%)
HSVhsv(295, 53%, 96%)
CMYKcmyk(4.1%, 52.8%, 0%, 3.5%)
CIE-LABlab(67.26, 63.91, -45.03)
CIE-LCHlch(67.26, 78.18, 324.84°)
OKLaboklab(74.45% 0.1741 -0.1243)
OKLCHoklch(74.45% 0.214 324.5)
XYZxyz(57.4706, 36.9804, 91.2817)
Luminance0.3698 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC74F6 #7EF674
analogous
#AB74F6 #EC74F6 #F674BF
triadic
#EC74F6 #F6EC74 #74F6EC
tetradic
#EC74F6 #F6AB74 #7EF674 #74BFF6
square
#EC74F6 #F6AB74 #7EF674 #74BFF6
split-complementary
#EC74F6 #BFF674 #74F6AB
monochromatic
#D10FE1 #E43BF2 #EC74F6 #F4ADFA #FBE2FD

Accessibility & contrast

On white

2.50
#EC74F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#EC74F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC74F6
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC74F6#FFFFFF#000000##000000
##EC74F61.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#629AFA
Deuteranopia (green-blind)
#89A9F2
Tritanopia (blue-blind)
#F085AB
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ec74f6;
/* rgb */ color: rgb(236, 116, 246);
/* oklch */ color: oklch(74.5% 0.214 324.5);
Tailwind
colors: {
  custom: {
    50: '#f5a1f9',
    500: '#ec74f6',
    950: '#000000',
  },
}
SCSS
$custom: #ec74f6;
$custom-light: #f5a1f9;
$custom-dark: #000000;
JSON
{
  "hex": "#ec74f6",
  "rgb": {
    "r": 236,
    "g": 116,
    "b": 246
  },
  "hsl": {
    "h": 295.385,
    "s": 87.838,
    "l": 70.98
  },
  "oklch": {
    "l": 0.74453,
    "c": 0.2139,
    "h": 324.5
  },
  "luminance": 0.36977
}

Semantic roles & 50–950 ramp

primary
#EC74F6
secondary
#D4F4D2
accent
#E40113
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#170F17
muted
#857F85

Preview Lab

Preview with #EC74F6

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

Preview Lab → · Contrast checker → · Palette generator →

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