#EC99EC#EC99EC

#EC99EC is a light, vivid purple. Relative luminance 0.467; OKLCH L 79.3% C 0.145 H 326.8°. Best body text is #000000 at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#EC99EC
RGBrgb(236, 153, 236)
HSLhsl(300, 69%, 76%)
HSVhsv(300, 35%, 93%)
CMYKcmyk(0%, 35.2%, 0%, 7.5%)
CIE-LABlab(73.98, 43.73, -29.11)
CIE-LCHlch(73.98, 52.53, 326.35°)
OKLaboklab(79.32% 0.1211 -0.0791)
OKLCHoklch(79.32% 0.145 326.8)
XYZxyz(61.1224, 46.6740, 85.1300)
Luminance0.4667 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC99EC #99EC99
analogous
#C399EC #EC99EC #EC99C3
triadic
#EC99EC #ECEC99 #99ECEC
tetradic
#EC99EC #ECC399 #99EC99 #99C3EC
square
#EC99EC #ECC399 #99EC99 #99C3EC
split-complementary
#EC99EC #C3EC99 #99ECC3
monochromatic
#D932D9 #E265E2 #EC99EC #F6CDF6 #FAE5FA

Accessibility & contrast

On white

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

On black

10.33
#EC99EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC99EC
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC99EC#FFFFFF#000000##000000
##EC99EC1.002.0310.3310.33
#FFFFFF2.031.0021.0021.00
#00000010.3321.001.001.00
##00000010.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#93AFEF
Deuteranopia (green-blind)
#A8BAE9
Tritanopia (blue-blind)
#F1A1B8
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #ec99ec;
/* rgb */ color: rgb(236, 153, 236);
/* oklch */ color: oklch(79.3% 0.145 326.8);
Tailwind
colors: {
  custom: {
    50: '#f3b8f2',
    500: '#ec99ec',
    950: '#000000',
  },
}
SCSS
$custom: #ec99ec;
$custom-light: #f3b8f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ec99ec",
  "rgb": {
    "r": 236,
    "g": 153,
    "b": 236
  },
  "hsl": {
    "h": 300,
    "s": 68.595,
    "l": 76.275
  },
  "oklch": {
    "l": 0.79323,
    "c": 0.14466,
    "h": 326.8
  },
  "luminance": 0.46671
}

Semantic roles & 50–950 ramp

primary
#EC99EC
secondary
#D9F2D9
accent
#D11515
background
#FFFBFE
surface
#FEF6FD
border
#D6D0D5
text
#171117
muted
#858085

Preview Lab

Preview with #EC99EC

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

Preview Lab → · Contrast checker → · Palette generator →

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