#EC7DF7#EC7DF7

#EC7DF7 is a light, highly saturated purple. Relative luminance 0.392; OKLCH L 75.7% C 0.201 H 323.9°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#EC7DF7
RGBrgb(236, 125, 247)
HSLhsl(295, 88%, 73%)
HSVhsv(295, 49%, 97%)
CMYKcmyk(4.5%, 49.4%, 0%, 3.1%)
CIE-LABlab(68.91, 59.84, -42.99)
CIE-LCHlch(68.91, 73.68, 324.30°)
OKLaboklab(75.68% 0.1624 -0.1185)
OKLCHoklch(75.68% 0.201 323.9)
XYZxyz(58.7126, 39.2183, 92.4549)
Luminance0.3921 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7DF7 #88F77D
analogous
#AF7DF7 #EC7DF7 #F77DC5
triadic
#EC7DF7 #F7EC7D #7DF7EC
tetradic
#EC7DF7 #F7AF7D #88F77D #7DC5F7
square
#EC7DF7 #F7AF7D #88F77D #7DC5F7
split-complementary
#EC7DF7 #C5F77D #7DF7AF
monochromatic
#D70EEB #E443F3 #EC7DF7 #F4B7FB #FBE2FD

Accessibility & contrast

On white

2.37
#EC7DF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.84
#EC7DF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7DF7
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7DF7#FFFFFF#000000##000000
##EC7DF71.002.378.848.84
#FFFFFF2.371.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6DA0FB
Deuteranopia (green-blind)
#8EADF3
Tritanopia (blue-blind)
#F08CAF
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #ec7df7;
/* rgb */ color: rgb(236, 125, 247);
/* oklch */ color: oklch(75.7% 0.201 323.9);
Tailwind
colors: {
  custom: {
    50: '#f4a6fa',
    500: '#ec7df7',
    950: '#000000',
  },
}
SCSS
$custom: #ec7df7;
$custom-light: #f4a6fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7df7",
  "rgb": {
    "r": 236,
    "g": 125,
    "b": 247
  },
  "hsl": {
    "h": 294.59,
    "s": 88.406,
    "l": 72.941
  },
  "oklch": {
    "l": 0.75681,
    "c": 0.20107,
    "h": 323.9
  },
  "luminance": 0.39215
}

Semantic roles & 50–950 ramp

primary
#EC7DF7
secondary
#D9F5D6
accent
#E50015
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #EC7DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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