#EC66F5#EC66F5

#EC66F5 is a light, highly saturated purple. Relative luminance 0.339; OKLCH L 72.7% C 0.233 H 325.1°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#EC66F5
RGBrgb(236, 102, 245)
HSLhsl(296, 88%, 68%)
HSVhsv(296, 58%, 96%)
CMYKcmyk(3.7%, 58.4%, 0%, 3.9%)
CIE-LABlab(64.91, 69.98, -48.18)
CIE-LCHlch(64.91, 84.97, 325.45°)
OKLaboklab(72.72% 0.1913 -0.1333)
OKLCHoklch(72.72% 0.233 325.1)
XYZxyz(55.8236, 33.9314, 89.9775)
Luminance0.3393 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC66F5 #6FF566
analogous
#A466F5 #EC66F5 #F566B6
triadic
#EC66F5 #F5EC66 #66F5EC
tetradic
#EC66F5 #F5A466 #6FF566 #66B6F5
square
#EC66F5 #F5A466 #6FF566 #66B6F5
split-complementary
#EC66F5 #B6F566 #66F5A4
monochromatic
#C60ED3 #E52DF1 #EC66F5 #F39FF9 #FAD9FD

Accessibility & contrast

On white

2.70
#EC66F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#EC66F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC66F5
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC66F5#FFFFFF#000000##000000
##EC66F51.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5093F9
Deuteranopia (green-blind)
#80A3F1
Tritanopia (blue-blind)
#F179A4
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ec66f5;
/* rgb */ color: rgb(236, 102, 245);
/* oklch */ color: oklch(72.7% 0.233 325.1);
Tailwind
colors: {
  custom: {
    50: '#f599f9',
    500: '#ec66f5',
    950: '#000000',
  },
}
SCSS
$custom: #ec66f5;
$custom-light: #f599f9;
$custom-dark: #000000;
JSON
{
  "hex": "#ec66f5",
  "rgb": {
    "r": 236,
    "g": 102,
    "b": 245
  },
  "hsl": {
    "h": 296.224,
    "s": 87.73,
    "l": 68.039
  },
  "oklch": {
    "l": 0.72715,
    "c": 0.23317,
    "h": 325.1
  },
  "luminance": 0.33928
}

Semantic roles & 50–950 ramp

primary
#EC66F5
secondary
#C8F1C6
accent
#E4010F
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#170E17
muted
#857E85

Preview Lab

Preview with #EC66F5

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

Preview Lab → · Contrast checker → · Palette generator →

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