#EC96FB#EC96FB

#EC96FB is a light, vivid purple. Relative luminance 0.466; OKLCH L 79.5% C 0.165 H 321.5°. Best body text is #000000 at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#EC96FB
RGBrgb(236, 150, 251)
HSLhsl(291, 93%, 79%)
HSVhsv(291, 40%, 98%)
CMYKcmyk(6%, 40.2%, 0%, 1.6%)
CIE-LABlab(73.94, 48.06, -37.33)
CIE-LCHlch(73.94, 60.85, 322.17°)
OKLaboklab(79.49% 0.1287 -0.1025)
OKLCHoklch(79.49% 0.165 321.5)
XYZxyz(62.9090, 46.6128, 96.9315)
Luminance0.4661 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC96FB #A5FB96
analogous
#B996FB #EC96FB #FB96D7
triadic
#EC96FB #FBEC96 #96FBEC
tetradic
#EC96FB #FBB996 #A5FB96 #96D7FB
square
#EC96FB #FBB996 #A5FB96 #96D7FB
split-complementary
#EC96FB #D7FB96 #96FBB9
monochromatic
#D720F7 #E15BF9 #EC96FB #F7D1FD #FAE2FE

Accessibility & contrast

On white

2.03
#EC96FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.32
#EC96FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC96FB
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC96FB#FFFFFF#000000##000000
##EC96FB1.002.0310.3210.32
#FFFFFF2.031.0021.0021.00
#00000010.3221.001.001.00
##00000010.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#89B0FF
Deuteranopia (green-blind)
#A0B9F8
Tritanopia (blue-blind)
#EEA2BD
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #ec96fb;
/* rgb */ color: rgb(236, 150, 251);
/* oklch */ color: oklch(79.5% 0.165 321.5);
Tailwind
colors: {
  custom: {
    50: '#f4b6fd',
    500: '#ec96fb',
    950: '#000000',
  },
}
SCSS
$custom: #ec96fb;
$custom-light: #f4b6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ec96fb",
  "rgb": {
    "r": 236,
    "g": 150,
    "b": 251
  },
  "hsl": {
    "h": 291.089,
    "s": 92.661,
    "l": 78.627
  },
  "oklch": {
    "l": 0.79486,
    "c": 0.1645,
    "h": 321.5
  },
  "luminance": 0.46611
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC96FB

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

Preview Lab → · Contrast checker → · Palette generator →

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