#EC7CE7#EC7CE7

#EC7CE7 is a light, vivid purple. Relative luminance 0.380; OKLCH L 74.8% C 0.188 H 328.9°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#EC7CE7
RGBrgb(236, 124, 231)
HSLhsl(303, 75%, 71%)
HSVhsv(303, 47%, 93%)
CMYKcmyk(0%, 47.5%, 2.1%, 7.5%)
CIE-LABlab(68.04, 57.50, -35.55)
CIE-LCHlch(68.04, 67.60, 328.27°)
OKLaboklab(74.81% 0.1613 -0.0972)
OKLCHoklch(74.81% 0.188 328.9)
XYZxyz(56.2228, 38.0208, 79.9632)
Luminance0.3802 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7CE7 #7CEC81
analogous
#B97CEC #EC7CE7 #EC7CAF
triadic
#EC7CE7 #E7EC7C #7CE7EC
tetradic
#EC7CE7 #ECB97C #7CEC81 #7CAFEC
square
#EC7CE7 #ECB97C #7CEC81 #7CAFEC
split-complementary
#EC7CE7 #AFEC7C #7CECB9
monochromatic
#D01EC8 #E447DD #EC7CE7 #F4B1F1 #FBE4FA

Accessibility & contrast

On white

2.44
#EC7CE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.60
#EC7CE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7CE7
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7CE7#FFFFFF#000000##000000
##EC7CE71.002.448.608.60
#FFFFFF2.441.0021.0021.00
#0000008.6021.001.001.00
##0000008.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#749CEB
Deuteranopia (green-blind)
#95ABE4
Tritanopia (blue-blind)
#F386A7
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #ec7ce7;
/* rgb */ color: rgb(236, 124, 231);
/* oklch */ color: oklch(74.8% 0.188 328.9);
Tailwind
colors: {
  custom: {
    50: '#f4a5ef',
    500: '#ec7ce7',
    950: '#000000',
  },
}
SCSS
$custom: #ec7ce7;
$custom-light: #f4a5ef;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7ce7",
  "rgb": {
    "r": 236,
    "g": 124,
    "b": 231
  },
  "hsl": {
    "h": 302.679,
    "s": 74.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.74809,
    "c": 0.1883,
    "h": 328.9
  },
  "luminance": 0.38018
}

Semantic roles & 50–950 ramp

primary
#EC7CE7
secondary
#D3F1D4
accent
#D7180F
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #EC7CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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