#EC7DF1#EC7DF1

#EC7DF1 is a light, vivid purple. Relative luminance 0.389; OKLCH L 75.4% C 0.196 H 325.7°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#EC7DF1
RGBrgb(236, 125, 241)
HSLhsl(297, 81%, 72%)
HSVhsv(297, 48%, 95%)
CMYKcmyk(2.1%, 48.1%, 0%, 5.5%)
CIE-LABlab(68.65, 58.76, -40.11)
CIE-LCHlch(68.65, 71.15, 325.68°)
OKLaboklab(75.4% 0.1616 -0.1103)
OKLCHoklch(75.4% 0.196 325.7)
XYZxyz(57.8016, 38.8539, 87.6570)
Luminance0.3885 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7DF1 #82F17D
analogous
#B27DF1 #EC7DF1 #F17DBC
triadic
#EC7DF1 #F1EC7D #7DF1EC
tetradic
#EC7DF1 #F1B27D #82F17D #7DBCF1
square
#EC7DF1 #F1B27D #82F17D #7DBCF1
split-complementary
#EC7DF1 #BCF17D #7DF1B2
monochromatic
#D318DC #E446EB #EC7DF1 #F4B4F7 #FBE3FC

Accessibility & contrast

On white

2.39
#EC7DF1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.77
#EC7DF1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7DF1
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7DF1#FFFFFF#000000##000000
##EC7DF11.002.398.778.77
#FFFFFF2.391.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#709FF5
Deuteranopia (green-blind)
#91ACEE
Tritanopia (blue-blind)
#F18AAC
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #ec7df1;
/* rgb */ color: rgb(236, 125, 241);
/* oklch */ color: oklch(75.4% 0.196 325.7);
Tailwind
colors: {
  custom: {
    50: '#f4a6f6',
    500: '#ec7df1',
    950: '#000000',
  },
}
SCSS
$custom: #ec7df1;
$custom-light: #f4a6f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7df1",
  "rgb": {
    "r": 236,
    "g": 125,
    "b": 241
  },
  "hsl": {
    "h": 297.414,
    "s": 80.556,
    "l": 71.765
  },
  "oklch": {
    "l": 0.754,
    "c": 0.19559,
    "h": 325.7
  },
  "luminance": 0.38851
}

Semantic roles & 50–950 ramp

primary
#EC7DF1
secondary
#D7F4D6
accent
#DD0912
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#171017
muted
#857F85

Preview Lab

Preview with #EC7DF1

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

Preview Lab → · Contrast checker → · Palette generator →

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