#EC7CF9#EC7CF9

#EC7CF9 is a light, highly saturated purple. Relative luminance 0.391; OKLCH L 75.6% C 0.204 H 323.3°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#EC7CF9
RGBrgb(236, 124, 249)
HSLhsl(294, 91%, 73%)
HSVhsv(294, 50%, 98%)
CMYKcmyk(5.2%, 50.2%, 0%, 2.4%)
CIE-LABlab(68.82, 60.68, -44.23)
CIE-LCHlch(68.82, 75.09, 323.91°)
OKLaboklab(75.64% 0.164 -0.1221)
OKLCHoklch(75.64% 0.204 323.3)
XYZxyz(58.8969, 39.0905, 94.0470)
Luminance0.3909 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7CF9 #89F97C
analogous
#AD7CF9 #EC7CF9 #F97CC7
triadic
#EC7CF9 #F9EC7C #7CF9EC
tetradic
#EC7CF9 #F9AD7C #89F97C #7CC7F9
square
#EC7CF9 #F9AD7C #89F97C #7CC7F9
split-complementary
#EC7CF9 #C7F97C #7CF9AD
monochromatic
#D80BF0 #E441F6 #EC7CF9 #F4B7FC #FBE2FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EC7CF9#FFFFFF#000000##000000
##EC7CF91.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)
#6B9FFD
Deuteranopia (green-blind)
#8DADF5
Tritanopia (blue-blind)
#F08CAF
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #ec7cf9;
/* rgb */ color: rgb(236, 124, 249);
/* oklch */ color: oklch(75.6% 0.204 323.3);
Tailwind
colors: {
  custom: {
    50: '#f4a6fb',
    500: '#ec7cf9',
    950: '#000000',
  },
}
SCSS
$custom: #ec7cf9;
$custom-light: #f4a6fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7cf9",
  "rgb": {
    "r": 236,
    "g": 124,
    "b": 249
  },
  "hsl": {
    "h": 293.76,
    "s": 91.241,
    "l": 73.137
  },
  "oklch": {
    "l": 0.75643,
    "c": 0.20446,
    "h": 323.3
  },
  "luminance": 0.39088
}

Semantic roles & 50–950 ramp

primary
#EC7CF9
secondary
#D9F6D5
accent
#E60018
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #EC7CF9

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

Preview Lab → · Contrast checker → · Palette generator →

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