#EC91DD#EC91DD

#EC91DD is a light, vivid purple. Relative luminance 0.433; OKLCH L 77.5% C 0.145 H 333.1°. Best body text is #000000 at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#EC91DD
RGBrgb(236, 145, 221)
HSLhsl(310, 71%, 75%)
HSVhsv(310, 39%, 93%)
CMYKcmyk(0%, 38.6%, 6.4%, 7.5%)
CIE-LABlab(71.76, 45.24, -24.29)
CIE-LCHlch(71.76, 51.35, 331.77°)
OKLaboklab(77.47% 0.1291 -0.0655)
OKLCHoklch(77.47% 0.145 333.1)
XYZxyz(57.7682, 43.3071, 73.7089)
Luminance0.4330 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC91DD #91ECA0
analogous
#CE91EC #EC91DD #EC91B0
triadic
#EC91DD #DDEC91 #91DDEC
tetradic
#EC91DD #ECCE91 #91ECA0 #91B0EC
square
#EC91DD #ECCE91 #91ECA0 #91B0EC
split-complementary
#EC91DD #B0EC91 #91ECCE
monochromatic
#DA29BD #E35DCD #EC91DD #F5C5ED #FAE5F7

Accessibility & contrast

On white

2.17
#EC91DD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.66
#EC91DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC91DD
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC91DD#FFFFFF#000000##000000
##EC91DD1.002.179.669.66
#FFFFFF2.171.0021.0021.00
#0000009.6621.001.001.00
##0000009.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#90A8E0
Deuteranopia (green-blind)
#A7B5DA
Tritanopia (blue-blind)
#F496AD
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #ec91dd;
/* rgb */ color: rgb(236, 145, 221);
/* oklch */ color: oklch(77.5% 0.145 333.1);
Tailwind
colors: {
  custom: {
    50: '#f3b3e7',
    500: '#ec91dd',
    950: '#000000',
  },
}
SCSS
$custom: #ec91dd;
$custom-light: #f3b3e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ec91dd",
  "rgb": {
    "r": 236,
    "g": 145,
    "b": 221
  },
  "hsl": {
    "h": 309.89,
    "s": 70.543,
    "l": 74.706
  },
  "oklch": {
    "l": 0.77469,
    "c": 0.14478,
    "h": 333.1
  },
  "luminance": 0.43304
}

Semantic roles & 50–950 ramp

primary
#EC91DD
secondary
#D9F2DD
accent
#D33313
background
#FFFBFE
surface
#FEF6FC
border
#D6D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #EC91DD

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

Preview Lab → · Contrast checker → · Palette generator →

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