#EC99EF#EC99EF

#EC99EF is a light, vivid purple. Relative luminance 0.468; OKLCH L 79.4% C 0.148 H 325.6°. Best body text is #000000 at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#EC99EF
RGBrgb(236, 153, 239)
HSLhsl(298, 73%, 77%)
HSVhsv(298, 36%, 94%)
CMYKcmyk(1.3%, 36%, 0%, 6.3%)
CIE-LABlab(74.09, 44.27, -30.57)
CIE-LCHlch(74.09, 53.80, 325.38°)
OKLaboklab(79.44% 0.1218 -0.0833)
OKLCHoklch(79.44% 0.148 325.6)
XYZxyz(61.5619, 46.8498, 87.4447)
Luminance0.4685 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC99EF #9CEF99
analogous
#C199EF #EC99EF #EF99C7
triadic
#EC99EF #EFEC99 #99EFEC
tetradic
#EC99EF #EFC199 #9CEF99 #99C7EF
square
#EC99EF #EFC199 #9CEF99 #99C7EF
split-complementary
#EC99EF #C7EF99 #99EFC1
monochromatic
#D82FDE #E264E7 #EC99EF #F6CEF7 #FAE5FB

Accessibility & contrast

On white

2.03
#EC99EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.37
#EC99EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC99EF
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC99EF#FFFFFF#000000##000000
##EC99EF1.002.0310.3710.37
#FFFFFF2.031.0021.0021.00
#00000010.3721.001.001.00
##00000010.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#92B0F2
Deuteranopia (green-blind)
#A7BAEC
Tritanopia (blue-blind)
#F0A1B9
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #ec99ef;
/* rgb */ color: rgb(236, 153, 239);
/* oklch */ color: oklch(79.4% 0.148 325.6);
Tailwind
colors: {
  custom: {
    50: '#f3b8f4',
    500: '#ec99ef',
    950: '#000000',
  },
}
SCSS
$custom: #ec99ef;
$custom-light: #f3b8f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ec99ef",
  "rgb": {
    "r": 236,
    "g": 153,
    "b": 239
  },
  "hsl": {
    "h": 297.907,
    "s": 72.881,
    "l": 76.863
  },
  "oklch": {
    "l": 0.79445,
    "c": 0.14755,
    "h": 325.6
  },
  "luminance": 0.46847
}

Semantic roles & 50–950 ramp

primary
#EC99EF
secondary
#D9F3D8
accent
#D51117
background
#FFFBFE
surface
#FEF6FD
border
#D6D0D5
text
#171117
muted
#858085

Preview Lab

Preview with #EC99EF

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

Preview Lab → · Contrast checker → · Palette generator →

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