#EC8FE4#EC8FE4

#EC8FE4 is a light, vivid purple. Relative luminance 0.431; OKLCH L 77.4% C 0.154 H 330.1°. Best body text is #000000 at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#EC8FE4
RGBrgb(236, 143, 228)
HSLhsl(305, 71%, 74%)
HSVhsv(305, 39%, 93%)
CMYKcmyk(0%, 39.4%, 3.4%, 7.5%)
CIE-LABlab(71.61, 47.48, -28.38)
CIE-LCHlch(71.61, 55.31, 329.14°)
OKLaboklab(77.44% 0.1338 -0.077)
OKLCHoklch(77.44% 0.154 330.1)
XYZxyz(58.4173, 43.0821, 78.6224)
Luminance0.4308 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8FE4 #8FEC97
analogous
#C68FEC #EC8FE4 #EC8FB6
triadic
#EC8FE4 #E4EC8F #8FE4EC
tetradic
#EC8FE4 #ECC68F #8FEC97 #8FB6EC
square
#EC8FE4 #ECC68F #8FEC97 #8FB6EC
split-complementary
#EC8FE4 #B6EC8F #8FECC6
monochromatic
#DA26CB #E35BD7 #EC8FE4 #F5C3F1 #FBE5F9

Accessibility & contrast

On white

2.18
#EC8FE4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.62
#EC8FE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8FE4
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8FE4#FFFFFF#000000##000000
##EC8FE41.002.189.629.62
#FFFFFF2.181.0021.0021.00
#0000009.6221.001.001.00
##0000009.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BA7E7
Deuteranopia (green-blind)
#A3B4E1
Tritanopia (blue-blind)
#F396AF
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #ec8fe4;
/* rgb */ color: rgb(236, 143, 228);
/* oklch */ color: oklch(77.4% 0.154 330.1);
Tailwind
colors: {
  custom: {
    50: '#f4b2ec',
    500: '#ec8fe4',
    950: '#000000',
  },
}
SCSS
$custom: #ec8fe4;
$custom-light: #f4b2ec;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8fe4",
  "rgb": {
    "r": 236,
    "g": 143,
    "b": 228
  },
  "hsl": {
    "h": 305.161,
    "s": 70.992,
    "l": 74.314
  },
  "oklch": {
    "l": 0.7744,
    "c": 0.15433,
    "h": 330.1
  },
  "luminance": 0.43079
}

Semantic roles & 50–950 ramp

primary
#EC8FE4
secondary
#D9F2DB
accent
#D32312
background
#FFFBFE
surface
#FEF6FD
border
#D6D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #EC8FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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