#EC2EE8#EC2EE8

#EC2EE8 is a light, highly saturated purple. Relative luminance 0.256; OKLCH L 67.3% C 0.283 H 329.2°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#EC2EE8
RGBrgb(236, 46, 232)
HSLhsl(301, 83%, 55%)
HSVhsv(301, 81%, 93%)
CMYKcmyk(0%, 80.5%, 1.7%, 7.5%)
CIE-LABlab(57.67, 86.44, -52.42)
CIE-LCHlch(57.67, 101.09, 328.77°)
OKLaboklab(67.3% 0.2432 -0.1453)
OKLCHoklch(67.3% 0.283 329.2)
XYZxyz(50.1342, 25.6170, 78.6324)
Luminance0.2561 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC2EE8 #2EEC32
analogous
#912EEC #EC2EE8 #EC2E89
triadic
#EC2EE8 #E8EC2E #2EE8EC
tetradic
#EC2EE8 #EC912E #2EEC32 #2E89EC
square
#EC2EE8 #EC912E #2EEC32 #2E89EC
split-complementary
#EC2EE8 #89EC2E #2EEC91
monochromatic
#920D8F #CA12C7 #EC2EE8 #F166EE #F69EF4

Accessibility & contrast

On white

3.43
#EC2EE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#EC2EE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC2EE8
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC2EE8#FFFFFF#000000##000000
##EC2EE81.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BED
Deuteranopia (green-blind)
#6B93E4
Tritanopia (blue-blind)
#F44F8D
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ec2ee8;
/* rgb */ color: rgb(236, 46, 232);
/* oklch */ color: oklch(67.3% 0.283 329.2);
Tailwind
colors: {
  custom: {
    50: '#f77ff0',
    500: '#ec2ee8',
    950: '#000000',
  },
}
SCSS
$custom: #ec2ee8;
$custom-light: #f77ff0;
$custom-dark: #000000;
JSON
{
  "hex": "#ec2ee8",
  "rgb": {
    "r": 236,
    "g": 46,
    "b": 232
  },
  "hsl": {
    "h": 301.263,
    "s": 83.333,
    "l": 55.294
  },
  "oklch": {
    "l": 0.67295,
    "c": 0.2833,
    "h": 329.2
  },
  "luminance": 0.25613
}

Semantic roles & 50–950 ramp

primary
#EC2EE8
secondary
#93E395
accent
#FA322E
background
#FFF8FE
surface
#FFF0FD
border
#D7CBD5
text
#180C17
muted
#867D85

Preview Lab

Preview with #EC2EE8

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

Preview Lab → · Contrast checker → · Palette generator →

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