#EC74DF#EC74DF

#EC74DF is a light, vivid purple. Relative luminance 0.357; OKLCH L 73.4% C 0.194 H 331.6°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#EC74DF
RGBrgb(236, 116, 223)
HSLhsl(307, 76%, 69%)
HSVhsv(307, 51%, 93%)
CMYKcmyk(0%, 50.8%, 5.5%, 7.5%)
CIE-LABlab(66.26, 59.97, -33.88)
CIE-LCHlch(66.26, 68.88, 330.53°)
OKLaboklab(73.38% 0.1708 -0.0924)
OKLCHoklch(73.38% 0.194 331.6)
XYZxyz(54.1564, 35.6548, 73.8273)
Luminance0.3565 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC74DF #74EC81
analogous
#BD74EC #EC74DF #EC74A3
triadic
#EC74DF #DFEC74 #74DFEC
tetradic
#EC74DF #ECBD74 #74EC81 #74A3EC
square
#EC74DF #ECBD74 #74EC81 #74A3EC
split-complementary
#EC74DF #A3EC74 #74ECBD
monochromatic
#CA1CB7 #E53ED3 #EC74DF #F3AAEB #FBE0F8

Accessibility & contrast

On white

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

On black

8.13
#EC74DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC74DF
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC74DF#FFFFFF#000000##000000
##EC74DF1.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F96E3
Deuteranopia (green-blind)
#93A7DC
Tritanopia (blue-blind)
#F47D9F
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ec74df;
/* rgb */ color: rgb(236, 116, 223);
/* oklch */ color: oklch(73.4% 0.194 331.6);
Tailwind
colors: {
  custom: {
    50: '#f5a0e9',
    500: '#ec74df',
    950: '#000000',
  },
}
SCSS
$custom: #ec74df;
$custom-light: #f5a0e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ec74df",
  "rgb": {
    "r": 236,
    "g": 116,
    "b": 223
  },
  "hsl": {
    "h": 306.5,
    "s": 75.949,
    "l": 69.02
  },
  "oklch": {
    "l": 0.73381,
    "c": 0.19416,
    "h": 331.6
  },
  "luminance": 0.35651
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC74DF

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

Preview Lab → · Contrast checker → · Palette generator →

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