#EC66F7#EC66F7

#EC66F7 is a light, highly saturated purple. Relative luminance 0.341; OKLCH L 72.8% C 0.235 H 324.6°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#EC66F7
RGBrgb(236, 102, 247)
HSLhsl(295, 90%, 68%)
HSVhsv(295, 59%, 97%)
CMYKcmyk(4.5%, 58.7%, 0%, 3.1%)
CIE-LABlab(65.01, 70.33, -49.13)
CIE-LCHlch(65.01, 85.79, 325.06°)
OKLaboklab(72.82% 0.1914 -0.1361)
OKLCHoklch(72.82% 0.235 324.6)
XYZxyz(56.1305, 34.0542, 91.5942)
Luminance0.3405 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC66F7 #71F766
analogous
#A366F7 #EC66F7 #F766B9
triadic
#EC66F7 #F7EC66 #66F7EC
tetradic
#EC66F7 #F7A366 #71F766 #66B9F7
square
#EC66F7 #F7A366 #71F766 #66B9F7
split-complementary
#EC66F7 #B9F766 #66F7A3
monochromatic
#C80BD7 #E52CF4 #EC66F7 #F3A0FA #FADAFD

Accessibility & contrast

On white

2.69
#EC66F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#EC66F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC66F7
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC66F7#FFFFFF#000000##000000
##EC66F71.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E93FB
Deuteranopia (green-blind)
#7EA3F3
Tritanopia (blue-blind)
#F17AA5
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ec66f7;
/* rgb */ color: rgb(236, 102, 247);
/* oklch */ color: oklch(72.8% 0.235 324.6);
Tailwind
colors: {
  custom: {
    50: '#f599fa',
    500: '#ec66f7',
    950: '#000000',
  },
}
SCSS
$custom: #ec66f7;
$custom-light: #f599fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ec66f7",
  "rgb": {
    "r": 236,
    "g": 102,
    "b": 247
  },
  "hsl": {
    "h": 295.448,
    "s": 90.062,
    "l": 68.431
  },
  "oklch": {
    "l": 0.72818,
    "c": 0.23486,
    "h": 324.6
  },
  "luminance": 0.34051
}

Semantic roles & 50–950 ramp

primary
#EC66F7
secondary
#CAF2C7
accent
#E60011
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#170E17
muted
#857E85

Preview Lab

Preview with #EC66F7

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

Preview Lab → · Contrast checker → · Palette generator →

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