#EC91F8#EC91F8

#EC91F8 is a light, vivid purple. Relative luminance 0.449; OKLCH L 78.6% C 0.170 H 322.7°. Best body text is #000000 at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#EC91F8
RGBrgb(236, 145, 248)
HSLhsl(293, 88%, 77%)
HSVhsv(293, 42%, 97%)
CMYKcmyk(4.8%, 41.5%, 0%, 2.7%)
CIE-LABlab(72.80, 50.07, -37.47)
CIE-LCHlch(72.80, 62.53, 323.19°)
OKLaboklab(78.59% 0.1352 -0.1028)
OKLCHoklch(78.59% 0.17 322.7)
XYZxyz(61.6589, 44.8634, 94.2003)
Luminance0.4486 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC91F8 #9DF891
analogous
#B991F8 #EC91F8 #F891D0
triadic
#EC91F8 #F8EC91 #91F8EC
tetradic
#EC91F8 #F8B991 #9DF891 #91D0F8
square
#EC91F8 #F8B991 #9DF891 #91D0F8
split-complementary
#EC91F8 #D0F891 #91F8B9
monochromatic
#D81EF1 #E257F4 #EC91F8 #F6CBFC #FAE2FD

Accessibility & contrast

On white

2.11
#EC91F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.97
#EC91F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC91F8
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC91F8#FFFFFF#000000##000000
##EC91F81.002.119.979.97
#FFFFFF2.111.0021.0021.00
#0000009.9721.001.001.00
##0000009.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#85ACFC
Deuteranopia (green-blind)
#9DB6F5
Tritanopia (blue-blind)
#EF9DB9
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #ec91f8;
/* rgb */ color: rgb(236, 145, 248);
/* oklch */ color: oklch(78.6% 0.170 322.7);
Tailwind
colors: {
  custom: {
    50: '#f4b3fb',
    500: '#ec91f8',
    950: '#000000',
  },
}
SCSS
$custom: #ec91f8;
$custom-light: #f4b3fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ec91f8",
  "rgb": {
    "r": 236,
    "g": 145,
    "b": 248
  },
  "hsl": {
    "h": 293.01,
    "s": 88.034,
    "l": 77.059
  },
  "oklch": {
    "l": 0.78591,
    "c": 0.16982,
    "h": 322.7
  },
  "luminance": 0.44861
}

Semantic roles & 50–950 ramp

primary
#EC91F8
secondary
#D9F5D6
accent
#E5011B
background
#FFFBFF
surface
#FEF6FF
border
#D6D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #EC91F8

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

Preview Lab → · Contrast checker → · Palette generator →

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