#EC66E5#EC66E5

#EC66E5 is a light, highly saturated purple. Relative luminance 0.330; OKLCH L 71.9% C 0.220 H 329.6°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#EC66E5
RGBrgb(236, 102, 229)
HSLhsl(303, 78%, 66%)
HSVhsv(303, 57%, 93%)
CMYKcmyk(0%, 56.8%, 3%, 7.5%)
CIE-LABlab(64.16, 67.29, -40.49)
CIE-LCHlch(64.16, 78.53, 328.96°)
OKLaboklab(71.92% 0.1898 -0.1112)
OKLCHoklch(71.92% 0.22 329.6)
XYZxyz(53.4858, 32.9963, 77.6653)
Luminance0.3299 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC66E5 #66EC6D
analogous
#B066EC #EC66E5 #EC66A2
triadic
#EC66E5 #E5EC66 #66E5EC
tetradic
#EC66E5 #ECB066 #66EC6D #66A2EC
square
#EC66E5 #ECB066 #66EC6D #66A2EC
split-complementary
#EC66E5 #A2EC66 #66ECB0
monochromatic
#C018B7 #E530DC #EC66E5 #F39CEE #FAD3F8

Accessibility & contrast

On white

2.76
#EC66E5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#EC66E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC66E5
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC66E5#FFFFFF#000000##000000
##EC66E51.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C90E9
Deuteranopia (green-blind)
#87A2E1
Tritanopia (blue-blind)
#F4749C
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ec66e5;
/* rgb */ color: rgb(236, 102, 229);
/* oklch */ color: oklch(71.9% 0.220 329.6);
Tailwind
colors: {
  custom: {
    50: '#f598ed',
    500: '#ec66e5',
    950: '#000000',
  },
}
SCSS
$custom: #ec66e5;
$custom-light: #f598ed;
$custom-dark: #000000;
JSON
{
  "hex": "#ec66e5",
  "rgb": {
    "r": 236,
    "g": 102,
    "b": 229
  },
  "hsl": {
    "h": 303.134,
    "s": 77.907,
    "l": 66.275
  },
  "oklch": {
    "l": 0.71923,
    "c": 0.21994,
    "h": 329.6
  },
  "luminance": 0.32993
}

Semantic roles & 50–950 ramp

primary
#EC66E5
secondary
#C1EDC3
accent
#DA160B
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#170E16
muted
#857E84

Preview Lab

Preview with #EC66E5

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

Preview Lab → · Contrast checker → · Palette generator →

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