#EC7CFD#EC7CFD

#EC7CFD is a light, highly saturated purple. Relative luminance 0.393; OKLCH L 75.8% C 0.208 H 322.2°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#EC7CFD
RGBrgb(236, 124, 253)
HSLhsl(292, 97%, 74%)
HSVhsv(292, 51%, 99%)
CMYKcmyk(6.7%, 51%, 0%, 0.8%)
CIE-LABlab(69.00, 61.42, -46.14)
CIE-LCHlch(69.00, 76.81, 323.09°)
OKLaboklab(75.84% 0.1645 -0.1276)
OKLCHoklch(75.84% 0.208 322.2)
XYZxyz(59.5275, 39.3427, 97.3678)
Luminance0.3934 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7CFD #8DFD7C
analogous
#AC7CFD #EC7CFD #FD7CCE
triadic
#EC7CFD #FDEC7C #7CFDEC
tetradic
#EC7CFD #FDAC7C #8DFD7C #7CCEFD
square
#EC7CFD #FDAC7C #8DFD7C #7CCEFD
split-complementary
#EC7CFD #CEFD7C #7CFDAC
monochromatic
#DA04FB #E340FC #EC7CFD #F5B8FE #FBE1FF

Accessibility & contrast

On white

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

On black

8.87
#EC7CFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7CFD
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7CFD#FFFFFF#000000##000000
##EC7CFD1.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#68A0FF
Deuteranopia (green-blind)
#8BADF9
Tritanopia (blue-blind)
#EF8DB1
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #ec7cfd;
/* rgb */ color: rgb(236, 124, 253);
/* oklch */ color: oklch(75.8% 0.208 322.2);
Tailwind
colors: {
  custom: {
    50: '#f5a6fe',
    500: '#ec7cfd',
    950: '#000000',
  },
}
SCSS
$custom: #ec7cfd;
$custom-light: #f5a6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7cfd",
  "rgb": {
    "r": 236,
    "g": 124,
    "b": 253
  },
  "hsl": {
    "h": 292.093,
    "s": 96.992,
    "l": 73.922
  },
  "oklch": {
    "l": 0.75836,
    "c": 0.20817,
    "h": 322.2
  },
  "luminance": 0.3934
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC7CFD

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

Preview Lab → · Contrast checker → · Palette generator →

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