#EC89F6#EC89F6

#EC89F6 is a light, vivid purple. Relative luminance 0.424; OKLCH L 77.3% C 0.181 H 323.7°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#EC89F6
RGBrgb(236, 137, 246)
HSLhsl(294, 86%, 75%)
HSVhsv(294, 44%, 96%)
CMYKcmyk(4.1%, 44.3%, 0%, 3.5%)
CIE-LABlab(71.13, 53.75, -38.97)
CIE-LCHlch(71.13, 66.39, 324.06°)
OKLaboklab(77.32% 0.146 -0.1071)
OKLCHoklch(77.32% 0.181 323.7)
XYZxyz(60.1707, 42.3806, 92.1817)
Luminance0.4238 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC89F6 #93F689
analogous
#B589F6 #EC89F6 #F689CA
triadic
#EC89F6 #F6EC89 #89F6EC
tetradic
#EC89F6 #F6B589 #93F689 #89CAF6
square
#EC89F6 #F6B589 #93F689 #89CAF6
split-complementary
#EC89F6 #CAF689 #89F6B5
monochromatic
#DA17ED #E350F2 #EC89F6 #F5C2FA #FAE3FD

Accessibility & contrast

On white

2.22
#EC89F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.48
#EC89F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC89F6
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC89F6#FFFFFF#000000##000000
##EC89F61.002.229.489.48
#FFFFFF2.221.0021.0021.00
#0000009.4821.001.001.00
##0000009.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA7FA
Deuteranopia (green-blind)
#98B2F3
Tritanopia (blue-blind)
#F096B4
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #ec89f6;
/* rgb */ color: rgb(236, 137, 246);
/* oklch */ color: oklch(77.3% 0.181 323.7);
Tailwind
colors: {
  custom: {
    50: '#f4aef9',
    500: '#ec89f6',
    950: '#000000',
  },
}
SCSS
$custom: #ec89f6;
$custom-light: #f4aef9;
$custom-dark: #000000;
JSON
{
  "hex": "#ec89f6",
  "rgb": {
    "r": 236,
    "g": 137,
    "b": 246
  },
  "hsl": {
    "h": 294.495,
    "s": 85.827,
    "l": 75.098
  },
  "oklch": {
    "l": 0.77317,
    "c": 0.18103,
    "h": 323.7
  },
  "luminance": 0.42378
}

Semantic roles & 50–950 ramp

primary
#EC89F6
secondary
#D9F5D6
accent
#E20318
background
#FFFAFF
surface
#FFF5FF
border
#D7CFD7
text
#171017
muted
#857F85

Preview Lab

Preview with #EC89F6

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

Preview Lab → · Contrast checker → · Palette generator →

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