#FB7BFB#FB7BFB

#FB7BFB is a light, highly saturated purple. Relative luminance 0.416; OKLCH L 77.4% C 0.216 H 327.4°. Best body text is #000000 at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#FB7BFB
RGBrgb(251, 123, 251)
HSLhsl(300, 94%, 73%)
HSVhsv(300, 51%, 98%)
CMYKcmyk(0%, 51%, 0%, 1.6%)
CIE-LABlab(70.62, 65.50, -42.36)
CIE-LCHlch(70.62, 78.00, 327.11°)
OKLaboklab(77.4% 0.1821 -0.1164)
OKLCHoklch(77.4% 0.216 327.4)
XYZxyz(64.2781, 41.6439, 95.9005)
Luminance0.4164 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7BFB #7BFB7B
analogous
#BB7BFB #FB7BFB #FB7BBB
triadic
#FB7BFB #FBFB7B #7BFBFB
tetradic
#FB7BFB #FBBB7B #7BFB7B #7BBBFB
square
#FB7BFB #FBBB7B #7BFB7B #7BBBFB
split-complementary
#FB7BFB #BBFB7B #7BFBBB
monochromatic
#F407F4 #F940F9 #FB7BFB #FDB6FD #FEE1FE

Accessibility & contrast

On white

2.25
#FB7BFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.33
#FB7BFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7BFB
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7BFB#FFFFFF#000000##000000
##FB7BFB1.002.259.339.33
#FFFFFF2.251.0021.0021.00
#0000009.3321.001.001.00
##0000009.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA2FF
Deuteranopia (green-blind)
#96B3F7
Tritanopia (blue-blind)
#FF89B0
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #fb7bfb;
/* rgb */ color: rgb(251, 123, 251);
/* oklch */ color: oklch(77.4% 0.216 327.4);
Tailwind
colors: {
  custom: {
    50: '#ffa6fd',
    500: '#fb7bfb',
    950: '#000000',
  },
}
SCSS
$custom: #fb7bfb;
$custom-light: #ffa6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7bfb",
  "rgb": {
    "r": 251,
    "g": 123,
    "b": 251
  },
  "hsl": {
    "h": 300,
    "s": 94.118,
    "l": 73.333
  },
  "oklch": {
    "l": 0.77402,
    "c": 0.2161,
    "h": 327.4
  },
  "luminance": 0.4164
}

Semantic roles & 50–950 ramp

primary
#FB7BFB
secondary
#D5F6D5
accent
#E60000
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181017
muted
#867F85

Preview Lab

Preview with #FB7BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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