#FB89EC#FB89EC

#FB89EC is a light, vivid purple. Relative luminance 0.445; OKLCH L 78.6% C 0.182 H 332.2°. Best body text is #000000 at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#FB89EC
RGBrgb(251, 137, 236)
HSLhsl(308, 93%, 76%)
HSVhsv(308, 45%, 98%)
CMYKcmyk(0%, 45.4%, 6%, 1.6%)
CIE-LABlab(72.54, 56.33, -31.19)
CIE-LCHlch(72.54, 64.39, 331.03°)
OKLaboklab(78.62% 0.1606 -0.0847)
OKLCHoklch(78.62% 0.182 332.2)
XYZxyz(63.8692, 44.4604, 84.5582)
Luminance0.4446 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB89EC #89FB98
analogous
#D189FB #FB89EC #FB89B3
triadic
#FB89EC #ECFB89 #89ECFB
tetradic
#FB89EC #FBD189 #89FB98 #89B3FB
square
#FB89EC #FBD189 #89FB98 #89B3FB
split-complementary
#FB89EC #B3FB89 #89FBD1
monochromatic
#F713D9 #F94EE2 #FB89EC #FDC4F6 #FEE1FA

Accessibility & contrast

On white

2.12
#FB89EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.89
#FB89EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB89EC
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB89EC#FFFFFF#000000##000000
##FB89EC1.002.129.899.89
#FFFFFF2.121.0021.0021.00
#0000009.8921.001.001.00
##0000009.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A8EF
Deuteranopia (green-blind)
#A5B8E9
Tritanopia (blue-blind)
#FF90B0
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #fb89ec;
/* rgb */ color: rgb(251, 137, 236);
/* oklch */ color: oklch(78.6% 0.182 332.2);
Tailwind
colors: {
  custom: {
    50: '#ffaef2',
    500: '#fb89ec',
    950: '#000000',
  },
}
SCSS
$custom: #fb89ec;
$custom-light: #ffaef2;
$custom-dark: #000000;
JSON
{
  "hex": "#fb89ec",
  "rgb": {
    "r": 251,
    "g": 137,
    "b": 236
  },
  "hsl": {
    "h": 307.895,
    "s": 93.443,
    "l": 76.078
  },
  "oklch": {
    "l": 0.78616,
    "c": 0.18155,
    "h": 332.2
  },
  "luminance": 0.44457
}

Semantic roles & 50–950 ramp

primary
#FB89EC
secondary
#D5F6D9
accent
#E61E00
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#181117
muted
#868085

Preview Lab

Preview with #FB89EC

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

Preview Lab → · Contrast checker → · Palette generator →

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