#EC77EB#EC77EB

#EC77EB is a light, vivid purple. Relative luminance 0.370; OKLCH L 74.3% C 0.200 H 327.7°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#EC77EB
RGBrgb(236, 119, 235)
HSLhsl(301, 75%, 70%)
HSVhsv(301, 50%, 93%)
CMYKcmyk(0%, 49.6%, 0.4%, 7.5%)
CIE-LABlab(67.30, 60.58, -38.91)
CIE-LCHlch(67.30, 72.00, 327.29°)
OKLaboklab(74.32% 0.1687 -0.1068)
OKLCHoklch(74.32% 0.2 327.7)
XYZxyz(56.1834, 37.0278, 82.7689)
Luminance0.3703 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC77EB #77EC78
analogous
#B377EC #EC77EB #EC77B1
triadic
#EC77EB #EBEC77 #77EBEC
tetradic
#EC77EB #ECB377 #77EC78 #77B1EC
square
#EC77EB #ECB377 #77EC78 #77B1EC
split-complementary
#EC77EB #B1EC77 #77ECB3
monochromatic
#CC1DCB #E441E3 #EC77EB #F4ADF3 #FBE2FB

Accessibility & contrast

On white

2.50
#EC77EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#EC77EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC77EB
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC77EB#FFFFFF#000000##000000
##EC77EB1.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9AEF
Deuteranopia (green-blind)
#90A9E7
Tritanopia (blue-blind)
#F283A7
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ec77eb;
/* rgb */ color: rgb(236, 119, 235);
/* oklch */ color: oklch(74.3% 0.200 327.7);
Tailwind
colors: {
  custom: {
    50: '#f4a2f2',
    500: '#ec77eb',
    950: '#000000',
  },
}
SCSS
$custom: #ec77eb;
$custom-light: #f4a2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ec77eb",
  "rgb": {
    "r": 236,
    "g": 119,
    "b": 235
  },
  "hsl": {
    "h": 300.513,
    "s": 75.484,
    "l": 69.608
  },
  "oklch": {
    "l": 0.74319,
    "c": 0.19963,
    "h": 327.7
  },
  "luminance": 0.37025
}

Semantic roles & 50–950 ramp

primary
#EC77EB
secondary
#CFF0CF
accent
#D8100E
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#170F17
muted
#857F85

Preview Lab

Preview with #EC77EB

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

Preview Lab → · Contrast checker → · Palette generator →

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