#FB7BF1#FB7BF1

#FB7BF1 is a light, highly saturated purple. Relative luminance 0.410; OKLCH L 76.9% C 0.208 H 330.4°. Best body text is #000000 at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#FB7BF1
RGBrgb(251, 123, 241)
HSLhsl(305, 94%, 73%)
HSVhsv(305, 51%, 98%)
CMYKcmyk(0%, 51%, 4%, 1.6%)
CIE-LABlab(70.20, 63.82, -37.55)
CIE-LCHlch(70.20, 74.05, 329.53°)
OKLaboklab(76.95% 0.1806 -0.1026)
OKLCHoklch(76.95% 0.208 330.4)
XYZxyz(62.7433, 41.0299, 87.8168)
Luminance0.4103 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7BF1 #7BFB85
analogous
#C57BFB #FB7BF1 #FB7BB1
triadic
#FB7BF1 #F1FB7B #7BF1FB
tetradic
#FB7BF1 #FBC57B #7BFB85 #7BB1FB
square
#FB7BF1 #FBC57B #7BFB85 #7BB1FB
split-complementary
#FB7BF1 #B1FB7B #7BFBC5
monochromatic
#F407E2 #F940EB #FB7BF1 #FDB6F7 #FEE1FC

Accessibility & contrast

On white

2.28
#FB7BF1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.21
#FB7BF1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7BF1
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7BF1#FFFFFF#000000##000000
##FB7BF11.002.289.219.21
#FFFFFF2.281.0021.0021.00
#0000009.2121.001.001.00
##0000009.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A0F5
Deuteranopia (green-blind)
#9AB2ED
Tritanopia (blue-blind)
#FF86AB
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #fb7bf1;
/* rgb */ color: rgb(251, 123, 241);
/* oklch */ color: oklch(76.9% 0.208 330.4);
Tailwind
colors: {
  custom: {
    50: '#ffa6f6',
    500: '#fb7bf1',
    950: '#000000',
  },
}
SCSS
$custom: #fb7bf1;
$custom-light: #ffa6f6;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7bf1",
  "rgb": {
    "r": 251,
    "g": 123,
    "b": 241
  },
  "hsl": {
    "h": 304.688,
    "s": 94.118,
    "l": 73.333
  },
  "oklch": {
    "l": 0.76946,
    "c": 0.20773,
    "h": 330.4
  },
  "luminance": 0.41026
}

Semantic roles & 50–950 ramp

primary
#FB7BF1
secondary
#D5F6D7
accent
#E61200
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#181017
muted
#867F85

Preview Lab

Preview with #FB7BF1

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

Preview Lab → · Contrast checker → · Palette generator →

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