#EC8ADD#EC8ADD

#EC8ADD is a light, vivid purple. Relative luminance 0.412; OKLCH L 76.4% C 0.157 H 332.8°. Best body text is #000000 at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#EC8ADD
RGBrgb(236, 138, 221)
HSLhsl(309, 72%, 73%)
HSVhsv(309, 42%, 93%)
CMYKcmyk(0%, 41.5%, 6.4%, 7.5%)
CIE-LABlab(70.34, 48.83, -26.47)
CIE-LCHlch(70.34, 55.55, 331.54°)
OKLaboklab(76.4% 0.1394 -0.0716)
OKLCHoklch(76.4% 0.157 332.8)
XYZxyz(56.7313, 41.2334, 73.3632)
Luminance0.4123 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8ADD #8AEC99
analogous
#CA8AEC #EC8ADD #EC8AAC
triadic
#EC8ADD #DDEC8A #8ADDEC
tetradic
#EC8ADD #ECCA8A #8AEC99 #8AACEC
square
#EC8ADD #ECCA8A #8AEC99 #8AACEC
split-complementary
#EC8ADD #ACEC8A #8AECCA
monochromatic
#D823BD #E355CE #EC8ADD #F5BFEC #FBE5F7

Accessibility & contrast

On white

2.27
#EC8ADD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.25
#EC8ADD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8ADD
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8ADD#FFFFFF#000000##000000
##EC8ADD1.002.279.259.25
#FFFFFF2.271.0021.0021.00
#0000009.2521.001.001.00
##0000009.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#88A3E0
Deuteranopia (green-blind)
#A2B1DA
Tritanopia (blue-blind)
#F490AA
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #ec8add;
/* rgb */ color: rgb(236, 138, 221);
/* oklch */ color: oklch(76.4% 0.157 332.8);
Tailwind
colors: {
  custom: {
    50: '#f4aee7',
    500: '#ec8add',
    950: '#000000',
  },
}
SCSS
$custom: #ec8add;
$custom-light: #f4aee7;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8add",
  "rgb": {
    "r": 236,
    "g": 138,
    "b": 221
  },
  "hsl": {
    "h": 309.184,
    "s": 72.059,
    "l": 73.333
  },
  "oklch": {
    "l": 0.76399,
    "c": 0.15669,
    "h": 332.8
  },
  "luminance": 0.4123
}

Semantic roles & 50–950 ramp

primary
#EC8ADD
secondary
#D9F2DD
accent
#D42F11
background
#FFFAFE
surface
#FEF5FC
border
#D6CFD5
text
#171016
muted
#857F84

Preview Lab

Preview with #EC8ADD

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

Preview Lab → · Contrast checker → · Palette generator →

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