#FB56EA#FB56EA

#FB56EA is a light, highly saturated purple. Relative luminance 0.331; OKLCH L 72.5% C 0.253 H 332.3°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#FB56EA
RGBrgb(251, 86, 234)
HSLhsl(306, 95%, 66%)
HSVhsv(306, 66%, 98%)
CMYKcmyk(0%, 65.7%, 6.8%, 1.6%)
CIE-LABlab(64.25, 78.10, -42.98)
CIE-LCHlch(64.25, 89.15, 331.18°)
OKLaboklab(72.5% 0.2241 -0.1179)
OKLCHoklch(72.5% 0.253 332.3)
XYZxyz(57.9628, 33.1099, 81.1640)
Luminance0.3311 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB56EA #56FB67
analogous
#B956FB #FB56EA #FB5697
triadic
#FB56EA #EAFB56 #56EAFB
tetradic
#FB56EA #FBB956 #56FB67 #5697FB
square
#FB56EA #FBB956 #56FB67 #5697FB
split-complementary
#FB56EA #97FB56 #56FBB9
monochromatic
#D205BD #FA1AE3 #FB56EA #FC92F1 #FECEF9

Accessibility & contrast

On white

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

On black

7.62
#FB56EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB56EA
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB56EA#FFFFFF#000000##000000
##FB56EA1.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E8DEE
Deuteranopia (green-blind)
#88A4E6
Tritanopia (blue-blind)
#FF6699
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #fb56ea;
/* rgb */ color: rgb(251, 86, 234);
/* oklch */ color: oklch(72.5% 0.253 332.3);
Tailwind
colors: {
  custom: {
    50: '#ff91f1',
    500: '#fb56ea',
    950: '#000000',
  },
}
SCSS
$custom: #fb56ea;
$custom-light: #ff91f1;
$custom-dark: #000000;
JSON
{
  "hex": "#fb56ea",
  "rgb": {
    "r": 251,
    "g": 86,
    "b": 234
  },
  "hsl": {
    "h": 306.182,
    "s": 95.376,
    "l": 66.078
  },
  "oklch": {
    "l": 0.72495,
    "c": 0.25321,
    "h": 332.3
  },
  "luminance": 0.33105
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FB56EA

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

Preview Lab → · Contrast checker → · Palette generator →

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