#EC8EE2#EC8EE2

#EC8EE2 is a light, vivid purple. Relative luminance 0.427; OKLCH L 77.2% C 0.154 H 330.9°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#EC8EE2
RGBrgb(236, 142, 226)
HSLhsl(306, 71%, 74%)
HSVhsv(306, 40%, 93%)
CMYKcmyk(0%, 39.8%, 4.2%, 7.5%)
CIE-LABlab(71.33, 47.65, -27.70)
CIE-LCHlch(71.33, 55.12, 329.82°)
OKLaboklab(77.21% 0.1347 -0.0751)
OKLCHoklch(77.21% 0.154 330.9)
XYZxyz(57.9919, 42.6728, 77.1188)
Luminance0.4267 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8EE2 #8EEC98
analogous
#C78EEC #EC8EE2 #EC8EB3
triadic
#EC8EE2 #E2EC8E #8EE2EC
tetradic
#EC8EE2 #ECC78E #8EEC98 #8EB3EC
square
#EC8EE2 #ECC78E #8EEC98 #8EB3EC
split-complementary
#EC8EE2 #B3EC8E #8EECC7
monochromatic
#DA25C7 #E35AD5 #EC8EE2 #F5C2EF #FBE5F8

Accessibility & contrast

On white

2.20
#EC8EE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.53
#EC8EE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8EE2
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8EE2#FFFFFF#000000##000000
##EC8EE21.002.209.539.53
#FFFFFF2.201.0021.0021.00
#0000009.5321.001.001.00
##0000009.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BA7E5
Deuteranopia (green-blind)
#A3B3DF
Tritanopia (blue-blind)
#F394AE
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #ec8ee2;
/* rgb */ color: rgb(236, 142, 226);
/* oklch */ color: oklch(77.2% 0.154 330.9);
Tailwind
colors: {
  custom: {
    50: '#f4b1eb',
    500: '#ec8ee2',
    950: '#000000',
  },
}
SCSS
$custom: #ec8ee2;
$custom-light: #f4b1eb;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8ee2",
  "rgb": {
    "r": 236,
    "g": 142,
    "b": 226
  },
  "hsl": {
    "h": 306.383,
    "s": 71.212,
    "l": 74.118
  },
  "oklch": {
    "l": 0.77206,
    "c": 0.15425,
    "h": 330.9
  },
  "luminance": 0.4267
}

Semantic roles & 50–950 ramp

primary
#EC8EE2
secondary
#D9F2DB
accent
#D32712
background
#FFFBFE
surface
#FEF6FD
border
#D6D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #EC8EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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