#FB71EC#FB71EC

#FB71EC is a light, highly saturated purple. Relative luminance 0.384; OKLCH L 75.5% C 0.219 H 331.9°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#FB71EC
RGBrgb(251, 113, 236)
HSLhsl(307, 95%, 71%)
HSVhsv(307, 55%, 98%)
CMYKcmyk(0%, 55%, 6%, 1.6%)
CIE-LABlab(68.30, 67.52, -37.75)
CIE-LCHlch(68.30, 77.36, 330.79°)
OKLaboklab(75.48% 0.1928 -0.1031)
OKLCHoklch(75.48% 0.219 331.9)
XYZxyz(60.8289, 38.3798, 83.5448)
Luminance0.3838 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB71EC #71FB80
analogous
#C571FB #FB71EC #FB71A7
triadic
#FB71EC #ECFB71 #71ECFB
tetradic
#FB71EC #FBC571 #71FB80 #71A7FB
square
#FB71EC #FBC571 #71FB80 #71A7FB
split-complementary
#FB71EC #A7FB71 #71FBC5
monochromatic
#EB07D2 #F935E4 #FB71EC #FDADF4 #FEE1FB

Accessibility & contrast

On white

2.42
#FB71EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.68
#FB71EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB71EC
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB71EC#FFFFFF#000000##000000
##FB71EC1.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9AF0
Deuteranopia (green-blind)
#96AEE8
Tritanopia (blue-blind)
#FF7CA4
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #fb71ec;
/* rgb */ color: rgb(251, 113, 236);
/* oklch */ color: oklch(75.5% 0.219 331.9);
Tailwind
colors: {
  custom: {
    50: '#ffa0f2',
    500: '#fb71ec',
    950: '#000000',
  },
}
SCSS
$custom: #fb71ec;
$custom-light: #ffa0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#fb71ec",
  "rgb": {
    "r": 251,
    "g": 113,
    "b": 236
  },
  "hsl": {
    "h": 306.522,
    "s": 94.521,
    "l": 71.373
  },
  "oklch": {
    "l": 0.75479,
    "c": 0.21864,
    "h": 331.9
  },
  "luminance": 0.38376
}

Semantic roles & 50–950 ramp

primary
#FB71EC
secondary
#D2F6D6
accent
#E61900
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F17
muted
#867F85

Preview Lab

Preview with #FB71EC

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

Preview Lab → · Contrast checker → · Palette generator →

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