#EC7CE2#EC7CE2

#EC7CE2 is a light, vivid purple. Relative luminance 0.377; OKLCH L 74.6% C 0.184 H 330.6°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#EC7CE2
RGBrgb(236, 124, 226)
HSLhsl(305, 75%, 71%)
HSVhsv(305, 47%, 93%)
CMYKcmyk(0%, 47.5%, 4.2%, 7.5%)
CIE-LABlab(67.83, 56.64, -33.11)
CIE-LCHlch(67.83, 65.61, 329.69°)
OKLaboklab(74.59% 0.1604 -0.0902)
OKLCHoklch(74.59% 0.184 330.6)
XYZxyz(55.5267, 37.7424, 76.2971)
Luminance0.3774 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7CE2 #7CEC86
analogous
#BE7CEC #EC7CE2 #EC7CAA
triadic
#EC7CE2 #E2EC7C #7CE2EC
tetradic
#EC7CE2 #ECBE7C #7CEC86 #7CAAEC
square
#EC7CE2 #ECBE7C #7CEC86 #7CAAEC
split-complementary
#EC7CE2 #AAEC7C #7CECBE
monochromatic
#D01EC0 #E447D6 #EC7CE2 #F4B1EE #FBE4F9

Accessibility & contrast

On white

2.46
#EC7CE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.55
#EC7CE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7CE2
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7CE2#FFFFFF#000000##000000
##EC7CE21.002.468.558.55
#FFFFFF2.461.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#779BE5
Deuteranopia (green-blind)
#97ABDF
Tritanopia (blue-blind)
#F485A5
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #ec7ce2;
/* rgb */ color: rgb(236, 124, 226);
/* oklch */ color: oklch(74.6% 0.184 330.6);
Tailwind
colors: {
  custom: {
    50: '#f4a5eb',
    500: '#ec7ce2',
    950: '#000000',
  },
}
SCSS
$custom: #ec7ce2;
$custom-light: #f4a5eb;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7ce2",
  "rgb": {
    "r": 236,
    "g": 124,
    "b": 226
  },
  "hsl": {
    "h": 305.357,
    "s": 74.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.74589,
    "c": 0.184,
    "h": 330.6
  },
  "luminance": 0.37739
}

Semantic roles & 50–950 ramp

primary
#EC7CE2
secondary
#D3F1D5
accent
#D7210F
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #EC7CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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