#EC9AFF#EC9AFF

#EC9AFF is a light, vivid purple. Relative luminance 0.482; OKLCH L 80.3% C 0.162 H 319.9°. Best body text is #000000 at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#EC9AFF
RGBrgb(236, 154, 255)
HSLhsl(289, 100%, 80%)
HSVhsv(289, 40%, 100%)
CMYKcmyk(7.5%, 39.6%, 0%, 0%)
CIE-LABlab(74.93, 46.75, -37.96)
CIE-LCHlch(74.93, 60.22, 320.93°)
OKLaboklab(80.28% 0.1239 -0.1043)
OKLCHoklch(80.28% 0.162 319.9)
XYZxyz(64.1954, 48.1661, 100.5037)
Luminance0.4816 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC9AFF #ADFF9A
analogous
#B99AFF #EC9AFF #FF9ADF
triadic
#EC9AFF #FFEC9A #9AFFEC
tetradic
#EC9AFF #FFB99A #ADFF9A #9ADFFF
square
#EC9AFF #FFB99A #ADFF9A #9ADFFF
split-complementary
#EC9AFF #DFFF9A #9AFFB9
monochromatic
#D520FF #E05DFF #EC9AFF #F8D7FF #F9E0FF

Accessibility & contrast

On white

1.98
#EC9AFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.63
#EC9AFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC9AFF
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC9AFF#FFFFFF#000000##000000
##EC9AFF1.001.9810.6310.63
#FFFFFF1.981.0021.0021.00
#00000010.6321.001.001.00
##00000010.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CB3FF
Deuteranopia (green-blind)
#A1BBFC
Tritanopia (blue-blind)
#EDA6C1
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #ec9aff;
/* rgb */ color: rgb(236, 154, 255);
/* oklch */ color: oklch(80.3% 0.162 319.9);
Tailwind
colors: {
  custom: {
    50: '#f3b9ff',
    500: '#ec9aff',
    950: '#000000',
  },
}
SCSS
$custom: #ec9aff;
$custom-light: #f3b9ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ec9aff",
  "rgb": {
    "r": 236,
    "g": 154,
    "b": 255
  },
  "hsl": {
    "h": 288.713,
    "s": 100,
    "l": 80.196
  },
  "oklch": {
    "l": 0.80281,
    "c": 0.16192,
    "h": 319.9
  },
  "luminance": 0.48164
}

Semantic roles & 50–950 ramp

primary
#EC9AFF
secondary
#DAF7D4
accent
#E6002B
background
#FFFBFF
surface
#FEF6FF
border
#D6D0D7
text
#171218
muted
#858186

Preview Lab

Preview with #EC9AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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