#EC66EB#EC66EB

#EC66EB is a light, highly saturated purple. Relative luminance 0.333; OKLCH L 72.2% C 0.225 H 327.9°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#EC66EB
RGBrgb(236, 102, 235)
HSLhsl(300, 78%, 66%)
HSVhsv(300, 57%, 93%)
CMYKcmyk(0%, 56.8%, 0.4%, 7.5%)
CIE-LABlab(64.43, 68.28, -43.40)
CIE-LCHlch(64.43, 80.91, 327.56°)
OKLaboklab(72.21% 0.1904 -0.1195)
OKLCHoklch(72.21% 0.225 327.9)
XYZxyz(54.3381, 33.3372, 82.1538)
Luminance0.3333 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC66EB #66EC67
analogous
#AA66EC #EC66EB #EC66A8
triadic
#EC66EB #EBEC66 #66EBEC
tetradic
#EC66EB #ECAA66 #66EC67 #66A8EC
square
#EC66EB #ECAA66 #66EC67 #66A8EC
split-complementary
#EC66EB #A8EC66 #66ECAA
monochromatic
#C018BF #E530E4 #EC66EB #F39CF2 #FAD3F9

Accessibility & contrast

On white

2.74
#EC66EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#EC66EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC66EB
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC66EB#FFFFFF#000000##000000
##EC66EB1.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5891EF
Deuteranopia (green-blind)
#85A2E7
Tritanopia (blue-blind)
#F3769F
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ec66eb;
/* rgb */ color: rgb(236, 102, 235);
/* oklch */ color: oklch(72.2% 0.225 327.9);
Tailwind
colors: {
  custom: {
    50: '#f598f2',
    500: '#ec66eb',
    950: '#000000',
  },
}
SCSS
$custom: #ec66eb;
$custom-light: #f598f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ec66eb",
  "rgb": {
    "r": 236,
    "g": 102,
    "b": 235
  },
  "hsl": {
    "h": 300.448,
    "s": 77.907,
    "l": 66.275
  },
  "oklch": {
    "l": 0.72214,
    "c": 0.22484,
    "h": 327.9
  },
  "luminance": 0.33334
}

Semantic roles & 50–950 ramp

primary
#EC66EB
secondary
#C1EDC1
accent
#DA0D0B
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#170E17
muted
#857E85

Preview Lab

Preview with #EC66EB

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

Preview Lab → · Contrast checker → · Palette generator →

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