#FB91EC#FB91EC

#FB91EC is a light, vivid purple. Relative luminance 0.468; OKLCH L 79.8% C 0.168 H 332.4°. Best body text is #000000 at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#FB91EC
RGBrgb(251, 145, 236)
HSLhsl(308, 93%, 78%)
HSVhsv(308, 42%, 98%)
CMYKcmyk(0%, 42.2%, 6%, 1.6%)
CIE-LABlab(74.07, 52.38, -28.82)
CIE-LCHlch(74.07, 59.78, 331.18°)
OKLaboklab(79.77% 0.1493 -0.078)
OKLCHoklch(79.77% 0.168 332.4)
XYZxyz(65.0489, 46.8197, 84.9514)
Luminance0.4682 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB91EC #91FBA0
analogous
#D591FB #FB91EC #FB91B7
triadic
#FB91EC #ECFB91 #91ECFB
tetradic
#FB91EC #FBD591 #91FBA0 #91B7FB
square
#FB91EC #FBD591 #91FBA0 #91B7FB
split-complementary
#FB91EC #B7FB91 #91FBD5
monochromatic
#F71BD8 #F956E2 #FB91EC #FDCCF6 #FEE1FA

Accessibility & contrast

On white

2.03
#FB91EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.36
#FB91EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB91EC
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB91EC#FFFFFF#000000##000000
##FB91EC1.002.0310.3610.36
#FFFFFF2.031.0021.0021.00
#00000010.3621.001.001.00
##00000010.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FADEF
Deuteranopia (green-blind)
#ABBCE9
Tritanopia (blue-blind)
#FF97B4
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #fb91ec;
/* rgb */ color: rgb(251, 145, 236);
/* oklch */ color: oklch(79.8% 0.168 332.4);
Tailwind
colors: {
  custom: {
    50: '#feb4f2',
    500: '#fb91ec',
    950: '#000000',
  },
}
SCSS
$custom: #fb91ec;
$custom-light: #feb4f2;
$custom-dark: #000000;
JSON
{
  "hex": "#fb91ec",
  "rgb": {
    "r": 251,
    "g": 145,
    "b": 236
  },
  "hsl": {
    "h": 308.491,
    "s": 92.982,
    "l": 77.647
  },
  "oklch": {
    "l": 0.79767,
    "c": 0.16844,
    "h": 332.4
  },
  "luminance": 0.46816
}

Semantic roles & 50–950 ramp

primary
#FB91EC
secondary
#D5F6DA
accent
#E62000
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#181117
muted
#868085

Preview Lab

Preview with #FB91EC

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

Preview Lab → · Contrast checker → · Palette generator →

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