#EC7CFF#EC7CFF

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

Color values

HEX#EC7CFF
RGBrgb(236, 124, 255)
HSLhsl(291, 100%, 74%)
HSVhsv(291, 51%, 100%)
CMYKcmyk(7.5%, 51.4%, 0%, 0%)
CIE-LABlab(69.09, 61.78, -47.08)
CIE-LCHlch(69.09, 77.68, 322.69°)
OKLaboklab(75.93% 0.1647 -0.1303)
OKLCHoklch(75.93% 0.21 321.7)
XYZxyz(59.8477, 39.4708, 99.0545)
Luminance0.3947 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7CFF #8FFF7C
analogous
#AB7CFF #EC7CFF #FF7CD0
triadic
#EC7CFF #FFEC7C #7CFFEC
tetradic
#EC7CFF #FFAB7C #8FFF7C #7CD0FF
square
#EC7CFF #FFAB7C #8FFF7C #7CD0FF
split-complementary
#EC7CFF #D0FF7C #7CFFAB
monochromatic
#DA02FF #E33FFF #EC7CFF #F5B9FF #FBE0FF

Accessibility & contrast

On white

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

On black

8.89
#EC7CFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7CFF
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7CFF#FFFFFF#000000##000000
##EC7CFF1.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#67A0FF
Deuteranopia (green-blind)
#8AADFB
Tritanopia (blue-blind)
#EE8EB2
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #ec7cff;
/* rgb */ color: rgb(236, 124, 255);
/* oklch */ color: oklch(75.9% 0.210 321.7);
Tailwind
colors: {
  custom: {
    50: '#f5a6ff',
    500: '#ec7cff',
    950: '#000000',
  },
}
SCSS
$custom: #ec7cff;
$custom-light: #f5a6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7cff",
  "rgb": {
    "r": 236,
    "g": 124,
    "b": 255
  },
  "hsl": {
    "h": 291.298,
    "s": 100,
    "l": 74.314
  },
  "oklch": {
    "l": 0.75934,
    "c": 0.21004,
    "h": 321.7
  },
  "luminance": 0.39468
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC7CFF

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

Preview Lab → · Contrast checker → · Palette generator →

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