#EC66F2#EC66F2

#EC66F2 is a light, highly saturated purple. Relative luminance 0.337; OKLCH L 72.6% C 0.231 H 325.9°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#EC66F2
RGBrgb(236, 102, 242)
HSLhsl(297, 84%, 67%)
HSVhsv(297, 58%, 95%)
CMYKcmyk(2.5%, 57.9%, 0%, 5.1%)
CIE-LABlab(64.76, 69.47, -46.76)
CIE-LCHlch(64.76, 83.74, 326.06°)
OKLaboklab(72.56% 0.1911 -0.1292)
OKLCHoklch(72.56% 0.231 325.9)
XYZxyz(55.3693, 33.7497, 87.5851)
Luminance0.3375 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC66F2 #6CF266
analogous
#A666F2 #EC66F2 #F266B2
triadic
#EC66F2 #F2EC66 #66F2EC
tetradic
#EC66F2 #F2A666 #6CF266 #66B2F2
square
#EC66F2 #F2A666 #6CF266 #66B2F2
split-complementary
#EC66F2 #B2F266 #66F2A6
monochromatic
#C411CC #E52EED #EC66F2 #F39EF7 #FAD7FC

Accessibility & contrast

On white

2.71
#EC66F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#EC66F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC66F2
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC66F2#FFFFFF#000000##000000
##EC66F21.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5392F6
Deuteranopia (green-blind)
#81A3EE
Tritanopia (blue-blind)
#F278A3
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ec66f2;
/* rgb */ color: rgb(236, 102, 242);
/* oklch */ color: oklch(72.6% 0.231 325.9);
Tailwind
colors: {
  custom: {
    50: '#f599f7',
    500: '#ec66f2',
    950: '#000000',
  },
}
SCSS
$custom: #ec66f2;
$custom-light: #f599f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ec66f2",
  "rgb": {
    "r": 236,
    "g": 102,
    "b": 242
  },
  "hsl": {
    "h": 297.429,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.72562,
    "c": 0.23065,
    "h": 325.9
  },
  "luminance": 0.33746
}

Semantic roles & 50–950 ramp

primary
#EC66F2
secondary
#C6F0C4
accent
#E1050E
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#170E17
muted
#857E85

Preview Lab

Preview with #EC66F2

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

Preview Lab → · Contrast checker → · Palette generator →

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