#EC6EE2#EC6EE2

#EC6EE2 is a light, highly saturated purple. Relative luminance 0.345; OKLCH L 72.7% C 0.206 H 330.6°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#EC6EE2
RGBrgb(236, 110, 226)
HSLhsl(305, 77%, 68%)
HSVhsv(305, 53%, 93%)
CMYKcmyk(0%, 53.4%, 4.2%, 7.5%)
CIE-LABlab(65.34, 63.24, -36.98)
CIE-LCHlch(65.34, 73.26, 329.69°)
OKLaboklab(72.75% 0.1792 -0.1011)
OKLCHoklch(72.75% 0.206 330.6)
XYZxyz(53.8951, 34.4792, 75.7532)
Luminance0.3448 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC6EE2 #6EEC78
analogous
#B76EEC #EC6EE2 #EC6EA3
triadic
#EC6EE2 #E2EC6E #6EE2EC
tetradic
#EC6EE2 #ECB76E #6EEC78 #6EA3EC
square
#EC6EE2 #ECB76E #6EEC78 #6EA3EC
split-complementary
#EC6EE2 #A3EC6E #6EECB7
monochromatic
#C61AB8 #E538D7 #EC6EE2 #F3A4ED #FADAF8

Accessibility & contrast

On white

2.66
#EC6EE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#EC6EE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC6EE2
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC6EE2#FFFFFF#000000##000000
##EC6EE21.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6794E6
Deuteranopia (green-blind)
#8EA5DE
Tritanopia (blue-blind)
#F4799E
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ec6ee2;
/* rgb */ color: rgb(236, 110, 226);
/* oklch */ color: oklch(72.7% 0.206 330.6);
Tailwind
colors: {
  custom: {
    50: '#f59deb',
    500: '#ec6ee2',
    950: '#000000',
  },
}
SCSS
$custom: #ec6ee2;
$custom-light: #f59deb;
$custom-dark: #000000;
JSON
{
  "hex": "#ec6ee2",
  "rgb": {
    "r": 236,
    "g": 110,
    "b": 226
  },
  "hsl": {
    "h": 304.762,
    "s": 76.829,
    "l": 67.843
  },
  "oklch": {
    "l": 0.72748,
    "c": 0.20579,
    "h": 330.6
  },
  "luminance": 0.34476
}

Semantic roles & 50–950 ramp

primary
#EC6EE2
secondary
#C7EECB
accent
#D91D0C
background
#FFFAFE
surface
#FFF3FD
border
#D7CDD5
text
#170F16
muted
#857F84

Preview Lab

Preview with #EC6EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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