#EC7EE6#EC7EE6

#EC7EE6 is a light, vivid purple. Relative luminance 0.385; OKLCH L 75.0% C 0.184 H 329.3°. Best body text is #000000 at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#EC7EE6
RGBrgb(236, 126, 230)
HSLhsl(303, 74%, 71%)
HSVhsv(303, 47%, 93%)
CMYKcmyk(0%, 46.6%, 2.5%, 7.5%)
CIE-LABlab(68.37, 56.35, -34.49)
CIE-LCHlch(68.37, 66.07, 328.53°)
OKLaboklab(75.04% 0.1583 -0.0942)
OKLCHoklch(75.04% 0.184 329.3)
XYZxyz(56.3351, 38.4709, 79.3059)
Luminance0.3847 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7EE6 #7EEC84
analogous
#BB7EEC #EC7EE6 #EC7EAF
triadic
#EC7EE6 #E6EC7E #7EE6EC
tetradic
#EC7EE6 #ECBB7E #7EEC84 #7EAFEC
square
#EC7EE6 #ECBB7E #7EEC84 #7EAFEC
split-complementary
#EC7EE6 #AFEC7E #7EECBB
monochromatic
#D11FC7 #E449DC #EC7EE6 #F4B3F0 #FBE4FA

Accessibility & contrast

On white

2.42
#EC7EE6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.69
#EC7EE6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7EE6
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7EE6#FFFFFF#000000##000000
##EC7EE61.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#779DEA
Deuteranopia (green-blind)
#97ACE3
Tritanopia (blue-blind)
#F388A7
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #ec7ee6;
/* rgb */ color: rgb(236, 126, 230);
/* oklch */ color: oklch(75.0% 0.184 329.3);
Tailwind
colors: {
  custom: {
    50: '#f4a7ee',
    500: '#ec7ee6',
    950: '#000000',
  },
}
SCSS
$custom: #ec7ee6;
$custom-light: #f4a7ee;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7ee6",
  "rgb": {
    "r": 236,
    "g": 126,
    "b": 230
  },
  "hsl": {
    "h": 303.273,
    "s": 74.324,
    "l": 70.98
  },
  "oklch": {
    "l": 0.75041,
    "c": 0.18423,
    "h": 329.3
  },
  "luminance": 0.38468
}

Semantic roles & 50–950 ramp

primary
#EC7EE6
secondary
#D4F2D6
accent
#D61A0F
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #EC7EE6

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

Preview Lab → · Contrast checker → · Palette generator →

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