#EC8FE3#EC8FE3

#EC8FE3 is a light, vivid purple. Relative luminance 0.430; OKLCH L 77.4% C 0.153 H 330.5°. Best body text is #000000 at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#EC8FE3
RGBrgb(236, 143, 227)
HSLhsl(306, 71%, 74%)
HSVhsv(306, 39%, 93%)
CMYKcmyk(0%, 39.4%, 3.8%, 7.5%)
CIE-LABlab(71.57, 47.31, -27.88)
CIE-LCHlch(71.57, 54.91, 329.48°)
OKLaboklab(77.4% 0.1335 -0.0756)
OKLCHoklch(77.4% 0.153 330.5)
XYZxyz(58.2789, 43.0267, 77.8934)
Luminance0.4302 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8FE3 #8FEC98
analogous
#C68FEC #EC8FE3 #EC8FB5
triadic
#EC8FE3 #E3EC8F #8FE3EC
tetradic
#EC8FE3 #ECC68F #8FEC98 #8FB5EC
square
#EC8FE3 #ECC68F #8FEC98 #8FB5EC
split-complementary
#EC8FE3 #B5EC8F #8FECC6
monochromatic
#DA26C9 #E35BD6 #EC8FE3 #F5C3F0 #FBE5F8

Accessibility & contrast

On white

2.19
#EC8FE3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.60
#EC8FE3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8FE3
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8FE3#FFFFFF#000000##000000
##EC8FE31.002.199.609.60
#FFFFFF2.191.0021.0021.00
#0000009.6021.001.001.00
##0000009.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ec8fe3;
/* rgb */ color: rgb(236, 143, 227);
/* oklch */ color: oklch(77.4% 0.153 330.5);
Tailwind
colors: {
  custom: {
    50: '#f4b2ec',
    500: '#ec8fe3',
    950: '#000000',
  },
}
SCSS
$custom: #ec8fe3;
$custom-light: #f4b2ec;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8fe3",
  "rgb": {
    "r": 236,
    "g": 143,
    "b": 227
  },
  "hsl": {
    "h": 305.806,
    "s": 70.992,
    "l": 74.314
  },
  "oklch": {
    "l": 0.77399,
    "c": 0.15344,
    "h": 330.5
  },
  "luminance": 0.43024
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC8FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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