#EC7EE7#EC7EE7

#EC7EE7 is a light, vivid purple. Relative luminance 0.385; OKLCH L 75.1% C 0.185 H 328.9°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#EC7EE7
RGBrgb(236, 126, 231)
HSLhsl(303, 74%, 71%)
HSVhsv(303, 47%, 93%)
CMYKcmyk(0%, 46.6%, 2.1%, 7.5%)
CIE-LABlab(68.41, 56.53, -34.98)
CIE-LCHlch(68.41, 66.47, 328.25°)
OKLaboklab(75.09% 0.1585 -0.0956)
OKLCHoklch(75.09% 0.185 328.9)
XYZxyz(56.4760, 38.5272, 80.0476)
Luminance0.3852 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7EE7 #7EEC83
analogous
#BA7EEC #EC7EE7 #EC7EB0
triadic
#EC7EE7 #E7EC7E #7EE7EC
tetradic
#EC7EE7 #ECBA7E #7EEC83 #7EB0EC
square
#EC7EE7 #ECBA7E #7EEC83 #7EB0EC
split-complementary
#EC7EE7 #B0EC7E #7EECBA
monochromatic
#D11FC9 #E449DD #EC7EE7 #F4B3F1 #FBE4FA

Accessibility & contrast

On white

2.41
#EC7EE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.70
#EC7EE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7EE7
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7EE7#FFFFFF#000000##000000
##EC7EE71.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#779DEB
Deuteranopia (green-blind)
#96ACE4
Tritanopia (blue-blind)
#F388A8
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #ec7ee7;
/* rgb */ color: rgb(236, 126, 231);
/* oklch */ color: oklch(75.1% 0.185 328.9);
Tailwind
colors: {
  custom: {
    50: '#f4a7ef',
    500: '#ec7ee7',
    950: '#000000',
  },
}
SCSS
$custom: #ec7ee7;
$custom-light: #f4a7ef;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7ee7",
  "rgb": {
    "r": 236,
    "g": 126,
    "b": 231
  },
  "hsl": {
    "h": 302.727,
    "s": 74.324,
    "l": 70.98
  },
  "oklch": {
    "l": 0.75085,
    "c": 0.1851,
    "h": 328.9
  },
  "luminance": 0.38524
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC7EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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