#EC91FB#EC91FB

#EC91FB is a light, vivid purple. Relative luminance 0.450; OKLCH L 78.7% C 0.173 H 321.8°. Best body text is #000000 at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#EC91FB
RGBrgb(236, 145, 251)
HSLhsl(292, 93%, 78%)
HSVhsv(292, 42%, 98%)
CMYKcmyk(6%, 42.2%, 0%, 1.6%)
CIE-LABlab(72.93, 50.63, -38.90)
CIE-LCHlch(72.93, 63.85, 322.46°)
OKLaboklab(78.72% 0.1357 -0.1069)
OKLCHoklch(78.72% 0.173 321.8)
XYZxyz(62.1281, 45.0510, 96.6712)
Luminance0.4505 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC91FB #A0FB91
analogous
#B791FB #EC91FB #FB91D5
triadic
#EC91FB #FBEC91 #91FBEC
tetradic
#EC91FB #FBB791 #A0FB91 #91D5FB
square
#EC91FB #FBB791 #A0FB91 #91D5FB
split-complementary
#EC91FB #D5FB91 #91FBB7
monochromatic
#D81BF7 #E256F9 #EC91FB #F6CCFD #FAE1FE

Accessibility & contrast

On white

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

On black

10.01
#EC91FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC91FB
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC91FB#FFFFFF#000000##000000
##EC91FB1.002.1010.0110.01
#FFFFFF2.101.0021.0021.00
#00000010.0121.001.001.00
##00000010.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#83ACFF
Deuteranopia (green-blind)
#9CB7F8
Tritanopia (blue-blind)
#EE9EBA
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #ec91fb;
/* rgb */ color: rgb(236, 145, 251);
/* oklch */ color: oklch(78.7% 0.173 321.8);
Tailwind
colors: {
  custom: {
    50: '#f4b3fd',
    500: '#ec91fb',
    950: '#000000',
  },
}
SCSS
$custom: #ec91fb;
$custom-light: #f4b3fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ec91fb",
  "rgb": {
    "r": 236,
    "g": 145,
    "b": 251
  },
  "hsl": {
    "h": 291.509,
    "s": 92.982,
    "l": 77.647
  },
  "oklch": {
    "l": 0.78724,
    "c": 0.17279,
    "h": 321.8
  },
  "luminance": 0.45049
}

Semantic roles & 50–950 ramp

primary
#EC91FB
secondary
#DAF6D5
accent
#E60020
background
#FFFBFF
surface
#FEF6FF
border
#D6D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #EC91FB

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

Preview Lab → · Contrast checker → · Palette generator →

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