#EC99FF#EC99FF

#EC99FF is a light, vivid purple. Relative luminance 0.478; OKLCH L 80.1% C 0.164 H 320.0°. Best body text is #000000 at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#EC99FF
RGBrgb(236, 153, 255)
HSLhsl(289, 100%, 80%)
HSVhsv(289, 40%, 100%)
CMYKcmyk(7.5%, 40%, 0%, 0%)
CIE-LABlab(74.72, 47.27, -38.28)
CIE-LCHlch(74.72, 60.83, 321.00°)
OKLaboklab(80.13% 0.1253 -0.1052)
OKLCHoklch(80.13% 0.164 320)
XYZxyz(64.0310, 47.8374, 100.4490)
Luminance0.4783 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC99FF #ACFF99
analogous
#B999FF #EC99FF #FF99DF
triadic
#EC99FF #FFEC99 #99FFEC
tetradic
#EC99FF #FFB999 #ACFF99 #99DFFF
square
#EC99FF #FFB999 #ACFF99 #99DFFF
split-complementary
#EC99FF #DFFF99 #99FFB9
monochromatic
#D51FFF #E15CFF #EC99FF #F7D6FF #F9E0FF

Accessibility & contrast

On white

1.99
#EC99FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.57
#EC99FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC99FF
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC99FF#FFFFFF#000000##000000
##EC99FF1.001.9910.5710.57
#FFFFFF1.991.0021.0021.00
#00000010.5721.001.001.00
##00000010.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ec99ff;
/* rgb */ color: rgb(236, 153, 255);
/* oklch */ color: oklch(80.1% 0.164 320.0);
Tailwind
colors: {
  custom: {
    50: '#f3b8ff',
    500: '#ec99ff',
    950: '#000000',
  },
}
SCSS
$custom: #ec99ff;
$custom-light: #f3b8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ec99ff",
  "rgb": {
    "r": 236,
    "g": 153,
    "b": 255
  },
  "hsl": {
    "h": 288.824,
    "s": 100,
    "l": 80
  },
  "oklch": {
    "l": 0.80125,
    "c": 0.16358,
    "h": 320
  },
  "luminance": 0.47835
}

Semantic roles & 50–950 ramp

primary
#EC99FF
secondary
#DAF7D4
accent
#E6002B
background
#FFFBFF
surface
#FEF6FF
border
#D6D0D7
text
#171118
muted
#858086

Preview Lab

Preview with #EC99FF

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

Preview Lab → · Contrast checker → · Palette generator →

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