#EC89F7#EC89F7

#EC89F7 is a light, vivid purple. Relative luminance 0.424; OKLCH L 77.4% C 0.182 H 323.4°. Best body text is #000000 at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#EC89F7
RGBrgb(236, 137, 247)
HSLhsl(294, 87%, 75%)
HSVhsv(294, 45%, 97%)
CMYKcmyk(4.5%, 44.5%, 0%, 3.1%)
CIE-LABlab(71.17, 53.94, -39.45)
CIE-LCHlch(71.17, 66.83, 323.82°)
OKLaboklab(77.36% 0.1461 -0.1084)
OKLCHoklch(77.36% 0.182 323.4)
XYZxyz(60.3246, 42.4422, 92.9922)
Luminance0.4244 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC89F7 #94F789
analogous
#B589F7 #EC89F7 #F789CB
triadic
#EC89F7 #F7EC89 #89F7EC
tetradic
#EC89F7 #F7B589 #94F789 #89CBF7
square
#EC89F7 #F7B589 #94F789 #89CBF7
split-complementary
#EC89F7 #CBF789 #89F7B5
monochromatic
#DA16EF #E350F3 #EC89F7 #F5C2FB #FAE2FD

Accessibility & contrast

On white

2.21
#EC89F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.49
#EC89F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC89F7
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC89F7#FFFFFF#000000##000000
##EC89F71.002.219.499.49
#FFFFFF2.211.0021.0021.00
#0000009.4921.001.001.00
##0000009.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA7FB
Deuteranopia (green-blind)
#97B2F4
Tritanopia (blue-blind)
#F096B5
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #ec89f7;
/* rgb */ color: rgb(236, 137, 247);
/* oklch */ color: oklch(77.4% 0.182 323.4);
Tailwind
colors: {
  custom: {
    50: '#f4aefa',
    500: '#ec89f7',
    950: '#000000',
  },
}
SCSS
$custom: #ec89f7;
$custom-light: #f4aefa;
$custom-dark: #000000;
JSON
{
  "hex": "#ec89f7",
  "rgb": {
    "r": 236,
    "g": 137,
    "b": 247
  },
  "hsl": {
    "h": 294,
    "s": 87.302,
    "l": 75.294
  },
  "oklch": {
    "l": 0.77363,
    "c": 0.18198,
    "h": 323.4
  },
  "luminance": 0.4244
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC89F7

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

Preview Lab → · Contrast checker → · Palette generator →

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