#FB5FEC#FB5FEC

#FB5FEC is a light, highly saturated purple. Relative luminance 0.347; OKLCH L 73.5% C 0.243 H 331.7°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#FB5FEC
RGBrgb(251, 95, 236)
HSLhsl(306, 95%, 68%)
HSVhsv(306, 62%, 98%)
CMYKcmyk(0%, 62.2%, 6%, 1.6%)
CIE-LABlab(65.56, 75.02, -42.04)
CIE-LCHlch(65.56, 86.00, 330.74°)
OKLaboklab(73.47% 0.2145 -0.1152)
OKLCHoklch(73.47% 0.243 331.7)
XYZxyz(59.0161, 34.7542, 82.9405)
Luminance0.3475 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB5FEC #5FFB6E
analogous
#BC5FFB #FB5FEC #FB5F9E
triadic
#FB5FEC #ECFB5F #5FECFB
tetradic
#FB5FEC #FBBC5F #5FFB6E #5F9EFB
square
#FB5FEC #FBBC5F #5FFB6E #5F9EFB
split-complementary
#FB5FEC #9EFB5F #5FFBBC
monochromatic
#DA05C6 #FA23E5 #FB5FEC #FC9BF3 #FED6FA

Accessibility & contrast

On white

2.64
#FB5FEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#FB5FEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB5FEC
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB5FEC#FFFFFF#000000##000000
##FB5FEC1.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5791F0
Deuteranopia (green-blind)
#8CA7E8
Tritanopia (blue-blind)
#FF6E9D
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #fb5fec;
/* rgb */ color: rgb(251, 95, 236);
/* oklch */ color: oklch(73.5% 0.243 331.7);
Tailwind
colors: {
  custom: {
    50: '#ff96f2',
    500: '#fb5fec',
    950: '#000000',
  },
}
SCSS
$custom: #fb5fec;
$custom-light: #ff96f2;
$custom-dark: #000000;
JSON
{
  "hex": "#fb5fec",
  "rgb": {
    "r": 251,
    "g": 95,
    "b": 236
  },
  "hsl": {
    "h": 305.769,
    "s": 95.122,
    "l": 67.843
  },
  "oklch": {
    "l": 0.73473,
    "c": 0.24347,
    "h": 331.7
  },
  "luminance": 0.3475
}

Semantic roles & 50–950 ramp

primary
#FB5FEC
secondary
#C3F3C7
accent
#E61600
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E17
muted
#867E85

Preview Lab

Preview with #FB5FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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