#EC96DF#EC96DF

#EC96DF is a light, vivid purple. Relative luminance 0.450; OKLCH L 78.3% C 0.138 H 332.4°. Best body text is #000000 at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#EC96DF
RGBrgb(236, 150, 223)
HSLhsl(309, 69%, 76%)
HSVhsv(309, 36%, 93%)
CMYKcmyk(0%, 36.4%, 5.5%, 7.5%)
CIE-LABlab(72.88, 42.99, -23.69)
CIE-LCHlch(72.88, 49.09, 331.14°)
OKLaboklab(78.33% 0.1222 -0.0639)
OKLCHoklch(78.33% 0.138 332.4)
XYZxyz(58.8171, 44.9761, 75.3809)
Luminance0.4497 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC96DF #96ECA3
analogous
#CE96EC #EC96DF #EC96B4
triadic
#EC96DF #DFEC96 #96DFEC
tetradic
#EC96DF #ECCE96 #96ECA3 #96B4EC
square
#EC96DF #ECCE96 #96ECA3 #96B4EC
split-complementary
#EC96DF #B4EC96 #96ECCE
monochromatic
#D92EBF #E362CF #EC96DF #F5CAEF #FAE5F7

Accessibility & contrast

On white

2.10
#EC96DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.99
#EC96DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC96DF
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC96DF#FFFFFF#000000##000000
##EC96DF1.002.109.999.99
#FFFFFF2.101.0021.0021.00
#0000009.9921.001.001.00
##0000009.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#94ABE2
Deuteranopia (green-blind)
#AAB7DC
Tritanopia (blue-blind)
#F39BB1
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #ec96df;
/* rgb */ color: rgb(236, 150, 223);
/* oklch */ color: oklch(78.3% 0.138 332.4);
Tailwind
colors: {
  custom: {
    50: '#f3b6e9',
    500: '#ec96df',
    950: '#000000',
  },
}
SCSS
$custom: #ec96df;
$custom-light: #f3b6e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ec96df",
  "rgb": {
    "r": 236,
    "g": 150,
    "b": 223
  },
  "hsl": {
    "h": 309.07,
    "s": 69.355,
    "l": 75.686
  },
  "oklch": {
    "l": 0.78333,
    "c": 0.13793,
    "h": 332.4
  },
  "luminance": 0.44973
}

Semantic roles & 50–950 ramp

primary
#EC96DF
secondary
#D9F2DD
accent
#D13114
background
#FFFBFE
surface
#FEF6FC
border
#D6D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #EC96DF

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

Preview Lab → · Contrast checker → · Palette generator →

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