#EC99F2#EC99F2

#EC99F2 is a light, vivid purple. Relative luminance 0.470; OKLCH L 79.6% C 0.150 H 324.5°. Best body text is #000000 at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#EC99F2
RGBrgb(236, 153, 242)
HSLhsl(296, 77%, 77%)
HSVhsv(296, 37%, 95%)
CMYKcmyk(2.5%, 36.8%, 0%, 5.1%)
CIE-LABlab(74.21, 44.82, -32.03)
CIE-LCHlch(74.21, 55.09, 324.46°)
OKLaboklab(79.57% 0.1225 -0.0874)
OKLCHoklch(79.57% 0.15 324.5)
XYZxyz(62.0087, 47.0285, 89.7982)
Luminance0.4703 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC99F2 #9FF299
analogous
#BF99F2 #EC99F2 #F299CC
triadic
#EC99F2 #F2EC99 #99F2EC
tetradic
#EC99F2 #F2BF99 #9FF299 #99CCF2
square
#EC99F2 #F2BF99 #9FF299 #99CCF2
split-complementary
#EC99F2 #CCF299 #99F2BF
monochromatic
#D82CE4 #E263EB #EC99F2 #F6CFF9 #FAE4FC

Accessibility & contrast

On white

2.02
#EC99F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.41
#EC99F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC99F2
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC99F2#FFFFFF#000000##000000
##EC99F21.002.0210.4110.41
#FFFFFF2.021.0021.0021.00
#00000010.4121.001.001.00
##00000010.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#91B0F5
Deuteranopia (green-blind)
#A6BAEF
Tritanopia (blue-blind)
#F0A2BB
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #ec99f2;
/* rgb */ color: rgb(236, 153, 242);
/* oklch */ color: oklch(79.6% 0.150 324.5);
Tailwind
colors: {
  custom: {
    50: '#f3b8f6',
    500: '#ec99f2',
    950: '#000000',
  },
}
SCSS
$custom: #ec99f2;
$custom-light: #f3b8f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ec99f2",
  "rgb": {
    "r": 236,
    "g": 153,
    "b": 242
  },
  "hsl": {
    "h": 295.955,
    "s": 77.391,
    "l": 77.451
  },
  "oklch": {
    "l": 0.79569,
    "c": 0.15048,
    "h": 324.5
  },
  "luminance": 0.47026
}

Semantic roles & 50–950 ramp

primary
#EC99F2
secondary
#DAF3D8
accent
#DA0C1A
background
#FFFBFF
surface
#FEF6FE
border
#D6D0D6
text
#171117
muted
#858085

Preview Lab

Preview with #EC99F2

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

Preview Lab → · Contrast checker → · Palette generator →

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