#EC8EE3#EC8EE3

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

Color values

HEX#EC8EE3
RGBrgb(236, 142, 227)
HSLhsl(306, 71%, 74%)
HSVhsv(306, 40%, 93%)
CMYKcmyk(0%, 39.8%, 3.8%, 7.5%)
CIE-LABlab(71.37, 47.82, -28.20)
CIE-LCHlch(71.37, 55.51, 329.47°)
OKLaboklab(77.25% 0.135 -0.0765)
OKLCHoklch(77.25% 0.155 330.5)
XYZxyz(58.1295, 42.7278, 77.8436)
Luminance0.4273 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8EE3 #8EEC97
analogous
#C68EEC #EC8EE3 #EC8EB4
triadic
#EC8EE3 #E3EC8E #8EE3EC
tetradic
#EC8EE3 #ECC68E #8EEC97 #8EB4EC
square
#EC8EE3 #ECC68E #8EEC97 #8EB4EC
split-complementary
#EC8EE3 #B4EC8E #8EECC6
monochromatic
#DA25C9 #E35AD6 #EC8EE3 #F5C2F0 #FBE5F9

Accessibility & contrast

On white

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

On black

9.55
#EC8EE3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8EE3
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8EE3#FFFFFF#000000##000000
##EC8EE31.002.209.559.55
#FFFFFF2.201.0021.0021.00
#0000009.5521.001.001.00
##0000009.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AA7E6
Deuteranopia (green-blind)
#A3B3E0
Tritanopia (blue-blind)
#F395AE
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #ec8ee3;
/* rgb */ color: rgb(236, 142, 227);
/* oklch */ color: oklch(77.2% 0.155 330.5);
Tailwind
colors: {
  custom: {
    50: '#f4b1ec',
    500: '#ec8ee3',
    950: '#000000',
  },
}
SCSS
$custom: #ec8ee3;
$custom-light: #f4b1ec;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8ee3",
  "rgb": {
    "r": 236,
    "g": 142,
    "b": 227
  },
  "hsl": {
    "h": 305.745,
    "s": 71.212,
    "l": 74.118
  },
  "oklch": {
    "l": 0.77246,
    "c": 0.15513,
    "h": 330.5
  },
  "luminance": 0.42725
}

Semantic roles & 50–950 ramp

primary
#EC8EE3
secondary
#D9F2DB
accent
#D32512
background
#FFFBFE
surface
#FEF6FD
border
#D6D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #EC8EE3

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

Preview Lab → · Contrast checker → · Palette generator →

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