#FB7BF4#FB7BF4

#FB7BF4 is a light, highly saturated purple. Relative luminance 0.412; OKLCH L 77.1% C 0.210 H 329.5°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#FB7BF4
RGBrgb(251, 123, 244)
HSLhsl(303, 94%, 73%)
HSVhsv(303, 51%, 98%)
CMYKcmyk(0%, 51%, 2.8%, 1.6%)
CIE-LABlab(70.32, 64.32, -39.00)
CIE-LCHlch(70.32, 75.22, 328.77°)
OKLaboklab(77.08% 0.1811 -0.1068)
OKLCHoklch(77.08% 0.21 329.5)
XYZxyz(63.1951, 41.2106, 90.1963)
Luminance0.4121 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7BF4 #7BFB82
analogous
#C27BFB #FB7BF4 #FB7BB4
triadic
#FB7BF4 #F4FB7B #7BF4FB
tetradic
#FB7BF4 #FBC27B #7BFB82 #7BB4FB
square
#FB7BF4 #FBC27B #7BFB82 #7BB4FB
split-complementary
#FB7BF4 #B4FB7B #7BFBC2
monochromatic
#F407E7 #F940EF #FB7BF4 #FDB6F9 #FEE1FD

Accessibility & contrast

On white

2.27
#FB7BF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.24
#FB7BF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7BF4
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7BF4#FFFFFF#000000##000000
##FB7BF41.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A1F8
Deuteranopia (green-blind)
#99B2F0
Tritanopia (blue-blind)
#FF87AD
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #fb7bf4;
/* rgb */ color: rgb(251, 123, 244);
/* oklch */ color: oklch(77.1% 0.210 329.5);
Tailwind
colors: {
  custom: {
    50: '#ffa6f8',
    500: '#fb7bf4',
    950: '#000000',
  },
}
SCSS
$custom: #fb7bf4;
$custom-light: #ffa6f8;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7bf4",
  "rgb": {
    "r": 251,
    "g": 123,
    "b": 244
  },
  "hsl": {
    "h": 303.281,
    "s": 94.118,
    "l": 73.333
  },
  "oklch": {
    "l": 0.77081,
    "c": 0.21021,
    "h": 329.5
  },
  "luminance": 0.41207
}

Semantic roles & 50–950 ramp

primary
#FB7BF4
secondary
#D5F6D7
accent
#E60D00
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181017
muted
#867F85

Preview Lab

Preview with #FB7BF4

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

Preview Lab → · Contrast checker → · Palette generator →

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