#FB71EB#FB71EB

#FB71EB is a light, highly saturated purple. Relative luminance 0.383; OKLCH L 75.4% C 0.218 H 332.2°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#FB71EB
RGBrgb(251, 113, 235)
HSLhsl(307, 95%, 71%)
HSVhsv(307, 55%, 98%)
CMYKcmyk(0%, 55%, 6.4%, 1.6%)
CIE-LABlab(68.26, 67.36, -37.27)
CIE-LCHlch(68.26, 76.99, 331.05°)
OKLaboklab(75.43% 0.1926 -0.1017)
OKLCHoklch(75.43% 0.218 332.2)
XYZxyz(60.6840, 38.3218, 82.7818)
Luminance0.3832 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB71EB #71FB81
analogous
#C671FB #FB71EB #FB71A6
triadic
#FB71EB #EBFB71 #71EBFB
tetradic
#FB71EB #FBC671 #71FB81 #71A6FB
square
#FB71EB #FBC671 #71FB81 #71A6FB
split-complementary
#FB71EB #A6FB71 #71FBC6
monochromatic
#EB07D1 #F935E3 #FB71EB #FDADF3 #FEE1FB

Accessibility & contrast

On white

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

On black

8.66
#FB71EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB71EB
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB71EB#FFFFFF#000000##000000
##FB71EB1.002.428.668.66
#FFFFFF2.421.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fb71eb;
/* rgb */ color: rgb(251, 113, 235);
/* oklch */ color: oklch(75.4% 0.218 332.2);
Tailwind
colors: {
  custom: {
    50: '#ffa0f2',
    500: '#fb71eb',
    950: '#000000',
  },
}
SCSS
$custom: #fb71eb;
$custom-light: #ffa0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#fb71eb",
  "rgb": {
    "r": 251,
    "g": 113,
    "b": 235
  },
  "hsl": {
    "h": 306.957,
    "s": 94.521,
    "l": 71.373
  },
  "oklch": {
    "l": 0.75434,
    "c": 0.21786,
    "h": 332.2
  },
  "luminance": 0.38318
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FB71EB

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

Preview Lab → · Contrast checker → · Palette generator →

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