#EC9AEC#EC9AEC

#EC9AEC is a light, vivid purple. Relative luminance 0.470; OKLCH L 79.5% C 0.143 H 326.8°. Best body text is #000000 at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#EC9AEC
RGBrgb(236, 154, 236)
HSLhsl(300, 68%, 76%)
HSVhsv(300, 35%, 93%)
CMYKcmyk(0%, 34.7%, 0%, 7.5%)
CIE-LABlab(74.19, 43.21, -28.79)
CIE-LCHlch(74.19, 51.92, 326.33°)
OKLaboklab(79.48% 0.1196 -0.0782)
OKLCHoklch(79.48% 0.143 326.8)
XYZxyz(61.2867, 47.0027, 85.1847)
Luminance0.4700 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC9AEC #9AEC9A
analogous
#C39AEC #EC9AEC #EC9AC3
triadic
#EC9AEC #ECEC9A #9AECEC
tetradic
#EC9AEC #ECC39A #9AEC9A #9AC3EC
square
#EC9AEC #ECC39A #9AEC9A #9AC3EC
split-complementary
#EC9AEC #C3EC9A #9AECC3
monochromatic
#D933D9 #E266E2 #EC9AEC #F6CEF6 #FAE5FA

Accessibility & contrast

On white

2.02
#EC9AEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.40
#EC9AEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC9AEC
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC9AEC#FFFFFF#000000##000000
##EC9AEC1.002.0210.4010.40
#FFFFFF2.021.0021.0021.00
#00000010.4021.001.001.00
##00000010.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#94B0EF
Deuteranopia (green-blind)
#A9BAE9
Tritanopia (blue-blind)
#F1A1B9
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #ec9aec;
/* rgb */ color: rgb(236, 154, 236);
/* oklch */ color: oklch(79.5% 0.143 326.8);
Tailwind
colors: {
  custom: {
    50: '#f3b9f2',
    500: '#ec9aec',
    950: '#000000',
  },
}
SCSS
$custom: #ec9aec;
$custom-light: #f3b9f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ec9aec",
  "rgb": {
    "r": 236,
    "g": 154,
    "b": 236
  },
  "hsl": {
    "h": 300,
    "s": 68.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.79482,
    "c": 0.14295,
    "h": 326.8
  },
  "luminance": 0.47
}

Semantic roles & 50–950 ramp

primary
#EC9AEC
secondary
#D9F2D9
accent
#D01515
background
#FFFBFE
surface
#FEF6FD
border
#D6D0D5
text
#171117
muted
#858085

Preview Lab

Preview with #EC9AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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