#EC94FB#EC94FB

#EC94FB is a light, vivid purple. Relative luminance 0.460; OKLCH L 79.2% C 0.168 H 321.6°. Best body text is #000000 at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#EC94FB
RGBrgb(236, 148, 251)
HSLhsl(291, 93%, 78%)
HSVhsv(291, 41%, 98%)
CMYKcmyk(6%, 41%, 0%, 1.6%)
CIE-LABlab(73.53, 49.09, -37.96)
CIE-LCHlch(73.53, 62.06, 322.29°)
OKLaboklab(79.18% 0.1315 -0.1043)
OKLCHoklch(79.18% 0.168 321.6)
XYZxyz(62.5926, 45.9800, 96.8260)
Luminance0.4598 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC94FB #A3FB94
analogous
#B894FB #EC94FB #FB94D6
triadic
#EC94FB #FBEC94 #94FBEC
tetradic
#EC94FB #FBB894 #A3FB94 #94D6FB
square
#EC94FB #FBB894 #A3FB94 #94D6FB
split-complementary
#EC94FB #D6FB94 #94FBB8
monochromatic
#D71EF7 #E259F9 #EC94FB #F6CFFD #FAE2FE

Accessibility & contrast

On white

2.06
#EC94FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.20
#EC94FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC94FB
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC94FB#FFFFFF#000000##000000
##EC94FB1.002.0610.2010.20
#FFFFFF2.061.0021.0021.00
#00000010.2021.001.001.00
##00000010.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#87AEFF
Deuteranopia (green-blind)
#9EB8F8
Tritanopia (blue-blind)
#EEA0BC
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #ec94fb;
/* rgb */ color: rgb(236, 148, 251);
/* oklch */ color: oklch(79.2% 0.168 321.6);
Tailwind
colors: {
  custom: {
    50: '#f4b5fd',
    500: '#ec94fb',
    950: '#000000',
  },
}
SCSS
$custom: #ec94fb;
$custom-light: #f4b5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ec94fb",
  "rgb": {
    "r": 236,
    "g": 148,
    "b": 251
  },
  "hsl": {
    "h": 291.262,
    "s": 92.793,
    "l": 78.235
  },
  "oklch": {
    "l": 0.79179,
    "c": 0.16783,
    "h": 321.6
  },
  "luminance": 0.45978
}

Semantic roles & 50–950 ramp

primary
#EC94FB
secondary
#DAF6D5
accent
#E60021
background
#FFFBFF
surface
#FEF6FF
border
#D6D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #EC94FB

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

Preview Lab → · Contrast checker → · Palette generator →

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