#EC8AFF#EC8AFF

#EC8AFF is a light, vivid purple. Relative luminance 0.432; OKLCH L 77.9% C 0.188 H 320.9°. Best body text is #000000 at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#EC8AFF
RGBrgb(236, 138, 255)
HSLhsl(290, 100%, 77%)
HSVhsv(290, 46%, 100%)
CMYKcmyk(7.5%, 45.9%, 0%, 0%)
CIE-LABlab(71.71, 54.93, -42.97)
CIE-LCHlch(71.71, 69.74, 321.96°)
OKLaboklab(77.88% 0.1461 -0.1186)
OKLCHoklch(77.88% 0.188 320.9)
XYZxyz(61.7284, 43.2322, 99.6814)
Luminance0.4323 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8AFF #9DFF8A
analogous
#B18AFF #EC8AFF #FF8AD8
triadic
#EC8AFF #FFEC8A #8AFFEC
tetradic
#EC8AFF #FFB18A #9DFF8A #8AD8FF
square
#EC8AFF #FFB18A #9DFF8A #8AD8FF
split-complementary
#EC8AFF #D8FF8A #8AFFB1
monochromatic
#D810FF #E24DFF #EC8AFF #F6C7FF #FAE0FF

Accessibility & contrast

On white

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

On black

9.65
#EC8AFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8AFF
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8AFF#FFFFFF#000000##000000
##EC8AFF1.002.189.659.65
#FFFFFF2.181.0021.0021.00
#0000009.6521.001.001.00
##0000009.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A9FF
Deuteranopia (green-blind)
#95B3FC
Tritanopia (blue-blind)
#EE99B9
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #ec8aff;
/* rgb */ color: rgb(236, 138, 255);
/* oklch */ color: oklch(77.9% 0.188 320.9);
Tailwind
colors: {
  custom: {
    50: '#f4afff',
    500: '#ec8aff',
    950: '#000000',
  },
}
SCSS
$custom: #ec8aff;
$custom-light: #f4afff;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8aff",
  "rgb": {
    "r": 236,
    "g": 138,
    "b": 255
  },
  "hsl": {
    "h": 290.256,
    "s": 100,
    "l": 77.059
  },
  "oklch": {
    "l": 0.77875,
    "c": 0.18813,
    "h": 320.9
  },
  "luminance": 0.4323
}

Semantic roles & 50–950 ramp

primary
#EC8AFF
secondary
#D9F7D4
accent
#E60025
background
#FFFAFF
surface
#FFF5FF
border
#D7CFD7
text
#171118
muted
#858086

Preview Lab

Preview with #EC8AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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