#EC7CED#EC7CED

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

Color values

HEX#EC7CED
RGBrgb(236, 124, 237)
HSLhsl(299, 76%, 71%)
HSVhsv(299, 48%, 93%)
CMYKcmyk(0.4%, 47.7%, 0%, 7.1%)
CIE-LABlab(68.29, 58.54, -38.47)
CIE-LCHlch(68.29, 70.05, 326.69°)
OKLaboklab(75.08% 0.1623 -0.1055)
OKLCHoklch(75.08% 0.194 327)
XYZxyz(57.0847, 38.3656, 84.5028)
Luminance0.3836 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7CED #7DED7C
analogous
#B37CED #EC7CED #ED7CB5
triadic
#EC7CED #EDEC7C #7CEDEC
tetradic
#EC7CED #EDB37C #7DED7C #7CB5ED
square
#EC7CED #EDB37C #7DED7C #7CB5ED
split-complementary
#EC7CED #B5ED7C #7CEDB3
monochromatic
#D01DD2 #E446E6 #EC7CED #F4B2F4 #FBE4FB

Accessibility & contrast

On white

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

On black

8.67
#EC7CED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7CED
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7CED#FFFFFF#000000##000000
##EC7CED1.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#719DF1
Deuteranopia (green-blind)
#92ACEA
Tritanopia (blue-blind)
#F288AA
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #ec7ced;
/* rgb */ color: rgb(236, 124, 237);
/* oklch */ color: oklch(75.1% 0.194 327.0);
Tailwind
colors: {
  custom: {
    50: '#f4a6f3',
    500: '#ec7ced',
    950: '#000000',
  },
}
SCSS
$custom: #ec7ced;
$custom-light: #f4a6f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7ced",
  "rgb": {
    "r": 236,
    "g": 124,
    "b": 237
  },
  "hsl": {
    "h": 299.469,
    "s": 75.839,
    "l": 70.784
  },
  "oklch": {
    "l": 0.7508,
    "c": 0.19358,
    "h": 327
  },
  "luminance": 0.38363
}

Semantic roles & 50–950 ramp

primary
#EC7CED
secondary
#D3F2D3
accent
#D80D0F
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171017
muted
#857F85

Preview Lab

Preview with #EC7CED

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

Preview Lab → · Contrast checker → · Palette generator →

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