#EC8AEC#EC8AEC

#EC8AEC is a light, vivid purple. Relative luminance 0.421; OKLCH L 77.0% C 0.170 H 327.1°. Best body text is #000000 at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#EC8AEC
RGBrgb(236, 138, 236)
HSLhsl(300, 72%, 73%)
HSVhsv(300, 42%, 93%)
CMYKcmyk(0%, 41.5%, 0%, 7.5%)
CIE-LABlab(70.92, 51.44, -33.83)
CIE-LCHlch(70.92, 61.57, 326.67°)
OKLaboklab(77.02% 0.1427 -0.0924)
OKLCHoklch(77.02% 0.17 327.1)
XYZxyz(58.8198, 42.0688, 84.3624)
Luminance0.4207 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8AEC #8AEC8A
analogous
#BB8AEC #EC8AEC #EC8ABB
triadic
#EC8AEC #ECEC8A #8AECEC
tetradic
#EC8AEC #ECBB8A #8AEC8A #8ABBEC
square
#EC8AEC #ECBB8A #8AEC8A #8ABBEC
split-complementary
#EC8AEC #BBEC8A #8AECBB
monochromatic
#D823D8 #E355E3 #EC8AEC #F5BFF5 #FBE5FB

Accessibility & contrast

On white

2.23
#EC8AEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.41
#EC8AEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8AEC
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8AEC#FFFFFF#000000##000000
##EC8AEC1.002.239.419.41
#FFFFFF2.231.0021.0021.00
#0000009.4121.001.001.00
##0000009.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A6EF
Deuteranopia (green-blind)
#9DB2E9
Tritanopia (blue-blind)
#F194B0
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #ec8aec;
/* rgb */ color: rgb(236, 138, 236);
/* oklch */ color: oklch(77.0% 0.170 327.1);
Tailwind
colors: {
  custom: {
    50: '#f4aef2',
    500: '#ec8aec',
    950: '#000000',
  },
}
SCSS
$custom: #ec8aec;
$custom-light: #f4aef2;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8aec",
  "rgb": {
    "r": 236,
    "g": 138,
    "b": 236
  },
  "hsl": {
    "h": 300,
    "s": 72.059,
    "l": 73.333
  },
  "oklch": {
    "l": 0.77023,
    "c": 0.16999,
    "h": 327.1
  },
  "luminance": 0.42066
}

Semantic roles & 50–950 ramp

primary
#EC8AEC
secondary
#D9F2D9
accent
#D41111
background
#FFFAFE
surface
#FEF5FD
border
#D6CFD5
text
#171017
muted
#857F85

Preview Lab

Preview with #EC8AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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