#EC91FC#EC91FC

#EC91FC is a light, vivid purple. Relative luminance 0.451; OKLCH L 78.8% C 0.174 H 321.4°. Best body text is #000000 at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#EC91FC
RGBrgb(236, 145, 252)
HSLhsl(291, 95%, 78%)
HSVhsv(291, 42%, 99%)
CMYKcmyk(6.3%, 42.5%, 0%, 1.2%)
CIE-LABlab(72.97, 50.82, -39.38)
CIE-LCHlch(72.97, 64.29, 322.23°)
OKLaboklab(78.77% 0.1359 -0.1083)
OKLCHoklch(78.77% 0.174 321.4)
XYZxyz(62.2861, 45.1143, 97.5035)
Luminance0.4511 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC91FC #A1FC91
analogous
#B691FC #EC91FC #FC91D6
triadic
#EC91FC #FCEC91 #91FCEC
tetradic
#EC91FC #FCB691 #A1FC91 #91D6FC
square
#EC91FC #FCB691 #A1FC91 #91D6FC
split-complementary
#EC91FC #D6FC91 #91FCB6
monochromatic
#D71AF9 #E255FA #EC91FC #F6CDFE #FAE1FE

Accessibility & contrast

On white

2.10
#EC91FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.02
#EC91FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC91FC
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC91FC#FFFFFF#000000##000000
##EC91FC1.002.1010.0210.02
#FFFFFF2.101.0021.0021.00
#00000010.0221.001.001.00
##00000010.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#83ADFF
Deuteranopia (green-blind)
#9BB7F9
Tritanopia (blue-blind)
#EE9EBB
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #ec91fc;
/* rgb */ color: rgb(236, 145, 252);
/* oklch */ color: oklch(78.8% 0.174 321.4);
Tailwind
colors: {
  custom: {
    50: '#f4b3fd',
    500: '#ec91fc',
    950: '#000000',
  },
}
SCSS
$custom: #ec91fc;
$custom-light: #f4b3fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ec91fc",
  "rgb": {
    "r": 236,
    "g": 145,
    "b": 252
  },
  "hsl": {
    "h": 291.028,
    "s": 94.69,
    "l": 77.843
  },
  "oklch": {
    "l": 0.78769,
    "c": 0.17379,
    "h": 321.4
  },
  "luminance": 0.45112
}

Semantic roles & 50–950 ramp

primary
#EC91FC
secondary
#DAF6D5
accent
#E60022
background
#FFFBFF
surface
#FEF6FF
border
#D6D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #EC91FC

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

Preview Lab → · Contrast checker → · Palette generator →

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