#FB7BF7#FB7BF7

#FB7BF7 is a light, highly saturated purple. Relative luminance 0.414; OKLCH L 77.2% C 0.213 H 328.6°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#FB7BF7
RGBrgb(251, 123, 247)
HSLhsl(302, 94%, 73%)
HSVhsv(302, 51%, 98%)
CMYKcmyk(0%, 51%, 1.6%, 1.6%)
CIE-LABlab(70.45, 64.82, -40.44)
CIE-LCHlch(70.45, 76.40, 328.04°)
OKLaboklab(77.22% 0.1815 -0.1109)
OKLCHoklch(77.22% 0.213 328.6)
XYZxyz(63.6543, 41.3943, 92.6148)
Luminance0.4139 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7BF7 #7BFB7F
analogous
#BF7BFB #FB7BF7 #FB7BB7
triadic
#FB7BF7 #F7FB7B #7BF7FB
tetradic
#FB7BF7 #FBBF7B #7BFB7F #7BB7FB
square
#FB7BF7 #FBBF7B #7BFB7F #7BB7FB
split-complementary
#FB7BF7 #B7FB7B #7BFBBF
monochromatic
#F407ED #F940F3 #FB7BF7 #FDB6FB #FEE1FD

Accessibility & contrast

On white

2.26
#FB7BF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.28
#FB7BF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7BF7
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7BF7#FFFFFF#000000##000000
##FB7BF71.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A1FB
Deuteranopia (green-blind)
#98B2F3
Tritanopia (blue-blind)
#FF88AE
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #fb7bf7;
/* rgb */ color: rgb(251, 123, 247);
/* oklch */ color: oklch(77.2% 0.213 328.6);
Tailwind
colors: {
  custom: {
    50: '#ffa6fa',
    500: '#fb7bf7',
    950: '#000000',
  },
}
SCSS
$custom: #fb7bf7;
$custom-light: #ffa6fa;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7bf7",
  "rgb": {
    "r": 251,
    "g": 123,
    "b": 247
  },
  "hsl": {
    "h": 301.875,
    "s": 94.118,
    "l": 73.333
  },
  "oklch": {
    "l": 0.77217,
    "c": 0.21271,
    "h": 328.6
  },
  "luminance": 0.41391
}

Semantic roles & 50–950 ramp

primary
#FB7BF7
secondary
#D5F6D6
accent
#E60700
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181017
muted
#867F85

Preview Lab

Preview with #FB7BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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