#EC96EF#EC96EF

#EC96EF is a light, vivid purple. Relative luminance 0.459; OKLCH L 79.0% C 0.153 H 325.7°. Best body text is #000000 at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#EC96EF
RGBrgb(236, 150, 239)
HSLhsl(298, 74%, 76%)
HSVhsv(298, 37%, 94%)
CMYKcmyk(1.3%, 37.2%, 0%, 6.3%)
CIE-LABlab(73.47, 45.83, -31.53)
CIE-LCHlch(73.47, 55.63, 325.47°)
OKLaboklab(78.97% 0.1262 -0.086)
OKLCHoklch(78.97% 0.153 325.7)
XYZxyz(61.0770, 45.8801, 87.2831)
Luminance0.4588 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC96EF #99EF96
analogous
#C096EF #EC96EF #EF96C6
triadic
#EC96EF #EFEC96 #96EFEC
tetradic
#EC96EF #EFC096 #99EF96 #96C6EF
square
#EC96EF #EFC096 #99EF96 #96C6EF
split-complementary
#EC96EF #C6EF96 #96EFC0
monochromatic
#D92CDF #E261E7 #EC96EF #F6CBF7 #FAE4FB

Accessibility & contrast

On white

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

On black

10.18
#EC96EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC96EF
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC96EF#FFFFFF#000000##000000
##EC96EF1.002.0610.1810.18
#FFFFFF2.061.0021.0021.00
#00000010.1821.001.001.00
##00000010.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EAEF2
Deuteranopia (green-blind)
#A5B8EC
Tritanopia (blue-blind)
#F09FB8
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #ec96ef;
/* rgb */ color: rgb(236, 150, 239);
/* oklch */ color: oklch(79.0% 0.153 325.7);
Tailwind
colors: {
  custom: {
    50: '#f3b6f4',
    500: '#ec96ef',
    950: '#000000',
  },
}
SCSS
$custom: #ec96ef;
$custom-light: #f3b6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ec96ef",
  "rgb": {
    "r": 236,
    "g": 150,
    "b": 239
  },
  "hsl": {
    "h": 297.978,
    "s": 73.554,
    "l": 76.275
  },
  "oklch": {
    "l": 0.78974,
    "c": 0.15266,
    "h": 325.7
  },
  "luminance": 0.45878
}

Semantic roles & 50–950 ramp

primary
#EC96EF
secondary
#D9F3D8
accent
#D61017
background
#FFFBFE
surface
#FEF6FD
border
#D6D0D5
text
#171117
muted
#858085

Preview Lab

Preview with #EC96EF

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

Preview Lab → · Contrast checker → · Palette generator →

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