#EC66DB#EC66DB

#EC66DB is a light, highly saturated purple. Relative luminance 0.325; OKLCH L 71.5% C 0.212 H 332.7°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#EC66DB
RGBrgb(236, 102, 219)
HSLhsl(308, 78%, 66%)
HSVhsv(308, 57%, 93%)
CMYKcmyk(0%, 56.8%, 7.2%, 7.5%)
CIE-LABlab(63.72, 65.67, -35.60)
CIE-LCHlch(63.72, 74.70, 331.54°)
OKLaboklab(71.46% 0.1885 -0.0971)
OKLCHoklch(71.46% 0.212 332.7)
XYZxyz(52.1296, 32.4538, 70.5227)
Luminance0.3245 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC66DB #66EC77
analogous
#BA66EC #EC66DB #EC6698
triadic
#EC66DB #DBEC66 #66DBEC
tetradic
#EC66DB #ECBA66 #66EC77 #6698EC
square
#EC66DB #ECBA66 #66EC77 #6698EC
split-complementary
#EC66DB #98EC66 #66ECBA
monochromatic
#C018AA #E530CE #EC66DB #F39CE8 #FAD3F5

Accessibility & contrast

On white

2.80
#EC66DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#EC66DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC66DB
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC66DB#FFFFFF#000000##000000
##EC66DB1.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#628EDF
Deuteranopia (green-blind)
#8CA1D7
Tritanopia (blue-blind)
#F57097
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ec66db;
/* rgb */ color: rgb(236, 102, 219);
/* oklch */ color: oklch(71.5% 0.212 332.7);
Tailwind
colors: {
  custom: {
    50: '#f598e6',
    500: '#ec66db',
    950: '#000000',
  },
}
SCSS
$custom: #ec66db;
$custom-light: #f598e6;
$custom-dark: #000000;
JSON
{
  "hex": "#ec66db",
  "rgb": {
    "r": 236,
    "g": 102,
    "b": 219
  },
  "hsl": {
    "h": 307.612,
    "s": 77.907,
    "l": 66.275
  },
  "oklch": {
    "l": 0.71455,
    "c": 0.21203,
    "h": 332.7
  },
  "luminance": 0.3245
}

Semantic roles & 50–950 ramp

primary
#EC66DB
secondary
#C1EDC7
accent
#DA260B
background
#FFF9FE
surface
#FFF2FC
border
#D7CCD5
text
#170E16
muted
#857E84

Preview Lab

Preview with #EC66DB

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

Preview Lab → · Contrast checker → · Palette generator →

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