#EC99F7#EC99F7

#EC99F7 is a light, vivid purple. Relative luminance 0.473; OKLCH L 79.8% C 0.155 H 322.7°. Best body text is #000000 at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#EC99F7
RGBrgb(236, 153, 247)
HSLhsl(293, 85%, 78%)
HSVhsv(293, 38%, 97%)
CMYKcmyk(4.5%, 38.1%, 0%, 3.1%)
CIE-LABlab(74.40, 45.75, -34.44)
CIE-LCHlch(74.40, 57.27, 323.03°)
OKLaboklab(79.78% 0.1236 -0.0943)
OKLCHoklch(79.78% 0.155 322.7)
XYZxyz(62.7700, 47.3330, 93.8074)
Luminance0.4733 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC99F7 #A4F799
analogous
#BD99F7 #EC99F7 #F799D3
triadic
#EC99F7 #F7EC99 #99F7EC
tetradic
#EC99F7 #F7BD99 #A4F799 #99D3F7
square
#EC99F7 #F7BD99 #A4F799 #99D3F7
split-complementary
#EC99F7 #D3F799 #99F7BD
monochromatic
#D727EE #E160F3 #EC99F7 #F7D2FB #FAE3FD

Accessibility & contrast

On white

2.01
#EC99F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.47
#EC99F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC99F7
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC99F7#FFFFFF#000000##000000
##EC99F71.002.0110.4710.47
#FFFFFF2.011.0021.0021.00
#00000010.4721.001.001.00
##00000010.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EB1FA
Deuteranopia (green-blind)
#A4BAF4
Tritanopia (blue-blind)
#EFA3BD
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #ec99f7;
/* rgb */ color: rgb(236, 153, 247);
/* oklch */ color: oklch(79.8% 0.155 322.7);
Tailwind
colors: {
  custom: {
    50: '#f3b8fa',
    500: '#ec99f7',
    950: '#000000',
  },
}
SCSS
$custom: #ec99f7;
$custom-light: #f3b8fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ec99f7",
  "rgb": {
    "r": 236,
    "g": 153,
    "b": 247
  },
  "hsl": {
    "h": 292.979,
    "s": 85.455,
    "l": 78.431
  },
  "oklch": {
    "l": 0.79779,
    "c": 0.15545,
    "h": 322.7
  },
  "luminance": 0.47331
}

Semantic roles & 50–950 ramp

primary
#EC99F7
secondary
#DAF5D6
accent
#E2041E
background
#FFFBFF
surface
#FEF6FF
border
#D6D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #EC99F7

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

Preview Lab → · Contrast checker → · Palette generator →

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