#EC99F8#EC99F8

#EC99F8 is a light, vivid purple. Relative luminance 0.474; OKLCH L 79.8% C 0.156 H 322.3°. Best body text is #000000 at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#EC99F8
RGBrgb(236, 153, 248)
HSLhsl(292, 87%, 79%)
HSVhsv(292, 38%, 97%)
CMYKcmyk(4.8%, 38.3%, 0%, 2.7%)
CIE-LABlab(74.44, 45.94, -34.92)
CIE-LCHlch(74.44, 57.71, 322.76°)
OKLaboklab(79.82% 0.1238 -0.0956)
OKLCHoklch(79.82% 0.156 322.3)
XYZxyz(62.9247, 47.3949, 94.6222)
Luminance0.4739 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC99F8 #A5F899
analogous
#BC99F8 #EC99F8 #F899D4
triadic
#EC99F8 #F8EC99 #99F8EC
tetradic
#EC99F8 #F8BC99 #A5F899 #99D4F8
square
#EC99F8 #F8BC99 #A5F899 #99D4F8
split-complementary
#EC99F8 #D4F899 #99F8BC
monochromatic
#D726F0 #E160F4 #EC99F8 #F7D2FC #FAE2FD

Accessibility & contrast

On white

2.00
#EC99F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.48
#EC99F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC99F8
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC99F8#FFFFFF#000000##000000
##EC99F81.002.0010.4810.48
#FFFFFF2.001.0021.0021.00
#00000010.4821.001.001.00
##00000010.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EB1FB
Deuteranopia (green-blind)
#A3BAF5
Tritanopia (blue-blind)
#EFA4BD
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #ec99f8;
/* rgb */ color: rgb(236, 153, 248);
/* oklch */ color: oklch(79.8% 0.156 322.3);
Tailwind
colors: {
  custom: {
    50: '#f3b8fb',
    500: '#ec99f8',
    950: '#000000',
  },
}
SCSS
$custom: #ec99f8;
$custom-light: #f3b8fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ec99f8",
  "rgb": {
    "r": 236,
    "g": 153,
    "b": 248
  },
  "hsl": {
    "h": 292.421,
    "s": 87.156,
    "l": 78.627
  },
  "oklch": {
    "l": 0.79822,
    "c": 0.15645,
    "h": 322.3
  },
  "luminance": 0.47393
}

Semantic roles & 50–950 ramp

primary
#EC99F8
secondary
#DAF5D6
accent
#E4021E
background
#FFFBFF
surface
#FEF6FF
border
#D6D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #EC99F8

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

Preview Lab → · Contrast checker → · Palette generator →

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