#FB71F8#FB71F8

#FB71F8 is a light, highly saturated purple. Relative luminance 0.391; OKLCH L 76.0% C 0.228 H 328.4°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#FB71F8
RGBrgb(251, 113, 248)
HSLhsl(301, 95%, 71%)
HSVhsv(301, 55%, 98%)
CMYKcmyk(0%, 55%, 1.2%, 1.6%)
CIE-LABlab(68.82, 69.48, -43.54)
CIE-LCHlch(68.82, 81.99, 327.93°)
OKLaboklab(76.04% 0.1944 -0.1197)
OKLCHoklch(76.04% 0.228 328.4)
XYZxyz(62.6312, 39.1007, 93.0370)
Luminance0.3910 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB71F8 #71FB74
analogous
#B971FB #FB71F8 #FB71B3
triadic
#FB71F8 #F8FB71 #71F8FB
tetradic
#FB71F8 #FBB971 #71FB74 #71B3FB
square
#FB71F8 #FBB971 #71FB74 #71B3FB
split-complementary
#FB71F8 #B3FB71 #71FBB9
monochromatic
#EB07E6 #F935F5 #FB71F8 #FDADFB #FEE1FE

Accessibility & contrast

On white

2.38
#FB71F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.82
#FB71F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB71F8
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB71F8#FFFFFF#000000##000000
##FB71F81.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#649CFC
Deuteranopia (green-blind)
#91AEF4
Tritanopia (blue-blind)
#FF80AA
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #fb71f8;
/* rgb */ color: rgb(251, 113, 248);
/* oklch */ color: oklch(76.0% 0.228 328.4);
Tailwind
colors: {
  custom: {
    50: '#ffa0fb',
    500: '#fb71f8',
    950: '#000000',
  },
}
SCSS
$custom: #fb71f8;
$custom-light: #ffa0fb;
$custom-dark: #000000;
JSON
{
  "hex": "#fb71f8",
  "rgb": {
    "r": 251,
    "g": 113,
    "b": 248
  },
  "hsl": {
    "h": 301.304,
    "s": 94.521,
    "l": 71.373
  },
  "oklch": {
    "l": 0.76036,
    "c": 0.22827,
    "h": 328.4
  },
  "luminance": 0.39097
}

Semantic roles & 50–950 ramp

primary
#FB71F8
secondary
#D2F6D3
accent
#E60500
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#180F17
muted
#867F85

Preview Lab

Preview with #FB71F8

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

Preview Lab → · Contrast checker → · Palette generator →

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