#EC7CF4#EC7CF4

#EC7CF4 is a light, vivid purple. Relative luminance 0.388; OKLCH L 75.4% C 0.200 H 324.8°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#EC7CF4
RGBrgb(236, 124, 244)
HSLhsl(296, 85%, 72%)
HSVhsv(296, 49%, 96%)
CMYKcmyk(3.3%, 49.2%, 0%, 4.3%)
CIE-LABlab(68.59, 59.78, -41.84)
CIE-LCHlch(68.59, 72.97, 325.01°)
OKLaboklab(75.41% 0.1633 -0.1152)
OKLCHoklch(75.41% 0.2 324.8)
XYZxyz(58.1275, 38.7827, 89.9944)
Luminance0.3878 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7CF4 #84F47C
analogous
#B07CF4 #EC7CF4 #F47CC0
triadic
#EC7CF4 #F4EC7C #7CF4EC
tetradic
#EC7CF4 #F4B07C #84F47C #7CC0F4
square
#EC7CF4 #F4B07C #84F47C #7CC0F4
split-complementary
#EC7CF4 #C0F47C #7CF4B0
monochromatic
#D513E3 #E444EF #EC7CF4 #F4B4F9 #FBE3FD

Accessibility & contrast

On white

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

On black

8.76
#EC7CF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7CF4
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7CF4#FFFFFF#000000##000000
##EC7CF41.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9EF8
Deuteranopia (green-blind)
#8FACF0
Tritanopia (blue-blind)
#F18AAD
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #ec7cf4;
/* rgb */ color: rgb(236, 124, 244);
/* oklch */ color: oklch(75.4% 0.200 324.8);
Tailwind
colors: {
  custom: {
    50: '#f4a6f8',
    500: '#ec7cf4',
    950: '#000000',
  },
}
SCSS
$custom: #ec7cf4;
$custom-light: #f4a6f8;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7cf4",
  "rgb": {
    "r": 236,
    "g": 124,
    "b": 244
  },
  "hsl": {
    "h": 296,
    "s": 84.507,
    "l": 72.157
  },
  "oklch": {
    "l": 0.75405,
    "c": 0.19988,
    "h": 324.8
  },
  "luminance": 0.3878
}

Semantic roles & 50–950 ramp

primary
#EC7CF4
secondary
#D8F5D6
accent
#E10513
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #EC7CF4

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

Preview Lab → · Contrast checker → · Palette generator →

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