#EC76EB#EC76EB

#EC76EB is a light, highly saturated purple. Relative luminance 0.368; OKLCH L 74.2% C 0.201 H 327.7°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#EC76EB
RGBrgb(236, 118, 235)
HSLhsl(301, 76%, 69%)
HSVhsv(301, 50%, 93%)
CMYKcmyk(0%, 50%, 0.4%, 7.5%)
CIE-LABlab(67.12, 61.05, -39.19)
CIE-LCHlch(67.12, 72.55, 327.30°)
OKLaboklab(74.19% 0.17 -0.1075)
OKLCHoklch(74.19% 0.201 327.7)
XYZxyz(56.0650, 36.7911, 82.7295)
Luminance0.3679 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC76EB #76EC77
analogous
#B276EC #EC76EB #EC76B0
triadic
#EC76EB #EBEC76 #76EBEC
tetradic
#EC76EB #ECB276 #76EC77 #76B0EC
square
#EC76EB #ECB276 #76EC77 #76B0EC
split-complementary
#EC76EB #B0EC76 #76ECB2
monochromatic
#CB1CCA #E540E3 #EC76EB #F3ACF3 #FBE1FB

Accessibility & contrast

On white

2.51
#EC76EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.36
#EC76EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC76EB
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC76EB#FFFFFF#000000##000000
##EC76EB1.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9AEF
Deuteranopia (green-blind)
#8FA9E7
Tritanopia (blue-blind)
#F283A6
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ec76eb;
/* rgb */ color: rgb(236, 118, 235);
/* oklch */ color: oklch(74.2% 0.201 327.7);
Tailwind
colors: {
  custom: {
    50: '#f5a2f2',
    500: '#ec76eb',
    950: '#000000',
  },
}
SCSS
$custom: #ec76eb;
$custom-light: #f5a2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ec76eb",
  "rgb": {
    "r": 236,
    "g": 118,
    "b": 235
  },
  "hsl": {
    "h": 300.508,
    "s": 75.641,
    "l": 69.412
  },
  "oklch": {
    "l": 0.74187,
    "c": 0.20118,
    "h": 327.7
  },
  "luminance": 0.36788
}

Semantic roles & 50–950 ramp

primary
#EC76EB
secondary
#CEF0CE
accent
#D80F0E
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#170F17
muted
#857F85

Preview Lab

Preview with #EC76EB

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

Preview Lab → · Contrast checker → · Palette generator →

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