#FB5FEB#FB5FEB

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

Color values

HEX#FB5FEB
RGBrgb(251, 95, 235)
HSLhsl(306, 95%, 68%)
HSVhsv(306, 62%, 98%)
CMYKcmyk(0%, 62.2%, 6.4%, 1.6%)
CIE-LABlab(65.51, 74.87, -41.56)
CIE-LCHlch(65.51, 85.63, 330.97°)
OKLaboklab(73.43% 0.2144 -0.1139)
OKLCHoklch(73.43% 0.243 332)
XYZxyz(58.8712, 34.6962, 82.1775)
Luminance0.3469 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB5FEB #5FFB6F
analogous
#BD5FFB #FB5FEB #FB5F9D
triadic
#FB5FEB #EBFB5F #5FEBFB
tetradic
#FB5FEB #FBBD5F #5FFB6F #5F9DFB
square
#FB5FEB #FBBD5F #5FFB6F #5F9DFB
split-complementary
#FB5FEB #9DFB5F #5FFBBD
monochromatic
#DA05C4 #FA23E4 #FB5FEB #FC9BF2 #FED6FA

Accessibility & contrast

On white

2.65
#FB5FEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#FB5FEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB5FEB
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB5FEB#FFFFFF#000000##000000
##FB5FEB1.002.657.947.94
#FFFFFF2.651.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5891EF
Deuteranopia (green-blind)
#8CA7E7
Tritanopia (blue-blind)
#FF6D9D
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #fb5feb;
/* rgb */ color: rgb(251, 95, 235);
/* oklch */ color: oklch(73.4% 0.243 332.0);
Tailwind
colors: {
  custom: {
    50: '#ff96f2',
    500: '#fb5feb',
    950: '#000000',
  },
}
SCSS
$custom: #fb5feb;
$custom-light: #ff96f2;
$custom-dark: #000000;
JSON
{
  "hex": "#fb5feb",
  "rgb": {
    "r": 251,
    "g": 95,
    "b": 235
  },
  "hsl": {
    "h": 306.154,
    "s": 95.122,
    "l": 67.843
  },
  "oklch": {
    "l": 0.73426,
    "c": 0.24272,
    "h": 332
  },
  "luminance": 0.34692
}

Semantic roles & 50–950 ramp

primary
#FB5FEB
secondary
#C3F3C8
accent
#E61800
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E17
muted
#867E85

Preview Lab

Preview with #FB5FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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