#FB56EB#FB56EB

#FB56EB is a light, highly saturated purple. Relative luminance 0.332; OKLCH L 72.5% C 0.254 H 332.0°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#FB56EB
RGBrgb(251, 86, 235)
HSLhsl(306, 95%, 66%)
HSVhsv(306, 66%, 98%)
CMYKcmyk(0%, 65.7%, 6.4%, 1.6%)
CIE-LABlab(64.30, 78.25, -43.46)
CIE-LCHlch(64.30, 89.51, 330.95°)
OKLaboklab(72.54% 0.2242 -0.1193)
OKLCHoklch(72.54% 0.254 332)
XYZxyz(58.1069, 33.1675, 81.9227)
Luminance0.3316 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB56EB #56FB66
analogous
#B856FB #FB56EB #FB5698
triadic
#FB56EB #EBFB56 #56EBFB
tetradic
#FB56EB #FBB856 #56FB66 #5698FB
square
#FB56EB #FBB856 #56FB66 #5698FB
split-complementary
#FB56EB #98FB56 #56FBB8
monochromatic
#D205BE #FA1AE4 #FB56EB #FC92F2 #FECEF9

Accessibility & contrast

On white

2.75
#FB56EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#FB56EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB56EB
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB56EB#FFFFFF#000000##000000
##FB56EB1.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D8DEF
Deuteranopia (green-blind)
#88A4E7
Tritanopia (blue-blind)
#FF669A
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #fb56eb;
/* rgb */ color: rgb(251, 86, 235);
/* oklch */ color: oklch(72.5% 0.254 332.0);
Tailwind
colors: {
  custom: {
    50: '#ff91f2',
    500: '#fb56eb',
    950: '#000000',
  },
}
SCSS
$custom: #fb56eb;
$custom-light: #ff91f2;
$custom-dark: #000000;
JSON
{
  "hex": "#fb56eb",
  "rgb": {
    "r": 251,
    "g": 86,
    "b": 235
  },
  "hsl": {
    "h": 305.818,
    "s": 95.376,
    "l": 66.078
  },
  "oklch": {
    "l": 0.72544,
    "c": 0.25393,
    "h": 332
  },
  "luminance": 0.33163
}

Semantic roles & 50–950 ramp

primary
#FB56EB
secondary
#BBF2C1
accent
#E61600
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#190E17
muted
#877E85

Preview Lab

Preview with #FB56EB

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

Preview Lab → · Contrast checker → · Palette generator →

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