#EC99DF#EC99DF

#EC99DF is a light, vivid purple. Relative luminance 0.459; OKLCH L 78.8% C 0.133 H 332.5°. Best body text is #000000 at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#EC99DF
RGBrgb(236, 153, 223)
HSLhsl(309, 69%, 76%)
HSVhsv(309, 35%, 93%)
CMYKcmyk(0%, 35.2%, 5.5%, 7.5%)
CIE-LABlab(73.51, 41.43, -22.73)
CIE-LCHlch(73.51, 47.25, 331.25°)
OKLaboklab(78.81% 0.1178 -0.0612)
OKLCHoklch(78.81% 0.133 332.5)
XYZxyz(59.3019, 45.9458, 75.5425)
Luminance0.4594 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC99DF #99ECA6
analogous
#D099EC #EC99DF #EC99B6
triadic
#EC99DF #DFEC99 #99DFEC
tetradic
#EC99DF #ECD099 #99ECA6 #99B6EC
square
#EC99DF #ECD099 #99ECA6 #99B6EC
split-complementary
#EC99DF #B6EC99 #99ECD0
monochromatic
#D932BF #E265CF #EC99DF #F6CDEF #FAE5F7

Accessibility & contrast

On white

2.06
#EC99DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.19
#EC99DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC99DF
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC99DF#FFFFFF#000000##000000
##EC99DF1.002.0610.1910.19
#FFFFFF2.061.0021.0021.00
#00000010.1921.001.001.00
##00000010.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#98ADE2
Deuteranopia (green-blind)
#ACB9DC
Tritanopia (blue-blind)
#F39EB3
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #ec99df;
/* rgb */ color: rgb(236, 153, 223);
/* oklch */ color: oklch(78.8% 0.133 332.5);
Tailwind
colors: {
  custom: {
    50: '#f3b8e9',
    500: '#ec99df',
    950: '#000000',
  },
}
SCSS
$custom: #ec99df;
$custom-light: #f3b8e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ec99df",
  "rgb": {
    "r": 236,
    "g": 153,
    "b": 223
  },
  "hsl": {
    "h": 309.398,
    "s": 68.595,
    "l": 76.275
  },
  "oklch": {
    "l": 0.78813,
    "c": 0.13274,
    "h": 332.5
  },
  "luminance": 0.45943
}

Semantic roles & 50–950 ramp

primary
#EC99DF
secondary
#D9F2DD
accent
#D13215
background
#FFFBFE
surface
#FEF6FC
border
#D6D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #EC99DF

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

Preview Lab → · Contrast checker → · Palette generator →

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