#EC7DDC#EC7DDC

#EC7DDC is a light, vivid purple. Relative luminance 0.377; OKLCH L 74.5% C 0.177 H 332.8°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#EC7DDC
RGBrgb(236, 125, 220)
HSLhsl(309, 74%, 71%)
HSVhsv(309, 47%, 93%)
CMYKcmyk(0%, 47%, 6.8%, 7.5%)
CIE-LABlab(67.78, 55.15, -29.86)
CIE-LCHlch(67.78, 62.72, 331.57°)
OKLaboklab(74.47% 0.1578 -0.081)
OKLCHoklch(74.47% 0.177 332.8)
XYZxyz(54.8437, 37.6708, 72.0787)
Luminance0.3767 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7DDC #7DEC8D
analogous
#C57DEC #EC7DDC #EC7DA4
triadic
#EC7DDC #DCEC7D #7DDCEC
tetradic
#EC7DDC #ECC57D #7DEC8D #7DA4EC
square
#EC7DDC #ECC57D #7DEC8D #7DA4EC
split-complementary
#EC7DDC #A4EC7D #7DECC5
monochromatic
#D01EB7 #E448CE #EC7DDC #F4B2EA #FBE4F8

Accessibility & contrast

On white

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

On black

8.53
#EC7DDC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7DDC
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7DDC#FFFFFF#000000##000000
##EC7DDC1.002.468.538.53
#FFFFFF2.461.0021.0021.00
#0000008.5321.001.001.00
##0000008.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B9BDF
Deuteranopia (green-blind)
#9AABD9
Tritanopia (blue-blind)
#F584A2
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #ec7ddc;
/* rgb */ color: rgb(236, 125, 220);
/* oklch */ color: oklch(74.5% 0.177 332.8);
Tailwind
colors: {
  custom: {
    50: '#f4a6e7',
    500: '#ec7ddc',
    950: '#000000',
  },
}
SCSS
$custom: #ec7ddc;
$custom-light: #f4a6e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7ddc",
  "rgb": {
    "r": 236,
    "g": 125,
    "b": 220
  },
  "hsl": {
    "h": 308.649,
    "s": 74.497,
    "l": 70.784
  },
  "oklch": {
    "l": 0.74471,
    "c": 0.17738,
    "h": 332.8
  },
  "luminance": 0.37667
}

Semantic roles & 50–950 ramp

primary
#EC7DDC
secondary
#D3F1D8
accent
#D72C0F
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #EC7DDC

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

Preview Lab → · Contrast checker → · Palette generator →

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