#FB7BFD#FB7BFD

#FB7BFD is a light, highly saturated purple. Relative luminance 0.418; OKLCH L 77.5% C 0.218 H 326.8°. Best body text is #000000 at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#FB7BFD
RGBrgb(251, 123, 253)
HSLhsl(299, 97%, 74%)
HSVhsv(299, 51%, 99%)
CMYKcmyk(0.8%, 51.4%, 0%, 0.8%)
CIE-LABlab(70.71, 65.84, -43.31)
CIE-LCHlch(70.71, 78.81, 326.66°)
OKLaboklab(77.5% 0.1824 -0.1191)
OKLCHoklch(77.5% 0.218 326.8)
XYZxyz(64.5951, 41.7706, 97.5696)
Luminance0.4177 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7BFD #7DFD7B
analogous
#BA7BFD #FB7BFD #FD7BBE
triadic
#FB7BFD #FDFB7B #7BFDFB
tetradic
#FB7BFD #FDBA7B #7DFD7B #7BBEFD
square
#FB7BFD #FDBA7B #7DFD7B #7BBEFD
split-complementary
#FB7BFD #BEFD7B #7BFDBA
monochromatic
#F604FA #F93FFC #FB7BFD #FDB7FE #FEE1FF

Accessibility & contrast

On white

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

On black

9.35
#FB7BFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7BFD
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7BFD#FFFFFF#000000##000000
##FB7BFD1.002.259.359.35
#FFFFFF2.251.0021.0021.00
#0000009.3521.001.001.00
##0000009.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6DA2FF
Deuteranopia (green-blind)
#95B3F9
Tritanopia (blue-blind)
#FF8AB1
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #fb7bfd;
/* rgb */ color: rgb(251, 123, 253);
/* oklch */ color: oklch(77.5% 0.218 326.8);
Tailwind
colors: {
  custom: {
    50: '#ffa6fe',
    500: '#fb7bfd',
    950: '#000000',
  },
}
SCSS
$custom: #fb7bfd;
$custom-light: #ffa6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7bfd",
  "rgb": {
    "r": 251,
    "g": 123,
    "b": 253
  },
  "hsl": {
    "h": 299.077,
    "s": 97.015,
    "l": 73.725
  },
  "oklch": {
    "l": 0.77495,
    "c": 0.21782,
    "h": 326.8
  },
  "luminance": 0.41767
}

Semantic roles & 50–950 ramp

primary
#FB7BFD
secondary
#D5F7D4
accent
#E60004
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181018
muted
#867F86

Preview Lab

Preview with #FB7BFD

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

Preview Lab → · Contrast checker → · Palette generator →

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