#EC7EED#EC7EED

#EC7EED is a light, vivid purple. Relative luminance 0.389; OKLCH L 75.4% C 0.190 H 326.9°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#EC7EED
RGBrgb(236, 126, 237)
HSLhsl(299, 76%, 71%)
HSVhsv(299, 47%, 93%)
CMYKcmyk(0.4%, 46.8%, 0%, 7.1%)
CIE-LABlab(68.66, 57.57, -37.89)
CIE-LCHlch(68.66, 68.92, 326.65°)
OKLaboklab(75.35% 0.1596 -0.1039)
OKLCHoklch(75.35% 0.19 326.9)
XYZxyz(57.3379, 38.8720, 84.5872)
Luminance0.3887 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7EED #7FED7E
analogous
#B47EED #EC7EED #ED7EB6
triadic
#EC7EED #EDEC7E #7EEDEC
tetradic
#EC7EED #EDB47E #7FED7E #7EB6ED
square
#EC7EED #EDB47E #7FED7E #7EB6ED
split-complementary
#EC7EED #B6ED7E #7EEDB4
monochromatic
#D11DD3 #E448E6 #EC7EED #F4B4F4 #FBE4FB

Accessibility & contrast

On white

2.39
#EC7EED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.77
#EC7EED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7EED
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7EED#FFFFFF#000000##000000
##EC7EED1.002.398.778.77
#FFFFFF2.391.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#749EF1
Deuteranopia (green-blind)
#94ADEA
Tritanopia (blue-blind)
#F28AAB
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #ec7eed;
/* rgb */ color: rgb(236, 126, 237);
/* oklch */ color: oklch(75.4% 0.190 326.9);
Tailwind
colors: {
  custom: {
    50: '#f4a7f3',
    500: '#ec7eed',
    950: '#000000',
  },
}
SCSS
$custom: #ec7eed;
$custom-light: #f4a7f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7eed",
  "rgb": {
    "r": 236,
    "g": 126,
    "b": 237
  },
  "hsl": {
    "h": 299.459,
    "s": 75.51,
    "l": 71.176
  },
  "oklch": {
    "l": 0.75354,
    "c": 0.19041,
    "h": 326.9
  },
  "luminance": 0.38869
}

Semantic roles & 50–950 ramp

primary
#EC7EED
secondary
#D5F2D5
accent
#D80E10
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171017
muted
#857F85

Preview Lab

Preview with #EC7EED

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

Preview Lab → · Contrast checker → · Palette generator →

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