#EC96FD#EC96FD

#EC96FD is a light, vivid purple. Relative luminance 0.467; OKLCH L 79.6% C 0.167 H 320.8°. Best body text is #000000 at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#EC96FD
RGBrgb(236, 150, 253)
HSLhsl(290, 96%, 79%)
HSVhsv(290, 41%, 99%)
CMYKcmyk(6.7%, 40.7%, 0%, 0.8%)
CIE-LABlab(74.02, 48.44, -38.28)
CIE-LCHlch(74.02, 61.74, 321.68°)
OKLaboklab(79.57% 0.1291 -0.1052)
OKLCHoklch(79.57% 0.167 320.8)
XYZxyz(63.2259, 46.7396, 98.6006)
Luminance0.4674 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC96FD #A7FD96
analogous
#B996FD #EC96FD #FD96DB
triadic
#EC96FD #FDEC96 #96FDEC
tetradic
#EC96FD #FDB996 #A7FD96 #96DBFD
square
#EC96FD #FDB996 #A7FD96 #96DBFD
split-complementary
#EC96FD #DBFD96 #96FDB9
monochromatic
#D61EFB #E15AFC #EC96FD #F7D2FE #FAE1FE

Accessibility & contrast

On white

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

On black

10.35
#EC96FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC96FD
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC96FD#FFFFFF#000000##000000
##EC96FD1.002.0310.3510.35
#FFFFFF2.031.0021.0021.00
#00000010.3521.001.001.00
##00000010.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#88B0FF
Deuteranopia (green-blind)
#9FB9FA
Tritanopia (blue-blind)
#EEA2BE
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #ec96fd;
/* rgb */ color: rgb(236, 150, 253);
/* oklch */ color: oklch(79.6% 0.167 320.8);
Tailwind
colors: {
  custom: {
    50: '#f4b6fe',
    500: '#ec96fd',
    950: '#000000',
  },
}
SCSS
$custom: #ec96fd;
$custom-light: #f4b6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ec96fd",
  "rgb": {
    "r": 236,
    "g": 150,
    "b": 253
  },
  "hsl": {
    "h": 290.097,
    "s": 96.262,
    "l": 79.02
  },
  "oklch": {
    "l": 0.79573,
    "c": 0.16652,
    "h": 320.8
  },
  "luminance": 0.46737
}

Semantic roles & 50–950 ramp

primary
#EC96FD
secondary
#DAF7D4
accent
#E60026
background
#FFFBFF
surface
#FEF6FF
border
#D6D0D7
text
#171118
muted
#858086

Preview Lab

Preview with #EC96FD

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

Preview Lab → · Contrast checker → · Palette generator →

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