#EC91EF#EC91EF

#EC91EF is a light, vivid purple. Relative luminance 0.443; OKLCH L 78.2% C 0.161 H 325.9°. Best body text is #000000 at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#EC91EF
RGBrgb(236, 145, 239)
HSLhsl(298, 75%, 75%)
HSVhsv(298, 39%, 94%)
CMYKcmyk(1.3%, 39.3%, 0%, 6.3%)
CIE-LABlab(72.44, 48.41, -33.12)
CIE-LCHlch(72.44, 58.66, 325.62°)
OKLaboklab(78.2% 0.1333 -0.0904)
OKLCHoklch(78.2% 0.161 325.9)
XYZxyz(60.2961, 44.3183, 87.0228)
Luminance0.4432 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC91EF #94EF91
analogous
#BD91EF #EC91EF #EF91C3
triadic
#EC91EF #EFEC91 #91EFEC
tetradic
#EC91EF #EFBD91 #94EF91 #91C3EF
square
#EC91EF #EFBD91 #94EF91 #91C3EF
split-complementary
#EC91EF #C3EF91 #91EFBD
monochromatic
#DA26DF #E35CE7 #EC91EF #F5C6F7 #FAE4FB

Accessibility & contrast

On white

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

On black

9.86
#EC91EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC91EF
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC91EF#FFFFFF#000000##000000
##EC91EF1.002.139.869.86
#FFFFFF2.131.0021.0021.00
#0000009.8621.001.001.00
##0000009.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#89AAF2
Deuteranopia (green-blind)
#A1B6EC
Tritanopia (blue-blind)
#F19AB5
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #ec91ef;
/* rgb */ color: rgb(236, 145, 239);
/* oklch */ color: oklch(78.2% 0.161 325.9);
Tailwind
colors: {
  custom: {
    50: '#f4b3f4',
    500: '#ec91ef',
    950: '#000000',
  },
}
SCSS
$custom: #ec91ef;
$custom-light: #f4b3f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ec91ef",
  "rgb": {
    "r": 236,
    "g": 145,
    "b": 239
  },
  "hsl": {
    "h": 298.085,
    "s": 74.603,
    "l": 75.294
  },
  "oklch": {
    "l": 0.78202,
    "c": 0.16111,
    "h": 325.9
  },
  "luminance": 0.44316
}

Semantic roles & 50–950 ramp

primary
#EC91EF
secondary
#D9F3D8
accent
#D70F15
background
#FFFBFE
surface
#FEF6FD
border
#D6D0D5
text
#171117
muted
#858085

Preview Lab

Preview with #EC91EF

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

Preview Lab → · Contrast checker → · Palette generator →

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