#EC7EE3#EC7EE3

#EC7EE3 is a light, vivid purple. Relative luminance 0.383; OKLCH L 74.9% C 0.182 H 330.3°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#EC7EE3
RGBrgb(236, 126, 227)
HSLhsl(305, 74%, 71%)
HSVhsv(305, 47%, 93%)
CMYKcmyk(0%, 46.6%, 3.8%, 7.5%)
CIE-LABlab(68.24, 55.84, -33.02)
CIE-LCHlch(68.24, 64.87, 329.40°)
OKLaboklab(74.91% 0.1578 -0.09)
OKLCHoklch(74.91% 0.182 330.3)
XYZxyz(55.9175, 38.3038, 77.1062)
Luminance0.3830 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7EE3 #7EEC87
analogous
#BE7EEC #EC7EE3 #EC7EAC
triadic
#EC7EE3 #E3EC7E #7EE3EC
tetradic
#EC7EE3 #ECBE7E #7EEC87 #7EACEC
square
#EC7EE3 #ECBE7E #7EEC87 #7EACEC
split-complementary
#EC7EE3 #ACEC7E #7EECBE
monochromatic
#D11FC2 #E449D7 #EC7EE3 #F4B3EF #FBE4F9

Accessibility & contrast

On white

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

On black

8.66
#EC7EE3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7EE3
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7EE3#FFFFFF#000000##000000
##EC7EE31.002.428.668.66
#FFFFFF2.421.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#799DE6
Deuteranopia (green-blind)
#98ACE0
Tritanopia (blue-blind)
#F387A6
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #ec7ee3;
/* rgb */ color: rgb(236, 126, 227);
/* oklch */ color: oklch(74.9% 0.182 330.3);
Tailwind
colors: {
  custom: {
    50: '#f4a7ec',
    500: '#ec7ee3',
    950: '#000000',
  },
}
SCSS
$custom: #ec7ee3;
$custom-light: #f4a7ec;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7ee3",
  "rgb": {
    "r": 236,
    "g": 126,
    "b": 227
  },
  "hsl": {
    "h": 304.909,
    "s": 74.324,
    "l": 70.98
  },
  "oklch": {
    "l": 0.7491,
    "c": 0.18164,
    "h": 330.3
  },
  "luminance": 0.38301
}

Semantic roles & 50–950 ramp

primary
#EC7EE3
secondary
#D4F2D7
accent
#D61F0F
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #EC7EE3

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

Preview Lab → · Contrast checker → · Palette generator →

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