#EC7ADD#EC7ADD

#EC7ADD is a light, vivid purple. Relative luminance 0.370; OKLCH L 74.1% C 0.183 H 332.4°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#EC7ADD
RGBrgb(236, 122, 221)
HSLhsl(308, 75%, 70%)
HSVhsv(308, 48%, 93%)
CMYKcmyk(0%, 48.3%, 6.4%, 7.5%)
CIE-LABlab(67.26, 56.78, -31.22)
CIE-LCHlch(67.26, 64.79, 331.20°)
OKLaboklab(74.1% 0.1622 -0.0848)
OKLCHoklch(74.1% 0.183 332.4)
XYZxyz(54.6025, 36.9758, 72.6536)
Luminance0.3697 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7ADD #7AEC89
analogous
#C27AEC #EC7ADD #EC7AA4
triadic
#EC7ADD #DDEC7A #7ADDEC
tetradic
#EC7ADD #ECC27A #7AEC89 #7AA4EC
square
#EC7ADD #ECC27A #7AEC89 #7AA4EC
split-complementary
#EC7ADD #A4EC7A #7AECC2
monochromatic
#CE1DB7 #E444CF #EC7ADD #F4B0EB #FBE4F8

Accessibility & contrast

On white

2.50
#EC7ADD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.39
#EC7ADD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7ADD
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7ADD#FFFFFF#000000##000000
##EC7ADD1.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7799E0
Deuteranopia (green-blind)
#97AADA
Tritanopia (blue-blind)
#F582A1
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ec7add;
/* rgb */ color: rgb(236, 122, 221);
/* oklch */ color: oklch(74.1% 0.183 332.4);
Tailwind
colors: {
  custom: {
    50: '#f4a4e8',
    500: '#ec7add',
    950: '#000000',
  },
}
SCSS
$custom: #ec7add;
$custom-light: #f4a4e8;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7add",
  "rgb": {
    "r": 236,
    "g": 122,
    "b": 221
  },
  "hsl": {
    "h": 307.895,
    "s": 75,
    "l": 70.196
  },
  "oklch": {
    "l": 0.74099,
    "c": 0.18303,
    "h": 332.4
  },
  "luminance": 0.36972
}

Semantic roles & 50–950 ramp

primary
#EC7ADD
secondary
#D1F1D5
accent
#D7290E
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#170F16
muted
#857F84

Preview Lab

Preview with #EC7ADD

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

Preview Lab → · Contrast checker → · Palette generator →

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