#EC99FA#EC99FA

#EC99FA is a light, vivid purple. Relative luminance 0.475; OKLCH L 79.9% C 0.158 H 321.6°. Best body text is #000000 at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#EC99FA
RGBrgb(236, 153, 250)
HSLhsl(291, 91%, 79%)
HSVhsv(291, 39%, 98%)
CMYKcmyk(5.6%, 38.8%, 0%, 2%)
CIE-LABlab(74.52, 46.32, -35.88)
CIE-LCHlch(74.52, 58.59, 322.23°)
OKLaboklab(79.91% 0.1243 -0.0984)
OKLCHoklch(79.91% 0.158 321.6)
XYZxyz(63.2366, 47.5197, 96.2651)
Luminance0.4752 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC99FA #A7FA99
analogous
#BC99FA #EC99FA #FA99D8
triadic
#EC99FA #FAEC99 #99FAEC
tetradic
#EC99FA #FABC99 #A7FA99 #99D8FA
square
#EC99FA #FABC99 #A7FA99 #99D8FA
split-complementary
#EC99FA #D8FA99 #99FABC
monochromatic
#D624F4 #E15FF7 #EC99FA #F7D3FD #FAE2FE

Accessibility & contrast

On white

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

On black

10.50
#EC99FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC99FA
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC99FA#FFFFFF#000000##000000
##EC99FA1.002.0010.5010.50
#FFFFFF2.001.0021.0021.00
#00000010.5021.001.001.00
##00000010.5021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ec99fa;
/* rgb */ color: rgb(236, 153, 250);
/* oklch */ color: oklch(79.9% 0.158 321.6);
Tailwind
colors: {
  custom: {
    50: '#f3b8fc',
    500: '#ec99fa',
    950: '#000000',
  },
}
SCSS
$custom: #ec99fa;
$custom-light: #f3b8fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ec99fa",
  "rgb": {
    "r": 236,
    "g": 153,
    "b": 250
  },
  "hsl": {
    "h": 291.34,
    "s": 90.654,
    "l": 79.02
  },
  "oklch": {
    "l": 0.79908,
    "c": 0.15848,
    "h": 321.6
  },
  "luminance": 0.47517
}

Semantic roles & 50–950 ramp

primary
#EC99FA
secondary
#DAF6D5
accent
#E60021
background
#FFFBFF
surface
#FEF6FF
border
#D6D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #EC99FA

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

Preview Lab → · Contrast checker → · Palette generator →

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