#EC76F2#EC76F2

#EC76F2 is a light, highly saturated purple. Relative luminance 0.372; OKLCH L 74.5% C 0.207 H 325.6°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#EC76F2
RGBrgb(236, 118, 242)
HSLhsl(297, 83%, 71%)
HSVhsv(297, 51%, 95%)
CMYKcmyk(2.5%, 51.2%, 0%, 5.1%)
CIE-LABlab(67.43, 62.27, -42.57)
CIE-LCHlch(67.43, 75.43, 325.65°)
OKLaboklab(74.52% 0.171 -0.1172)
OKLCHoklch(74.52% 0.207 325.6)
XYZxyz(57.0963, 37.2036, 88.1608)
Luminance0.3720 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC76F2 #7CF276
analogous
#AE76F2 #EC76F2 #F276BA
triadic
#EC76F2 #F2EC76 #76F2EC
tetradic
#EC76F2 #F2AE76 #7CF276 #76BAF2
square
#EC76F2 #F2AE76 #7CF276 #76BAF2
split-complementary
#EC76F2 #BAF276 #76F2AE
monochromatic
#D015D9 #E43EED #EC76F2 #F4AEF7 #FBE3FC

Accessibility & contrast

On white

2.49
#EC76F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#EC76F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC76F2
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC76F2#FFFFFF#000000##000000
##EC76F21.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#679BF6
Deuteranopia (green-blind)
#8CA9EE
Tritanopia (blue-blind)
#F185A9
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ec76f2;
/* rgb */ color: rgb(236, 118, 242);
/* oklch */ color: oklch(74.5% 0.207 325.6);
Tailwind
colors: {
  custom: {
    50: '#f5a2f7',
    500: '#ec76f2',
    950: '#000000',
  },
}
SCSS
$custom: #ec76f2;
$custom-light: #f5a2f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ec76f2",
  "rgb": {
    "r": 236,
    "g": 118,
    "b": 242
  },
  "hsl": {
    "h": 297.097,
    "s": 82.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.74517,
    "c": 0.20732,
    "h": 325.6
  },
  "luminance": 0.37201
}

Semantic roles & 50–950 ramp

primary
#EC76F2
secondary
#D3F3D1
accent
#DF0611
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#170F17
muted
#857F85

Preview Lab

Preview with #EC76F2

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

Preview Lab → · Contrast checker → · Palette generator →

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