#EC89F2#EC89F2

#EC89F2 is a light, vivid purple. Relative luminance 0.421; OKLCH L 77.1% C 0.177 H 325.0°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#EC89F2
RGBrgb(236, 137, 242)
HSLhsl(297, 80%, 74%)
HSVhsv(297, 43%, 95%)
CMYKcmyk(2.5%, 43.4%, 0%, 5.1%)
CIE-LABlab(70.97, 53.02, -37.05)
CIE-LCHlch(70.97, 64.68, 325.06°)
OKLaboklab(77.14% 0.1452 -0.1016)
OKLCHoklch(77.14% 0.177 325)
XYZxyz(59.5633, 42.1377, 88.9831)
Luminance0.4214 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC89F2 #8FF289
analogous
#B789F2 #EC89F2 #F289C4
triadic
#EC89F2 #F2EC89 #89F2EC
tetradic
#EC89F2 #F2B789 #8FF289 #89C4F2
square
#EC89F2 #F2B789 #8FF289 #89C4F2
split-complementary
#EC89F2 #C4F289 #89F2B7
monochromatic
#DA1BE6 #E352EC #EC89F2 #F5C0F8 #FBE3FC

Accessibility & contrast

On white

2.23
#EC89F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.43
#EC89F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC89F2
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC89F2#FFFFFF#000000##000000
##EC89F21.002.239.439.43
#FFFFFF2.231.0021.0021.00
#0000009.4321.001.001.00
##0000009.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA6F6
Deuteranopia (green-blind)
#9AB2EF
Tritanopia (blue-blind)
#F094B2
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #ec89f2;
/* rgb */ color: rgb(236, 137, 242);
/* oklch */ color: oklch(77.1% 0.177 325.0);
Tailwind
colors: {
  custom: {
    50: '#f4aef6',
    500: '#ec89f2',
    950: '#000000',
  },
}
SCSS
$custom: #ec89f2;
$custom-light: #f4aef6;
$custom-dark: #000000;
JSON
{
  "hex": "#ec89f2",
  "rgb": {
    "r": 236,
    "g": 137,
    "b": 242
  },
  "hsl": {
    "h": 296.571,
    "s": 80.153,
    "l": 74.314
  },
  "oklch": {
    "l": 0.77138,
    "c": 0.17723,
    "h": 325
  },
  "luminance": 0.42135
}

Semantic roles & 50–950 ramp

primary
#EC89F2
secondary
#D9F4D7
accent
#DC0915
background
#FFFAFF
surface
#FFF5FE
border
#D7CFD6
text
#171017
muted
#857F85

Preview Lab

Preview with #EC89F2

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

Preview Lab → · Contrast checker → · Palette generator →

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