#EC7CF3#EC7CF3

#EC7CF3 is a light, vivid purple. Relative luminance 0.387; OKLCH L 75.4% C 0.199 H 325.1°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#EC7CF3
RGBrgb(236, 124, 243)
HSLhsl(296, 83%, 72%)
HSVhsv(296, 49%, 95%)
CMYKcmyk(2.9%, 49%, 0%, 4.7%)
CIE-LABlab(68.55, 59.60, -41.36)
CIE-LCHlch(68.55, 72.55, 325.24°)
OKLaboklab(75.36% 0.1632 -0.1138)
OKLCHoklch(75.36% 0.199 325.1)
XYZxyz(57.9760, 38.7221, 89.1970)
Luminance0.3872 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7CF3 #83F37C
analogous
#B17CF3 #EC7CF3 #F37CBE
triadic
#EC7CF3 #F3EC7C #7CF3EC
tetradic
#EC7CF3 #F3B17C #83F37C #7CBEF3
square
#EC7CF3 #F3B17C #83F37C #7CBEF3
split-complementary
#EC7CF3 #BEF37C #7CF3B1
monochromatic
#D415E0 #E444EE #EC7CF3 #F4B4F8 #FBE3FC

Accessibility & contrast

On white

2.40
#EC7CF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.74
#EC7CF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7CF3
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7CF3#FFFFFF#000000##000000
##EC7CF31.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9EF7
Deuteranopia (green-blind)
#90ACEF
Tritanopia (blue-blind)
#F18AAD
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #ec7cf3;
/* rgb */ color: rgb(236, 124, 243);
/* oklch */ color: oklch(75.4% 0.199 325.1);
Tailwind
colors: {
  custom: {
    50: '#f4a6f7',
    500: '#ec7cf3',
    950: '#000000',
  },
}
SCSS
$custom: #ec7cf3;
$custom-light: #f4a6f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7cf3",
  "rgb": {
    "r": 236,
    "g": 124,
    "b": 243
  },
  "hsl": {
    "h": 296.471,
    "s": 83.217,
    "l": 71.961
  },
  "oklch": {
    "l": 0.75358,
    "c": 0.19897,
    "h": 325.1
  },
  "luminance": 0.38719
}

Semantic roles & 50–950 ramp

primary
#EC7CF3
secondary
#D8F4D6
accent
#E00613
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #EC7CF3

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

Preview Lab → · Contrast checker → · Palette generator →

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