#EC7DF5#EC7DF5

#EC7DF5 is a light, vivid purple. Relative luminance 0.391; OKLCH L 75.6% C 0.199 H 324.5°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#EC7DF5
RGBrgb(236, 125, 245)
HSLhsl(296, 86%, 73%)
HSVhsv(296, 49%, 96%)
CMYKcmyk(3.7%, 49%, 0%, 3.9%)
CIE-LABlab(68.82, 59.48, -42.04)
CIE-LCHlch(68.82, 72.83, 324.75°)
OKLaboklab(75.59% 0.1621 -0.1158)
OKLCHoklch(75.59% 0.199 324.5)
XYZxyz(58.4057, 39.0955, 90.8382)
Luminance0.3909 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7DF5 #86F57D
analogous
#B07DF5 #EC7DF5 #F57DC2
triadic
#EC7DF5 #F5EC7D #7DF5EC
tetradic
#EC7DF5 #F5B07D #86F57D #7DC2F5
square
#EC7DF5 #F5B07D #86F57D #7DC2F5
split-complementary
#EC7DF5 #C2F57D #7DF5B0
monochromatic
#D612E6 #E444F1 #EC7DF5 #F4B6F9 #FBE3FD

Accessibility & contrast

On white

2.38
#EC7DF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.82
#EC7DF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7DF5
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7DF5#FFFFFF#000000##000000
##EC7DF51.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9FF9
Deuteranopia (green-blind)
#8FADF1
Tritanopia (blue-blind)
#F08BAE
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #ec7df5;
/* rgb */ color: rgb(236, 125, 245);
/* oklch */ color: oklch(75.6% 0.199 324.5);
Tailwind
colors: {
  custom: {
    50: '#f4a6f9',
    500: '#ec7df5',
    950: '#000000',
  },
}
SCSS
$custom: #ec7df5;
$custom-light: #f4a6f9;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7df5",
  "rgb": {
    "r": 236,
    "g": 125,
    "b": 245
  },
  "hsl": {
    "h": 295.5,
    "s": 85.714,
    "l": 72.549
  },
  "oklch": {
    "l": 0.75587,
    "c": 0.19923,
    "h": 324.5
  },
  "luminance": 0.39093
}

Semantic roles & 50–950 ramp

primary
#EC7DF5
secondary
#D8F5D6
accent
#E20314
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #EC7DF5

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

Preview Lab → · Contrast checker → · Palette generator →

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