#FB71FC#FB71FC

#FB71FC is a light, highly saturated purple. Relative luminance 0.393; OKLCH L 76.2% C 0.232 H 327.3°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#FB71FC
RGBrgb(251, 113, 252)
HSLhsl(300, 96%, 72%)
HSVhsv(300, 55%, 99%)
CMYKcmyk(0.4%, 55.2%, 0%, 1.2%)
CIE-LABlab(69.01, 70.14, -45.44)
CIE-LCHlch(69.01, 83.58, 327.06°)
OKLaboklab(76.23% 0.1948 -0.1252)
OKLCHoklch(76.23% 0.232 327.3)
XYZxyz(63.2584, 39.3516, 96.3403)
Luminance0.3935 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB71FC #72FC71
analogous
#B671FC #FB71FC #FC71B8
triadic
#FB71FC #FCFB71 #71FCFB
tetradic
#FB71FC #FCB671 #72FC71 #71B8FC
square
#FB71FC #FCB671 #72FC71 #71B8FC
split-complementary
#FB71FC #B8FC71 #71FCB6
monochromatic
#EC05EE #F935FB #FB71FC #FDADFD #FEE1FE

Accessibility & contrast

On white

2.37
#FB71FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.87
#FB71FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB71FC
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB71FC#FFFFFF#000000##000000
##FB71FC1.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#629DFF
Deuteranopia (green-blind)
#8FAFF8
Tritanopia (blue-blind)
#FF82AC
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #fb71fc;
/* rgb */ color: rgb(251, 113, 252);
/* oklch */ color: oklch(76.2% 0.232 327.3);
Tailwind
colors: {
  custom: {
    50: '#ffa0fe',
    500: '#fb71fc',
    950: '#000000',
  },
}
SCSS
$custom: #fb71fc;
$custom-light: #ffa0fe;
$custom-dark: #000000;
JSON
{
  "hex": "#fb71fc",
  "rgb": {
    "r": 251,
    "g": 113,
    "b": 252
  },
  "hsl": {
    "h": 299.568,
    "s": 95.862,
    "l": 71.569
  },
  "oklch": {
    "l": 0.76227,
    "c": 0.23157,
    "h": 327.3
  },
  "luminance": 0.39348
}

Semantic roles & 50–950 ramp

primary
#FB71FC
secondary
#D3F6D3
accent
#E60002
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#180F18
muted
#867F86

Preview Lab

Preview with #FB71FC

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

Preview Lab → · Contrast checker → · Palette generator →

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