#EC74DD#EC74DD

#EC74DD is a light, vivid purple. Relative luminance 0.355; OKLCH L 73.3% C 0.193 H 332.3°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#EC74DD
RGBrgb(236, 116, 221)
HSLhsl(308, 76%, 69%)
HSVhsv(308, 51%, 93%)
CMYKcmyk(0%, 50.8%, 6.4%, 7.5%)
CIE-LABlab(66.17, 59.64, -32.90)
CIE-LCHlch(66.17, 68.11, 331.12°)
OKLaboklab(73.29% 0.1704 -0.0896)
OKLCHoklch(73.29% 0.193 332.3)
XYZxyz(53.8884, 35.5476, 72.4156)
Luminance0.3554 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC74DD #74EC83
analogous
#BF74EC #EC74DD #EC74A1
triadic
#EC74DD #DDEC74 #74DDEC
tetradic
#EC74DD #ECBF74 #74EC83 #74A1EC
square
#EC74DD #ECBF74 #74EC83 #74A1EC
split-complementary
#EC74DD #A1EC74 #74ECBF
monochromatic
#CA1CB4 #E53ED0 #EC74DD #F3AAEA #FBE0F7

Accessibility & contrast

On white

2.59
#EC74DD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#EC74DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC74DD
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC74DD#FFFFFF#000000##000000
##EC74DD1.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7096E0
Deuteranopia (green-blind)
#93A7DA
Tritanopia (blue-blind)
#F57D9F
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ec74dd;
/* rgb */ color: rgb(236, 116, 221);
/* oklch */ color: oklch(73.3% 0.193 332.3);
Tailwind
colors: {
  custom: {
    50: '#f5a0e8',
    500: '#ec74dd',
    950: '#000000',
  },
}
SCSS
$custom: #ec74dd;
$custom-light: #f5a0e8;
$custom-dark: #000000;
JSON
{
  "hex": "#ec74dd",
  "rgb": {
    "r": 236,
    "g": 116,
    "b": 221
  },
  "hsl": {
    "h": 307.5,
    "s": 75.949,
    "l": 69.02
  },
  "oklch": {
    "l": 0.73293,
    "c": 0.19252,
    "h": 332.3
  },
  "luminance": 0.35544
}

Semantic roles & 50–950 ramp

primary
#EC74DD
secondary
#CCEFD1
accent
#D8270D
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#170F16
muted
#857F84

Preview Lab

Preview with #EC74DD

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

Preview Lab → · Contrast checker → · Palette generator →

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