#EC91FE#EC91FE

#EC91FE is a light, vivid purple. Relative luminance 0.452; OKLCH L 78.9% C 0.176 H 320.8°. Best body text is #000000 at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#EC91FE
RGBrgb(236, 145, 254)
HSLhsl(290, 98%, 78%)
HSVhsv(290, 43%, 100%)
CMYKcmyk(7.1%, 42.9%, 0%, 0.4%)
CIE-LABlab(73.05, 51.20, -40.34)
CIE-LCHlch(73.05, 65.18, 321.77°)
OKLaboklab(78.86% 0.1363 -0.111)
OKLCHoklch(78.86% 0.176 320.8)
XYZxyz(62.6047, 45.2417, 99.1815)
Luminance0.4524 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC91FE #A3FE91
analogous
#B591FE #EC91FE #FE91D9
triadic
#EC91FE #FEEC91 #91FEEC
tetradic
#EC91FE #FEB591 #A3FE91 #91D9FE
square
#EC91FE #FEB591 #A3FE91 #91D9FE
split-complementary
#EC91FE #D9FE91 #91FEB5
monochromatic
#D718FD #E254FD #EC91FE #F6CEFF #FAE1FF

Accessibility & contrast

On white

2.09
#EC91FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.05
#EC91FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC91FE
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC91FE#FFFFFF#000000##000000
##EC91FE1.002.0910.0510.05
#FFFFFF2.091.0021.0021.00
#00000010.0521.001.001.00
##00000010.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#82ADFF
Deuteranopia (green-blind)
#9BB7FB
Tritanopia (blue-blind)
#EE9EBC
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #ec91fe;
/* rgb */ color: rgb(236, 145, 254);
/* oklch */ color: oklch(78.9% 0.176 320.8);
Tailwind
colors: {
  custom: {
    50: '#f4b3ff',
    500: '#ec91fe',
    950: '#000000',
  },
}
SCSS
$custom: #ec91fe;
$custom-light: #f4b3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ec91fe",
  "rgb": {
    "r": 236,
    "g": 145,
    "b": 254
  },
  "hsl": {
    "h": 290.092,
    "s": 98.198,
    "l": 78.235
  },
  "oklch": {
    "l": 0.78859,
    "c": 0.17579,
    "h": 320.8
  },
  "luminance": 0.45239
}

Semantic roles & 50–950 ramp

primary
#EC91FE
secondary
#DAF7D4
accent
#E60026
background
#FFFBFF
surface
#FEF6FF
border
#D6D0D7
text
#171118
muted
#858086

Preview Lab

Preview with #EC91FE

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

Preview Lab → · Contrast checker → · Palette generator →

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