#EC7DF3#EC7DF3

#EC7DF3 is a light, vivid purple. Relative luminance 0.390; OKLCH L 75.5% C 0.197 H 325.1°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#EC7DF3
RGBrgb(236, 125, 243)
HSLhsl(296, 83%, 72%)
HSVhsv(296, 49%, 95%)
CMYKcmyk(2.9%, 48.6%, 0%, 4.7%)
CIE-LABlab(68.73, 59.12, -41.08)
CIE-LCHlch(68.73, 71.99, 325.21°)
OKLaboklab(75.49% 0.1619 -0.113)
OKLCHoklch(75.49% 0.197 325.1)
XYZxyz(58.1020, 38.9741, 89.2389)
Luminance0.3897 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7DF3 #84F37D
analogous
#B17DF3 #EC7DF3 #F37DBF
triadic
#EC7DF3 #F3EC7D #7DF3EC
tetradic
#EC7DF3 #F3B17D #84F37D #7DBFF3
square
#EC7DF3 #F3B17D #84F37D #7DBFF3
split-complementary
#EC7DF3 #BFF37D #7DF3B1
monochromatic
#D515E1 #E445EE #EC7DF3 #F4B5F8 #FBE3FC

Accessibility & contrast

On white

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

On black

8.79
#EC7DF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7DF3
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7DF3#FFFFFF#000000##000000
##EC7DF31.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9FF7
Deuteranopia (green-blind)
#90ADF0
Tritanopia (blue-blind)
#F18BAD
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #ec7df3;
/* rgb */ color: rgb(236, 125, 243);
/* oklch */ color: oklch(75.5% 0.197 325.1);
Tailwind
colors: {
  custom: {
    50: '#f4a6f7',
    500: '#ec7df3',
    950: '#000000',
  },
}
SCSS
$custom: #ec7df3;
$custom-light: #f4a6f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7df3",
  "rgb": {
    "r": 236,
    "g": 125,
    "b": 243
  },
  "hsl": {
    "h": 296.441,
    "s": 83.099,
    "l": 72.157
  },
  "oklch": {
    "l": 0.75493,
    "c": 0.19741,
    "h": 325.1
  },
  "luminance": 0.38971
}

Semantic roles & 50–950 ramp

primary
#EC7DF3
secondary
#D8F4D7
accent
#E00613
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #EC7DF3

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

Preview Lab → · Contrast checker → · Palette generator →

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