#EC91ED#EC91ED

#EC91ED is a light, vivid purple. Relative luminance 0.442; OKLCH L 78.1% C 0.159 H 326.6°. Best body text is #000000 at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#EC91ED
RGBrgb(236, 145, 237)
HSLhsl(299, 72%, 75%)
HSVhsv(299, 39%, 93%)
CMYKcmyk(0.4%, 38.8%, 0%, 7.1%)
CIE-LABlab(72.36, 48.05, -32.15)
CIE-LCHlch(72.36, 57.81, 326.22°)
OKLaboklab(78.12% 0.1329 -0.0877)
OKLCHoklch(78.12% 0.159 326.6)
XYZxyz(60.0023, 44.2007, 85.4753)
Luminance0.4420 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC91ED #92ED91
analogous
#BE91ED #EC91ED #ED91C0
triadic
#EC91ED #EDEC91 #91EDEC
tetradic
#EC91ED #EDBE91 #92ED91 #91C0ED
square
#EC91ED #EDBE91 #92ED91 #91C0ED
split-complementary
#EC91ED #C0ED91 #91EDBE
monochromatic
#DA28DC #E35CE4 #EC91ED #F5C6F6 #FAE5FB

Accessibility & contrast

On white

2.13
#EC91ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.84
#EC91ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC91ED
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC91ED#FFFFFF#000000##000000
##EC91ED1.002.139.849.84
#FFFFFF2.131.0021.0021.00
#0000009.8421.001.001.00
##0000009.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AAAF0
Deuteranopia (green-blind)
#A1B6EA
Tritanopia (blue-blind)
#F19AB4
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #ec91ed;
/* rgb */ color: rgb(236, 145, 237);
/* oklch */ color: oklch(78.1% 0.159 326.6);
Tailwind
colors: {
  custom: {
    50: '#f4b3f3',
    500: '#ec91ed',
    950: '#000000',
  },
}
SCSS
$custom: #ec91ed;
$custom-light: #f4b3f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ec91ed",
  "rgb": {
    "r": 236,
    "g": 145,
    "b": 237
  },
  "hsl": {
    "h": 299.348,
    "s": 71.875,
    "l": 74.902
  },
  "oklch": {
    "l": 0.78118,
    "c": 0.15922,
    "h": 326.6
  },
  "luminance": 0.44198
}

Semantic roles & 50–950 ramp

primary
#EC91ED
secondary
#D9F2D9
accent
#D41214
background
#FFFBFE
surface
#FEF6FD
border
#D6D0D5
text
#171117
muted
#858085

Preview Lab

Preview with #EC91ED

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

Preview Lab → · Contrast checker → · Palette generator →

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