#EC7CEE#EC7CEE

#EC7CEE is a light, vivid purple. Relative luminance 0.384; OKLCH L 75.1% C 0.194 H 326.6°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#EC7CEE
RGBrgb(236, 124, 238)
HSLhsl(299, 77%, 71%)
HSVhsv(299, 48%, 93%)
CMYKcmyk(0.8%, 47.9%, 0%, 6.7%)
CIE-LABlab(68.33, 58.72, -38.95)
CIE-LCHlch(68.33, 70.46, 326.44°)
OKLaboklab(75.13% 0.1624 -0.1069)
OKLCHoklch(75.13% 0.194 326.6)
XYZxyz(57.2312, 38.4242, 85.2744)
Luminance0.3842 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7CEE #7EEE7C
analogous
#B37CEE #EC7CEE #EE7CB7
triadic
#EC7CEE #EEEC7C #7CEEEC
tetradic
#EC7CEE #EEB37C #7EEE7C #7CB7EE
square
#EC7CEE #EEB37C #7EEE7C #7CB7EE
split-complementary
#EC7CEE #B7EE7C #7CEEB3
monochromatic
#D11CD4 #E446E7 #EC7CEE #F4B2F5 #FBE4FB

Accessibility & contrast

On white

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

On black

8.68
#EC7CEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7CEE
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7CEE#FFFFFF#000000##000000
##EC7CEE1.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#719DF2
Deuteranopia (green-blind)
#92ACEB
Tritanopia (blue-blind)
#F288AA
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #ec7cee;
/* rgb */ color: rgb(236, 124, 238);
/* oklch */ color: oklch(75.1% 0.194 326.6);
Tailwind
colors: {
  custom: {
    50: '#f4a6f4',
    500: '#ec7cee',
    950: '#000000',
  },
}
SCSS
$custom: #ec7cee;
$custom-light: #f4a6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7cee",
  "rgb": {
    "r": 236,
    "g": 124,
    "b": 238
  },
  "hsl": {
    "h": 298.947,
    "s": 77.027,
    "l": 70.98
  },
  "oklch": {
    "l": 0.75126,
    "c": 0.19447,
    "h": 326.6
  },
  "luminance": 0.38421
}

Semantic roles & 50–950 ramp

primary
#EC7CEE
secondary
#D4F2D4
accent
#D90C10
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171017
muted
#857F85

Preview Lab

Preview with #EC7CEE

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

Preview Lab → · Contrast checker → · Palette generator →

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