#EC7CDD#EC7CDD

#EC7CDD is a light, vivid purple. Relative luminance 0.375; OKLCH L 74.4% C 0.180 H 332.4°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#EC7CDD
RGBrgb(236, 124, 221)
HSLhsl(308, 75%, 71%)
HSVhsv(308, 47%, 93%)
CMYKcmyk(0%, 47.5%, 6.4%, 7.5%)
CIE-LABlab(67.63, 55.81, -30.65)
CIE-LCHlch(67.63, 63.67, 331.23°)
OKLaboklab(74.37% 0.1594 -0.0832)
OKLCHoklch(74.37% 0.18 332.4)
XYZxyz(54.8506, 37.4720, 72.7363)
Luminance0.3747 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7CDD #7CEC8B
analogous
#C37CEC #EC7CDD #EC7CA5
triadic
#EC7CDD #DDEC7C #7CDDEC
tetradic
#EC7CDD #ECC37C #7CEC8B #7CA5EC
square
#EC7CDD #ECC37C #7CEC8B #7CA5EC
split-complementary
#EC7CDD #A5EC7C #7CECC3
monochromatic
#D01EB8 #E447CF #EC7CDD #F4B1EB #FBE4F8

Accessibility & contrast

On white

2.47
#EC7CDD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.49
#EC7CDD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7CDD
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7CDD#FFFFFF#000000##000000
##EC7CDD1.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#799BE0
Deuteranopia (green-blind)
#99ABDA
Tritanopia (blue-blind)
#F483A2
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #ec7cdd;
/* rgb */ color: rgb(236, 124, 221);
/* oklch */ color: oklch(74.4% 0.180 332.4);
Tailwind
colors: {
  custom: {
    50: '#f4a5e8',
    500: '#ec7cdd',
    950: '#000000',
  },
}
SCSS
$custom: #ec7cdd;
$custom-light: #f4a5e8;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7cdd",
  "rgb": {
    "r": 236,
    "g": 124,
    "b": 221
  },
  "hsl": {
    "h": 308.036,
    "s": 74.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.74374,
    "c": 0.17981,
    "h": 332.4
  },
  "luminance": 0.37469
}

Semantic roles & 50–950 ramp

primary
#EC7CDD
secondary
#D3F1D7
accent
#D7290F
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #EC7CDD

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

Preview Lab → · Contrast checker → · Palette generator →

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