#EC99FB#EC99FB

#EC99FB is a light, vivid purple. Relative luminance 0.476; OKLCH L 80.0% C 0.159 H 321.3°. Best body text is #000000 at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#EC99FB
RGBrgb(236, 153, 251)
HSLhsl(291, 92%, 79%)
HSVhsv(291, 39%, 98%)
CMYKcmyk(6%, 39%, 0%, 1.6%)
CIE-LABlab(74.56, 46.51, -36.36)
CIE-LCHlch(74.56, 59.04, 321.98°)
OKLaboklab(79.95% 0.1245 -0.0997)
OKLCHoklch(79.95% 0.159 321.3)
XYZxyz(63.3938, 47.5825, 97.0931)
Luminance0.4758 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC99FB #A8FB99
analogous
#BB99FB #EC99FB #FB99D9
triadic
#EC99FB #FBEC99 #99FBEC
tetradic
#EC99FB #FBBB99 #A8FB99 #99D9FB
square
#EC99FB #FBBB99 #A8FB99 #99D9FB
split-complementary
#EC99FB #D9FB99 #99FBBB
monochromatic
#D623F6 #E15EF9 #EC99FB #F7D4FD #FAE2FE

Accessibility & contrast

On white

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

On black

10.52
#EC99FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC99FB
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC99FB#FFFFFF#000000##000000
##EC99FB1.002.0010.5210.52
#FFFFFF2.001.0021.0021.00
#00000010.5221.001.001.00
##00000010.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DB1FF
Deuteranopia (green-blind)
#A2BBF8
Tritanopia (blue-blind)
#EEA4BE
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #ec99fb;
/* rgb */ color: rgb(236, 153, 251);
/* oklch */ color: oklch(80.0% 0.159 321.3);
Tailwind
colors: {
  custom: {
    50: '#f3b8fd',
    500: '#ec99fb',
    950: '#000000',
  },
}
SCSS
$custom: #ec99fb;
$custom-light: #f3b8fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ec99fb",
  "rgb": {
    "r": 236,
    "g": 153,
    "b": 251
  },
  "hsl": {
    "h": 290.816,
    "s": 92.453,
    "l": 79.216
  },
  "oklch": {
    "l": 0.79951,
    "c": 0.15949,
    "h": 321.3
  },
  "luminance": 0.4758
}

Semantic roles & 50–950 ramp

primary
#EC99FB
secondary
#DAF6D5
accent
#E60023
background
#FFFBFF
surface
#FEF6FF
border
#D6D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #EC99FB

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

Preview Lab → · Contrast checker → · Palette generator →

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