#EC74F8#EC74F8

#EC74F8 is a light, highly saturated purple. Relative luminance 0.371; OKLCH L 74.6% C 0.216 H 323.9°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#EC74F8
RGBrgb(236, 116, 248)
HSLhsl(295, 90%, 71%)
HSVhsv(295, 53%, 97%)
CMYKcmyk(4.8%, 53.2%, 0%, 2.7%)
CIE-LABlab(67.35, 64.27, -45.98)
CIE-LCHlch(67.35, 79.03, 324.42°)
OKLaboklab(74.55% 0.1743 -0.1271)
OKLCHoklch(74.55% 0.216 323.9)
XYZxyz(57.7792, 37.1039, 92.9071)
Luminance0.3710 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC74F8 #80F874
analogous
#AA74F8 #EC74F8 #F874C2
triadic
#EC74F8 #F8EC74 #74F8EC
tetradic
#EC74F8 #F8AA74 #80F874 #74C2F8
square
#EC74F8 #F8AA74 #80F874 #74C2F8
split-complementary
#EC74F8 #C2F874 #74F8AA
monochromatic
#D20CE6 #E43AF5 #EC74F8 #F4AEFB #FBE2FE

Accessibility & contrast

On white

2.49
#EC74F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#EC74F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC74F8
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC74F8#FFFFFF#000000##000000
##EC74F81.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#619BFC
Deuteranopia (green-blind)
#88A9F4
Tritanopia (blue-blind)
#F085AC
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ec74f8;
/* rgb */ color: rgb(236, 116, 248);
/* oklch */ color: oklch(74.6% 0.216 323.9);
Tailwind
colors: {
  custom: {
    50: '#f5a1fb',
    500: '#ec74f8',
    950: '#000000',
  },
}
SCSS
$custom: #ec74f8;
$custom-light: #f5a1fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ec74f8",
  "rgb": {
    "r": 236,
    "g": 116,
    "b": 248
  },
  "hsl": {
    "h": 294.545,
    "s": 90.411,
    "l": 71.373
  },
  "oklch": {
    "l": 0.74551,
    "c": 0.21568,
    "h": 323.9
  },
  "luminance": 0.37101
}

Semantic roles & 50–950 ramp

primary
#EC74F8
secondary
#D6F5D3
accent
#E60015
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#170F17
muted
#857F85

Preview Lab

Preview with #EC74F8

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

Preview Lab → · Contrast checker → · Palette generator →

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