#EC7DEF#EC7DEF

#EC7DEF is a light, vivid purple. Relative luminance 0.387; OKLCH L 75.3% C 0.194 H 326.3°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#EC7DEF
RGBrgb(236, 125, 239)
HSLhsl(298, 78%, 71%)
HSVhsv(298, 48%, 94%)
CMYKcmyk(1.3%, 47.7%, 0%, 6.3%)
CIE-LABlab(68.56, 58.41, -39.15)
CIE-LCHlch(68.56, 70.32, 326.17°)
OKLaboklab(75.31% 0.1612 -0.1075)
OKLCHoklch(75.31% 0.194 326.3)
XYZxyz(57.5045, 38.7351, 86.0923)
Luminance0.3873 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7DEF #80EF7D
analogous
#B37DEF #EC7DEF #EF7DB9
triadic
#EC7DEF #EFEC7D #7DEFEC
tetradic
#EC7DEF #EFB37D #80EF7D #7DB9EF
square
#EC7DEF #EFB37D #80EF7D #7DB9EF
split-complementary
#EC7DEF #B9EF7D #7DEFB3
monochromatic
#D21AD7 #E447E8 #EC7DEF #F4B3F6 #FBE4FC

Accessibility & contrast

On white

2.40
#EC7DEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.75
#EC7DEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7DEF
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7DEF#FFFFFF#000000##000000
##EC7DEF1.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#729EF3
Deuteranopia (green-blind)
#92ACEC
Tritanopia (blue-blind)
#F18AAB
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #ec7def;
/* rgb */ color: rgb(236, 125, 239);
/* oklch */ color: oklch(75.3% 0.194 326.3);
Tailwind
colors: {
  custom: {
    50: '#f4a6f4',
    500: '#ec7def',
    950: '#000000',
  },
}
SCSS
$custom: #ec7def;
$custom-light: #f4a6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7def",
  "rgb": {
    "r": 236,
    "g": 125,
    "b": 239
  },
  "hsl": {
    "h": 298.421,
    "s": 78.082,
    "l": 71.373
  },
  "oklch": {
    "l": 0.75308,
    "c": 0.19378,
    "h": 326.3
  },
  "luminance": 0.38732
}

Semantic roles & 50–950 ramp

primary
#EC7DEF
secondary
#D6F3D5
accent
#DA0B11
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171017
muted
#857F85

Preview Lab

Preview with #EC7DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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