#EC74E1#EC74E1

#EC74E1 is a light, vivid purple. Relative luminance 0.358; OKLCH L 73.5% C 0.196 H 330.9°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#EC74E1
RGBrgb(236, 116, 225)
HSLhsl(306, 76%, 69%)
HSVhsv(306, 51%, 93%)
CMYKcmyk(0%, 50.8%, 4.7%, 7.5%)
CIE-LABlab(66.34, 60.30, -34.87)
CIE-LCHlch(66.34, 69.65, 329.96°)
OKLaboklab(73.47% 0.1711 -0.0952)
OKLCHoklch(73.47% 0.196 330.9)
XYZxyz(54.4277, 35.7633, 75.2558)
Luminance0.3576 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC74E1 #74EC7F
analogous
#BB74EC #EC74E1 #EC74A5
triadic
#EC74E1 #E1EC74 #74E1EC
tetradic
#EC74E1 #ECBB74 #74EC7F #74A5EC
square
#EC74E1 #ECBB74 #74EC7F #74A5EC
split-complementary
#EC74E1 #A5EC74 #74ECBB
monochromatic
#CA1CBA #E53ED5 #EC74E1 #F3AAED #FBE0F8

Accessibility & contrast

On white

2.58
#EC74E1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#EC74E1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC74E1
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC74E1#FFFFFF#000000##000000
##EC74E11.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E97E5
Deuteranopia (green-blind)
#92A7DE
Tritanopia (blue-blind)
#F47EA0
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ec74e1;
/* rgb */ color: rgb(236, 116, 225);
/* oklch */ color: oklch(73.5% 0.196 330.9);
Tailwind
colors: {
  custom: {
    50: '#f5a0ea',
    500: '#ec74e1',
    950: '#000000',
  },
}
SCSS
$custom: #ec74e1;
$custom-light: #f5a0ea;
$custom-dark: #000000;
JSON
{
  "hex": "#ec74e1",
  "rgb": {
    "r": 236,
    "g": 116,
    "b": 225
  },
  "hsl": {
    "h": 305.5,
    "s": 75.949,
    "l": 69.02
  },
  "oklch": {
    "l": 0.7347,
    "c": 0.1958,
    "h": 330.9
  },
  "luminance": 0.3576
}

Semantic roles & 50–950 ramp

primary
#EC74E1
secondary
#CCEFD0
accent
#D8200D
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#170F16
muted
#857F84

Preview Lab

Preview with #EC74E1

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

Preview Lab → · Contrast checker → · Palette generator →

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