#EC74F0#EC74F0

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

Color values

HEX#EC74F0
RGBrgb(236, 116, 240)
HSLhsl(298, 81%, 70%)
HSVhsv(298, 52%, 94%)
CMYKcmyk(1.7%, 51.7%, 0%, 5.9%)
CIE-LABlab(66.99, 62.86, -42.15)
CIE-LCHlch(66.99, 75.68, 326.15°)
OKLaboklab(74.16% 0.1733 -0.116)
OKLCHoklch(74.16% 0.209 326.2)
XYZxyz(56.5645, 36.6180, 86.5098)
Luminance0.3661 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC74F0 #78F074
analogous
#AE74F0 #EC74F0 #F074B6
triadic
#EC74F0 #F0EC74 #74F0EC
tetradic
#EC74F0 #F0AE74 #78F074 #74B6F0
square
#EC74F0 #F0AE74 #78F074 #74B6F0
split-complementary
#EC74F0 #B6F074 #74F0AE
monochromatic
#CD17D3 #E43DEA #EC74F0 #F4ABF6 #FBE2FC

Accessibility & contrast

On white

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

On black

8.32
#EC74F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC74F0
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC74F0#FFFFFF#000000##000000
##EC74F01.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6699F4
Deuteranopia (green-blind)
#8BA8EC
Tritanopia (blue-blind)
#F283A8
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ec74f0;
/* rgb */ color: rgb(236, 116, 240);
/* oklch */ color: oklch(74.2% 0.209 326.2);
Tailwind
colors: {
  custom: {
    50: '#f5a1f5',
    500: '#ec74f0',
    950: '#000000',
  },
}
SCSS
$custom: #ec74f0;
$custom-light: #f5a1f5;
$custom-dark: #000000;
JSON
{
  "hex": "#ec74f0",
  "rgb": {
    "r": 236,
    "g": 116,
    "b": 240
  },
  "hsl": {
    "h": 298.065,
    "s": 80.519,
    "l": 69.804
  },
  "oklch": {
    "l": 0.74163,
    "c": 0.20859,
    "h": 326.2
  },
  "luminance": 0.36615
}

Semantic roles & 50–950 ramp

primary
#EC74F0
secondary
#D0F1CE
accent
#DD090F
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#170F17
muted
#857F85

Preview Lab

Preview with #EC74F0

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

Preview Lab → · Contrast checker → · Palette generator →

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