#EC7DFC#EC7DFC

#EC7DFC is a light, highly saturated purple. Relative luminance 0.395; OKLCH L 75.9% C 0.206 H 322.4°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#EC7DFC
RGBrgb(236, 125, 252)
HSLhsl(292, 95%, 74%)
HSVhsv(292, 50%, 99%)
CMYKcmyk(6.3%, 50.4%, 0%, 1.2%)
CIE-LABlab(69.13, 60.75, -45.38)
CIE-LCHlch(69.13, 75.83, 323.24°)
OKLaboklab(75.92% 0.1631 -0.1254)
OKLCHoklch(75.92% 0.206 322.4)
XYZxyz(59.4945, 39.5311, 96.5730)
Luminance0.3953 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7DFC #8DFC7D
analogous
#AD7DFC #EC7DFC #FC7DCD
triadic
#EC7DFC #FCEC7D #7DFCEC
tetradic
#EC7DFC #FCAD7D #8DFC7D #7DCDFC
square
#EC7DFC #FCAD7D #8DFC7D #7DCDFC
split-complementary
#EC7DFC #CDFC7D #7DFCAD
monochromatic
#DA06F9 #E341FB #EC7DFC #F5B9FD #FBE1FE

Accessibility & contrast

On white

2.36
#EC7DFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.91
#EC7DFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7DFC
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7DFC#FFFFFF#000000##000000
##EC7DFC1.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6AA0FF
Deuteranopia (green-blind)
#8CADF8
Tritanopia (blue-blind)
#EF8EB1
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #ec7dfc;
/* rgb */ color: rgb(236, 125, 252);
/* oklch */ color: oklch(75.9% 0.206 322.4);
Tailwind
colors: {
  custom: {
    50: '#f4a6fe',
    500: '#ec7dfc',
    950: '#000000',
  },
}
SCSS
$custom: #ec7dfc;
$custom-light: #f4a6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7dfc",
  "rgb": {
    "r": 236,
    "g": 125,
    "b": 252
  },
  "hsl": {
    "h": 292.441,
    "s": 95.489,
    "l": 73.922
  },
  "oklch": {
    "l": 0.75921,
    "c": 0.2057,
    "h": 322.4
  },
  "luminance": 0.39528
}

Semantic roles & 50–950 ramp

primary
#EC7DFC
secondary
#D9F7D4
accent
#E6001D
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171018
muted
#857F86

Preview Lab

Preview with #EC7DFC

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

Preview Lab → · Contrast checker → · Palette generator →

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