#FB56E9#FB56E9

#FB56E9 is a light, highly saturated purple. Relative luminance 0.330; OKLCH L 72.4% C 0.252 H 332.5°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#FB56E9
RGBrgb(251, 86, 233)
HSLhsl(307, 95%, 66%)
HSVhsv(307, 66%, 98%)
CMYKcmyk(0%, 65.7%, 7.2%, 1.6%)
CIE-LABlab(64.20, 77.95, -42.50)
CIE-LCHlch(64.20, 88.78, 331.40°)
OKLaboklab(72.45% 0.224 -0.1165)
OKLCHoklch(72.45% 0.252 332.5)
XYZxyz(57.8196, 33.0525, 80.4095)
Luminance0.3305 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB56E9 #56FB68
analogous
#BA56FB #FB56E9 #FB5696
triadic
#FB56E9 #E9FB56 #56E9FB
tetradic
#FB56E9 #FBBA56 #56FB68 #5696FB
square
#FB56E9 #FBBA56 #56FB68 #5696FB
split-complementary
#FB56E9 #96FB56 #56FBBA
monochromatic
#D205BB #FA1AE1 #FB56E9 #FC92F1 #FECEF9

Accessibility & contrast

On white

2.76
#FB56E9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#FB56E9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB56E9
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB56E9#FFFFFF#000000##000000
##FB56E91.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F8DED
Deuteranopia (green-blind)
#89A4E5
Tritanopia (blue-blind)
#FF6599
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #fb56e9;
/* rgb */ color: rgb(251, 86, 233);
/* oklch */ color: oklch(72.4% 0.252 332.5);
Tailwind
colors: {
  custom: {
    50: '#ff91f0',
    500: '#fb56e9',
    950: '#000000',
  },
}
SCSS
$custom: #fb56e9;
$custom-light: #ff91f0;
$custom-dark: #000000;
JSON
{
  "hex": "#fb56e9",
  "rgb": {
    "r": 251,
    "g": 86,
    "b": 233
  },
  "hsl": {
    "h": 306.545,
    "s": 95.376,
    "l": 66.078
  },
  "oklch": {
    "l": 0.72446,
    "c": 0.25248,
    "h": 332.5
  },
  "luminance": 0.33048
}

Semantic roles & 50–950 ramp

primary
#FB56E9
secondary
#BBF2C1
accent
#E61900
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#190E16
muted
#877E84

Preview Lab

Preview with #FB56E9

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

Preview Lab → · Contrast checker → · Palette generator →

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