#EC99ED#EC99ED

#EC99ED is a light, vivid purple. Relative luminance 0.467; OKLCH L 79.4% C 0.146 H 326.4°. Best body text is #000000 at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#EC99ED
RGBrgb(236, 153, 237)
HSLhsl(299, 70%, 76%)
HSVhsv(299, 35%, 93%)
CMYKcmyk(0.4%, 35.4%, 0%, 7.1%)
CIE-LABlab(74.02, 43.91, -29.60)
CIE-LCHlch(74.02, 52.95, 326.02°)
OKLaboklab(79.36% 0.1213 -0.0805)
OKLCHoklch(79.36% 0.146 326.4)
XYZxyz(61.2680, 46.7322, 85.8973)
Luminance0.4673 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC99ED #9AED99
analogous
#C299ED #EC99ED #ED99C4
triadic
#EC99ED #EDEC99 #99EDEC
tetradic
#EC99ED #EDC299 #9AED99 #99C4ED
square
#EC99ED #EDC299 #9AED99 #99C4ED
split-complementary
#EC99ED #C4ED99 #99EDC2
monochromatic
#D931DB #E265E4 #EC99ED #F6CDF6 #FAE5FA

Accessibility & contrast

On white

2.03
#EC99ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.35
#EC99ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC99ED
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC99ED#FFFFFF#000000##000000
##EC99ED1.002.0310.3510.35
#FFFFFF2.031.0021.0021.00
#00000010.3521.001.001.00
##00000010.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#92AFF0
Deuteranopia (green-blind)
#A8BAEA
Tritanopia (blue-blind)
#F1A1B8
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #ec99ed;
/* rgb */ color: rgb(236, 153, 237);
/* oklch */ color: oklch(79.4% 0.146 326.4);
Tailwind
colors: {
  custom: {
    50: '#f3b8f3',
    500: '#ec99ed',
    950: '#000000',
  },
}
SCSS
$custom: #ec99ed;
$custom-light: #f3b8f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ec99ed",
  "rgb": {
    "r": 236,
    "g": 153,
    "b": 237
  },
  "hsl": {
    "h": 299.286,
    "s": 70,
    "l": 76.471
  },
  "oklch": {
    "l": 0.79364,
    "c": 0.14562,
    "h": 326.4
  },
  "luminance": 0.4673
}

Semantic roles & 50–950 ramp

primary
#EC99ED
secondary
#D9F2D9
accent
#D21416
background
#FFFBFE
surface
#FEF6FD
border
#D6D0D5
text
#171117
muted
#858085

Preview Lab

Preview with #EC99ED

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

Preview Lab → · Contrast checker → · Palette generator →

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