#EC96FA#EC96FA

#EC96FA is a light, vivid purple. Relative luminance 0.465; OKLCH L 79.4% C 0.164 H 321.8°. Best body text is #000000 at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#EC96FA
RGBrgb(236, 150, 250)
HSLhsl(292, 91%, 78%)
HSVhsv(292, 40%, 98%)
CMYKcmyk(5.6%, 40%, 0%, 2%)
CIE-LABlab(73.90, 47.87, -36.85)
CIE-LCHlch(73.90, 60.41, 322.42°)
OKLaboklab(79.44% 0.1285 -0.1011)
OKLCHoklch(79.44% 0.164 321.8)
XYZxyz(62.7518, 46.5500, 96.1035)
Luminance0.4655 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC96FA #A4FA96
analogous
#BA96FA #EC96FA #FA96D6
triadic
#EC96FA #FAEC96 #96FAEC
tetradic
#EC96FA #FABA96 #A4FA96 #96D6FA
square
#EC96FA #FABA96 #A4FA96 #96D6FA
split-complementary
#EC96FA #D6FA96 #96FABA
monochromatic
#D721F4 #E15CF7 #EC96FA #F7D0FD #FAE2FE

Accessibility & contrast

On white

2.04
#EC96FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.31
#EC96FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC96FA
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC96FA#FFFFFF#000000##000000
##EC96FA1.002.0410.3110.31
#FFFFFF2.041.0021.0021.00
#00000010.3121.001.001.00
##00000010.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AAFFE
Deuteranopia (green-blind)
#A0B9F7
Tritanopia (blue-blind)
#EEA2BC
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #ec96fa;
/* rgb */ color: rgb(236, 150, 250);
/* oklch */ color: oklch(79.4% 0.164 321.8);
Tailwind
colors: {
  custom: {
    50: '#f3b6fc',
    500: '#ec96fa',
    950: '#000000',
  },
}
SCSS
$custom: #ec96fa;
$custom-light: #f3b6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ec96fa",
  "rgb": {
    "r": 236,
    "g": 150,
    "b": 250
  },
  "hsl": {
    "h": 291.6,
    "s": 90.909,
    "l": 78.431
  },
  "oklch": {
    "l": 0.79442,
    "c": 0.1635,
    "h": 321.8
  },
  "luminance": 0.46548
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC96FA

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

Preview Lab → · Contrast checker → · Palette generator →

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