#EC89FB#EC89FB

#EC89FB is a light, vivid purple. Relative luminance 0.427; OKLCH L 77.5% C 0.186 H 322.2°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#EC89FB
RGBrgb(236, 137, 251)
HSLhsl(292, 93%, 76%)
HSVhsv(292, 45%, 98%)
CMYKcmyk(6%, 45.4%, 0%, 1.6%)
CIE-LABlab(71.35, 54.68, -41.37)
CIE-LCHlch(71.35, 68.56, 322.89°)
OKLaboklab(77.55% 0.1468 -0.1139)
OKLCHoklch(77.55% 0.186 322.2)
XYZxyz(60.9484, 42.6917, 96.2779)
Luminance0.4269 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC89FB #98FB89
analogous
#B389FB #EC89FB #FB89D1
triadic
#EC89FB #FBEC89 #89FBEC
tetradic
#EC89FB #FBB389 #98FB89 #89D1FB
square
#EC89FB #FBB389 #98FB89 #89D1FB
split-complementary
#EC89FB #D1FB89 #89FBB3
monochromatic
#D913F7 #E24EF9 #EC89FB #F6C4FD #FAE1FE

Accessibility & contrast

On white

2.20
#EC89FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.54
#EC89FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC89FB
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC89FB#FFFFFF#000000##000000
##EC89FB1.002.209.549.54
#FFFFFF2.201.0021.0021.00
#0000009.5421.001.001.00
##0000009.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA7FF
Deuteranopia (green-blind)
#96B3F8
Tritanopia (blue-blind)
#EF97B6
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #ec89fb;
/* rgb */ color: rgb(236, 137, 251);
/* oklch */ color: oklch(77.5% 0.186 322.2);
Tailwind
colors: {
  custom: {
    50: '#f4aefd',
    500: '#ec89fb',
    950: '#000000',
  },
}
SCSS
$custom: #ec89fb;
$custom-light: #f4aefd;
$custom-dark: #000000;
JSON
{
  "hex": "#ec89fb",
  "rgb": {
    "r": 236,
    "g": 137,
    "b": 251
  },
  "hsl": {
    "h": 292.105,
    "s": 93.443,
    "l": 76.078
  },
  "oklch": {
    "l": 0.77545,
    "c": 0.18584,
    "h": 322.2
  },
  "luminance": 0.42689
}

Semantic roles & 50–950 ramp

primary
#EC89FB
secondary
#D9F6D5
accent
#E6001E
background
#FFFAFF
surface
#FFF5FF
border
#D7CFD7
text
#171017
muted
#857F85

Preview Lab

Preview with #EC89FB

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

Preview Lab → · Contrast checker → · Palette generator →

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