#EC7DDD#EC7DDD

#EC7DDD is a light, vivid purple. Relative luminance 0.377; OKLCH L 74.5% C 0.178 H 332.4°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#EC7DDD
RGBrgb(236, 125, 221)
HSLhsl(308, 74%, 71%)
HSVhsv(308, 47%, 93%)
CMYKcmyk(0%, 47%, 6.4%, 7.5%)
CIE-LABlab(67.82, 55.32, -30.36)
CIE-LCHlch(67.82, 63.10, 331.24°)
OKLaboklab(74.51% 0.158 -0.0824)
OKLCHoklch(74.51% 0.178 332.4)
XYZxyz(54.9766, 37.7239, 72.7783)
Luminance0.3772 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7DDD #7DEC8C
analogous
#C37DEC #EC7DDD #EC7DA5
triadic
#EC7DDD #DDEC7D #7DDDEC
tetradic
#EC7DDD #ECC37D #7DEC8C #7DA5EC
square
#EC7DDD #ECC37D #7DEC8C #7DA5EC
split-complementary
#EC7DDD #A5EC7D #7DECC3
monochromatic
#D01EB8 #E448CF #EC7DDD #F4B2EB #FBE4F8

Accessibility & contrast

On white

2.46
#EC7DDD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.54
#EC7DDD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7DDD
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7DDD#FFFFFF#000000##000000
##EC7DDD1.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A9BE0
Deuteranopia (green-blind)
#99ABDA
Tritanopia (blue-blind)
#F484A3
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #ec7ddd;
/* rgb */ color: rgb(236, 125, 221);
/* oklch */ color: oklch(74.5% 0.178 332.4);
Tailwind
colors: {
  custom: {
    50: '#f4a6e7',
    500: '#ec7ddd',
    950: '#000000',
  },
}
SCSS
$custom: #ec7ddd;
$custom-light: #f4a6e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7ddd",
  "rgb": {
    "r": 236,
    "g": 125,
    "b": 221
  },
  "hsl": {
    "h": 308.108,
    "s": 74.497,
    "l": 70.784
  },
  "oklch": {
    "l": 0.74513,
    "c": 0.1782,
    "h": 332.4
  },
  "luminance": 0.37721
}

Semantic roles & 50–950 ramp

primary
#EC7DDD
secondary
#D3F1D8
accent
#D72A0F
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #EC7DDD

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

Preview Lab → · Contrast checker → · Palette generator →

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