#EC74F5#EC74F5

#EC74F5 is a light, highly saturated purple. Relative luminance 0.369; OKLCH L 74.4% C 0.213 H 324.7°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#EC74F5
RGBrgb(236, 116, 245)
HSLhsl(296, 87%, 71%)
HSVhsv(296, 53%, 96%)
CMYKcmyk(3.7%, 52.7%, 0%, 3.9%)
CIE-LABlab(67.22, 63.74, -44.55)
CIE-LCHlch(67.22, 77.76, 325.05°)
OKLaboklab(74.4% 0.1739 -0.1229)
OKLCHoklch(74.4% 0.213 324.7)
XYZxyz(57.3175, 36.9192, 90.4755)
Luminance0.3692 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC74F5 #7DF574
analogous
#AB74F5 #EC74F5 #F574BD
triadic
#EC74F5 #F5EC74 #74F5EC
tetradic
#EC74F5 #F5AB74 #7DF574 #74BDF5
square
#EC74F5 #F5AB74 #7DF574 #74BDF5
split-complementary
#EC74F5 #BDF574 #74F5AB
monochromatic
#D010DF #E43BF1 #EC74F5 #F4ADF9 #FBE2FD

Accessibility & contrast

On white

2.51
#EC74F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.38
#EC74F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC74F5
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC74F5#FFFFFF#000000##000000
##EC74F51.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#639AF9
Deuteranopia (green-blind)
#89A9F1
Tritanopia (blue-blind)
#F184AA
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ec74f5;
/* rgb */ color: rgb(236, 116, 245);
/* oklch */ color: oklch(74.4% 0.213 324.7);
Tailwind
colors: {
  custom: {
    50: '#f5a1f9',
    500: '#ec74f5',
    950: '#000000',
  },
}
SCSS
$custom: #ec74f5;
$custom-light: #f5a1f9;
$custom-dark: #000000;
JSON
{
  "hex": "#ec74f5",
  "rgb": {
    "r": 236,
    "g": 116,
    "b": 245
  },
  "hsl": {
    "h": 295.814,
    "s": 86.577,
    "l": 70.784
  },
  "oklch": {
    "l": 0.74404,
    "c": 0.21301,
    "h": 324.7
  },
  "luminance": 0.36916
}

Semantic roles & 50–950 ramp

primary
#EC74F5
secondary
#D3F4D1
accent
#E30212
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#170F17
muted
#857F85

Preview Lab

Preview with #EC74F5

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

Preview Lab → · Contrast checker → · Palette generator →

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