#EC7CF0#EC7CF0

#EC7CF0 is a light, vivid purple. Relative luminance 0.385; OKLCH L 75.2% C 0.196 H 326.0°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#EC7CF0
RGBrgb(236, 124, 240)
HSLhsl(298, 79%, 71%)
HSVhsv(298, 48%, 94%)
CMYKcmyk(1.7%, 48.3%, 0%, 5.9%)
CIE-LABlab(68.42, 59.07, -39.92)
CIE-LCHlch(68.42, 71.29, 325.95°)
OKLaboklab(75.22% 0.1628 -0.1097)
OKLCHoklch(75.22% 0.196 326)
XYZxyz(57.5267, 38.5424, 86.8305)
Luminance0.3854 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7CF0 #80F07C
analogous
#B27CF0 #EC7CF0 #F07CBA
triadic
#EC7CF0 #F0EC7C #7CF0EC
tetradic
#EC7CF0 #F0B27C #80F07C #7CBAF0
square
#EC7CF0 #F0B27C #80F07C #7CBAF0
split-complementary
#EC7CF0 #BAF07C #7CF0B2
monochromatic
#D219D9 #E445EA #EC7CF0 #F4B3F6 #FBE4FC

Accessibility & contrast

On white

2.41
#EC7CF0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#EC7CF0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7CF0
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7CF0#FFFFFF#000000##000000
##EC7CF01.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#709EF4
Deuteranopia (green-blind)
#91ACED
Tritanopia (blue-blind)
#F189AB
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #ec7cf0;
/* rgb */ color: rgb(236, 124, 240);
/* oklch */ color: oklch(75.2% 0.196 326.0);
Tailwind
colors: {
  custom: {
    50: '#f4a6f5',
    500: '#ec7cf0',
    950: '#000000',
  },
}
SCSS
$custom: #ec7cf0;
$custom-light: #f4a6f5;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7cf0",
  "rgb": {
    "r": 236,
    "g": 124,
    "b": 240
  },
  "hsl": {
    "h": 297.931,
    "s": 79.452,
    "l": 71.373
  },
  "oklch": {
    "l": 0.75218,
    "c": 0.19626,
    "h": 326
  },
  "luminance": 0.38539
}

Semantic roles & 50–950 ramp

primary
#EC7CF0
secondary
#D6F3D5
accent
#DC0A11
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#171017
muted
#857F85

Preview Lab

Preview with #EC7CF0

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

Preview Lab → · Contrast checker → · Palette generator →

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