#EC7DED#EC7DED

#EC7DED is a light, vivid purple. Relative luminance 0.386; OKLCH L 75.2% C 0.192 H 326.9°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#EC7DED
RGBrgb(236, 125, 237)
HSLhsl(299, 76%, 71%)
HSVhsv(299, 47%, 93%)
CMYKcmyk(0.4%, 47.3%, 0%, 7.1%)
CIE-LABlab(68.47, 58.06, -38.18)
CIE-LCHlch(68.47, 69.49, 326.67°)
OKLaboklab(75.22% 0.1609 -0.1047)
OKLCHoklch(75.22% 0.192 326.9)
XYZxyz(57.2107, 38.6175, 84.5448)
Luminance0.3861 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7DED #7EED7D
analogous
#B47DED #EC7DED #ED7DB6
triadic
#EC7DED #EDEC7D #7DEDEC
tetradic
#EC7DED #EDB47D #7EED7D #7DB6ED
square
#EC7DED #EDB47D #7EED7D #7DB6ED
split-complementary
#EC7DED #B6ED7D #7DEDB4
monochromatic
#D11DD2 #E447E6 #EC7DED #F4B3F4 #FBE4FB

Accessibility & contrast

On white

2.41
#EC7DED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#EC7DED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7DED
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7DED#FFFFFF#000000##000000
##EC7DED1.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#739EF1
Deuteranopia (green-blind)
#93ACEA
Tritanopia (blue-blind)
#F289AA
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #ec7ded;
/* rgb */ color: rgb(236, 125, 237);
/* oklch */ color: oklch(75.2% 0.192 326.9);
Tailwind
colors: {
  custom: {
    50: '#f4a6f3',
    500: '#ec7ded',
    950: '#000000',
  },
}
SCSS
$custom: #ec7ded;
$custom-light: #f4a6f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7ded",
  "rgb": {
    "r": 236,
    "g": 125,
    "b": 237
  },
  "hsl": {
    "h": 299.464,
    "s": 75.676,
    "l": 70.98
  },
  "oklch": {
    "l": 0.75216,
    "c": 0.19199,
    "h": 326.9
  },
  "luminance": 0.38615
}

Semantic roles & 50–950 ramp

primary
#EC7DED
secondary
#D4F2D4
accent
#D80E0F
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171017
muted
#857F85

Preview Lab

Preview with #EC7DED

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

Preview Lab → · Contrast checker → · Palette generator →

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