#FB9BFB#FB9BFB

#FB9BFB is a light, vivid purple. Relative luminance 0.509; OKLCH L 81.9% C 0.165 H 327.0°. Best body text is #000000 at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#FB9BFB
RGBrgb(251, 155, 251)
HSLhsl(300, 92%, 80%)
HSVhsv(300, 38%, 98%)
CMYKcmyk(0%, 38.2%, 0%, 1.6%)
CIE-LABlab(76.63, 49.92, -33.03)
CIE-LCHlch(76.63, 59.86, 326.51°)
OKLaboklab(81.87% 0.1384 -0.09)
OKLCHoklch(81.87% 0.165 327)
XYZxyz(68.9162, 50.9200, 97.4465)
Luminance0.5092 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB9BFB #9BFB9B
analogous
#CB9BFB #FB9BFB #FB9BCB
triadic
#FB9BFB #FBFB9B #9BFBFB
tetradic
#FB9BFB #FBCB9B #9BFB9B #9BCBFB
square
#FB9BFB #FBCB9B #9BFB9B #9BCBFB
split-complementary
#FB9BFB #CBFB9B #9BFBCB
monochromatic
#F625F6 #F960F9 #FB9BFB #FDD6FD #FEE2FE

Accessibility & contrast

On white

1.88
#FB9BFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.18
#FB9BFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB9BFB
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB9BFB#FFFFFF#000000##000000
##FB9BFB1.001.8811.1811.18
#FFFFFF1.881.0021.0021.00
#00000011.1821.001.001.00
##00000011.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#94B5FE
Deuteranopia (green-blind)
#ADC1F8
Tritanopia (blue-blind)
#FFA4C0
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #fb9bfb;
/* rgb */ color: rgb(251, 155, 251);
/* oklch */ color: oklch(81.9% 0.165 327.0);
Tailwind
colors: {
  custom: {
    50: '#febafd',
    500: '#fb9bfb',
    950: '#000000',
  },
}
SCSS
$custom: #fb9bfb;
$custom-light: #febafd;
$custom-dark: #000000;
JSON
{
  "hex": "#fb9bfb",
  "rgb": {
    "r": 251,
    "g": 155,
    "b": 251
  },
  "hsl": {
    "h": 300,
    "s": 92.308,
    "l": 79.608
  },
  "oklch": {
    "l": 0.81871,
    "c": 0.16507,
    "h": 327
  },
  "luminance": 0.50917
}

Semantic roles & 50–950 ramp

primary
#FB9BFB
secondary
#5EDC5E
accent
#E60000
background
#FFFDFF
surface
#FFF8FF
border
#D7D1D7
text
#181217
muted
#868285

Preview Lab

Preview with #FB9BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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