#EC7CF5#EC7CF5

#EC7CF5 is a light, highly saturated purple. Relative luminance 0.388; OKLCH L 75.5% C 0.201 H 324.5°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#EC7CF5
RGBrgb(236, 124, 245)
HSLhsl(296, 86%, 72%)
HSVhsv(296, 49%, 96%)
CMYKcmyk(3.7%, 49.4%, 0%, 3.9%)
CIE-LABlab(68.64, 59.96, -42.32)
CIE-LCHlch(68.64, 73.39, 324.78°)
OKLaboklab(75.45% 0.1635 -0.1166)
OKLCHoklch(75.45% 0.201 324.5)
XYZxyz(58.2797, 38.8436, 90.7963)
Luminance0.3884 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7CF5 #85F57C
analogous
#AF7CF5 #EC7CF5 #F57CC2
triadic
#EC7CF5 #F5EC7C #7CF5EC
tetradic
#EC7CF5 #F5AF7C #85F57C #7CC2F5
square
#EC7CF5 #F5AF7C #85F57C #7CC2F5
split-complementary
#EC7CF5 #C2F57C #7CF5AF
monochromatic
#D511E5 #E443F1 #EC7CF5 #F4B5F9 #FBE3FD

Accessibility & contrast

On white

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

On black

8.77
#EC7CF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7CF5
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7CF5#FFFFFF#000000##000000
##EC7CF51.002.408.778.77
#FFFFFF2.401.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9FF9
Deuteranopia (green-blind)
#8FACF1
Tritanopia (blue-blind)
#F08BAE
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #ec7cf5;
/* rgb */ color: rgb(236, 124, 245);
/* oklch */ color: oklch(75.5% 0.201 324.5);
Tailwind
colors: {
  custom: {
    50: '#f4a6f9',
    500: '#ec7cf5',
    950: '#000000',
  },
}
SCSS
$custom: #ec7cf5;
$custom-light: #f4a6f9;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7cf5",
  "rgb": {
    "r": 236,
    "g": 124,
    "b": 245
  },
  "hsl": {
    "h": 295.537,
    "s": 85.816,
    "l": 72.353
  },
  "oklch": {
    "l": 0.75452,
    "c": 0.20079,
    "h": 324.5
  },
  "luminance": 0.38841
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC7CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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