#EC96EC#EC96EC

#EC96EC is a light, vivid purple. Relative luminance 0.457; OKLCH L 78.8% C 0.150 H 326.9°. Best body text is #000000 at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#EC96EC
RGBrgb(236, 150, 236)
HSLhsl(300, 69%, 76%)
HSVhsv(300, 36%, 93%)
CMYKcmyk(0%, 36.4%, 0%, 7.5%)
CIE-LABlab(73.35, 45.29, -30.07)
CIE-LCHlch(73.35, 54.37, 326.41°)
OKLaboklab(78.85% 0.1255 -0.0819)
OKLCHoklch(78.85% 0.15 326.9)
XYZxyz(60.6375, 45.7042, 84.9683)
Luminance0.4570 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC96EC #96EC96
analogous
#C196EC #EC96EC #EC96C1
triadic
#EC96EC #ECEC96 #96ECEC
tetradic
#EC96EC #ECC196 #96EC96 #96C1EC
square
#EC96EC #ECC196 #96EC96 #96C1EC
split-complementary
#EC96EC #C1EC96 #96ECC1
monochromatic
#D92ED9 #E362E3 #EC96EC #F5CAF5 #FAE5FA

Accessibility & contrast

On white

2.07
#EC96EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.14
#EC96EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC96EC
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC96EC#FFFFFF#000000##000000
##EC96EC1.002.0710.1410.14
#FFFFFF2.071.0021.0021.00
#00000010.1421.001.001.00
##00000010.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#90ADEF
Deuteranopia (green-blind)
#A6B8E9
Tritanopia (blue-blind)
#F19EB6
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #ec96ec;
/* rgb */ color: rgb(236, 150, 236);
/* oklch */ color: oklch(78.8% 0.150 326.9);
Tailwind
colors: {
  custom: {
    50: '#f3b6f2',
    500: '#ec96ec',
    950: '#000000',
  },
}
SCSS
$custom: #ec96ec;
$custom-light: #f3b6f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ec96ec",
  "rgb": {
    "r": 236,
    "g": 150,
    "b": 236
  },
  "hsl": {
    "h": 300,
    "s": 69.355,
    "l": 75.686
  },
  "oklch": {
    "l": 0.7885,
    "c": 0.1498,
    "h": 326.9
  },
  "luminance": 0.45702
}

Semantic roles & 50–950 ramp

primary
#EC96EC
secondary
#D9F2D9
accent
#D11414
background
#FFFBFE
surface
#FEF6FD
border
#D6D0D5
text
#171117
muted
#858085

Preview Lab

Preview with #EC96EC

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

Preview Lab → · Contrast checker → · Palette generator →

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