#EC99EB#EC99EB

#EC99EB is a light, vivid purple. Relative luminance 0.466; OKLCH L 79.3% C 0.144 H 327.2°. Best body text is #000000 at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#EC99EB
RGBrgb(236, 153, 235)
HSLhsl(301, 69%, 76%)
HSVhsv(301, 35%, 93%)
CMYKcmyk(0%, 35.2%, 0.4%, 7.5%)
CIE-LABlab(73.94, 43.55, -28.62)
CIE-LCHlch(73.94, 52.11, 326.69°)
OKLaboklab(79.28% 0.1209 -0.0778)
OKLCHoklch(79.28% 0.144 327.2)
XYZxyz(60.9775, 46.6160, 84.3670)
Luminance0.4661 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC99EB #99EC9A
analogous
#C499EC #EC99EB #EC99C2
triadic
#EC99EB #EBEC99 #99EBEC
tetradic
#EC99EB #ECC499 #99EC9A #99C2EC
square
#EC99EB #ECC499 #99EC9A #99C2EC
split-complementary
#EC99EB #C2EC99 #99ECC4
monochromatic
#D932D7 #E265E1 #EC99EB #F6CDF5 #FAE5FA

Accessibility & contrast

On white

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

On black

10.32
#EC99EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC99EB
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC99EB#FFFFFF#000000##000000
##EC99EB1.002.0310.3210.32
#FFFFFF2.031.0021.0021.00
#00000010.3221.001.001.00
##00000010.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#93AFEE
Deuteranopia (green-blind)
#A8BAE8
Tritanopia (blue-blind)
#F1A0B8
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #ec99eb;
/* rgb */ color: rgb(236, 153, 235);
/* oklch */ color: oklch(79.3% 0.144 327.2);
Tailwind
colors: {
  custom: {
    50: '#f3b8f1',
    500: '#ec99eb',
    950: '#000000',
  },
}
SCSS
$custom: #ec99eb;
$custom-light: #f3b8f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ec99eb",
  "rgb": {
    "r": 236,
    "g": 153,
    "b": 235
  },
  "hsl": {
    "h": 300.723,
    "s": 68.595,
    "l": 76.275
  },
  "oklch": {
    "l": 0.79283,
    "c": 0.14371,
    "h": 327.2
  },
  "luminance": 0.46613
}

Semantic roles & 50–950 ramp

primary
#EC99EB
secondary
#D9F2DA
accent
#D11715
background
#FFFBFE
surface
#FEF6FD
border
#D6D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #EC99EB

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

Preview Lab → · Contrast checker → · Palette generator →

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