#FB56EC#FB56EC

#FB56EC is a light, highly saturated purple. Relative luminance 0.332; OKLCH L 72.6% C 0.255 H 331.7°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#FB56EC
RGBrgb(251, 86, 236)
HSLhsl(305, 95%, 66%)
HSVhsv(305, 66%, 98%)
CMYKcmyk(0%, 65.7%, 6%, 1.6%)
CIE-LABlab(64.34, 78.40, -43.95)
CIE-LCHlch(64.34, 89.88, 330.73°)
OKLaboklab(72.59% 0.2243 -0.1207)
OKLCHoklch(72.59% 0.255 331.7)
XYZxyz(58.2517, 33.2254, 82.6857)
Luminance0.3322 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB56EC #56FB65
analogous
#B856FB #FB56EC #FB5699
triadic
#FB56EC #ECFB56 #56ECFB
tetradic
#FB56EC #FBB856 #56FB65 #5699FB
square
#FB56EC #FBB856 #56FB65 #5699FB
split-complementary
#FB56EC #99FB56 #56FBB8
monochromatic
#D205BF #FA1AE5 #FB56EC #FC92F3 #FECEF9

Accessibility & contrast

On white

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

On black

7.64
#FB56EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB56EC
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB56EC#FFFFFF#000000##000000
##FB56EC1.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C8DF0
Deuteranopia (green-blind)
#87A4E8
Tritanopia (blue-blind)
#FF679A
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #fb56ec;
/* rgb */ color: rgb(251, 86, 236);
/* oklch */ color: oklch(72.6% 0.255 331.7);
Tailwind
colors: {
  custom: {
    50: '#ff91f2',
    500: '#fb56ec',
    950: '#000000',
  },
}
SCSS
$custom: #fb56ec;
$custom-light: #ff91f2;
$custom-dark: #000000;
JSON
{
  "hex": "#fb56ec",
  "rgb": {
    "r": 251,
    "g": 86,
    "b": 236
  },
  "hsl": {
    "h": 305.455,
    "s": 95.376,
    "l": 66.078
  },
  "oklch": {
    "l": 0.72593,
    "c": 0.25465,
    "h": 331.7
  },
  "luminance": 0.33221
}

Semantic roles & 50–950 ramp

primary
#FB56EC
secondary
#BBF2C0
accent
#E61500
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#190E17
muted
#877E85

Preview Lab

Preview with #FB56EC

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

Preview Lab → · Contrast checker → · Palette generator →

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