#FB56F0#FB56F0

#FB56F0 is a light, highly saturated purple. Relative luminance 0.335; OKLCH L 72.8% C 0.258 H 330.7°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#FB56F0
RGBrgb(251, 86, 240)
HSLhsl(304, 95%, 66%)
HSVhsv(304, 66%, 98%)
CMYKcmyk(0%, 65.7%, 4.4%, 1.6%)
CIE-LABlab(64.53, 79.01, -45.87)
CIE-LCHlch(64.53, 91.36, 329.86°)
OKLaboklab(72.79% 0.2245 -0.1262)
OKLCHoklch(72.79% 0.258 330.7)
XYZxyz(58.8394, 33.4605, 85.7807)
Luminance0.3346 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB56F0 #56FB61
analogous
#B356FB #FB56F0 #FB569D
triadic
#FB56F0 #F0FB56 #56F0FB
tetradic
#FB56F0 #FBB356 #56FB61 #569DFB
square
#FB56F0 #FBB356 #56FB61 #569DFB
split-complementary
#FB56F0 #9DFB56 #56FBB3
monochromatic
#D205C4 #FA1AEB #FB56F0 #FC92F5 #FECEFB

Accessibility & contrast

On white

2.73
#FB56F0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#FB56F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB56F0
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB56F0#FFFFFF#000000##000000
##FB56F01.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#498EF4
Deuteranopia (green-blind)
#85A5EC
Tritanopia (blue-blind)
#FF689C
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #fb56f0;
/* rgb */ color: rgb(251, 86, 240);
/* oklch */ color: oklch(72.8% 0.258 330.7);
Tailwind
colors: {
  custom: {
    50: '#ff91f5',
    500: '#fb56f0',
    950: '#000000',
  },
}
SCSS
$custom: #fb56f0;
$custom-light: #ff91f5;
$custom-dark: #000000;
JSON
{
  "hex": "#fb56f0",
  "rgb": {
    "r": 251,
    "g": 86,
    "b": 240
  },
  "hsl": {
    "h": 304,
    "s": 95.376,
    "l": 66.078
  },
  "oklch": {
    "l": 0.72791,
    "c": 0.25757,
    "h": 330.7
  },
  "luminance": 0.33456
}

Semantic roles & 50–950 ramp

primary
#FB56F0
secondary
#BBF2BF
accent
#E60F00
background
#FFF9FF
surface
#FFF2FE
border
#D7CCD6
text
#190E17
muted
#877E85

Preview Lab

Preview with #FB56F0

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

Preview Lab → · Contrast checker → · Palette generator →

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