#FB71EF#FB71EF

#FB71EF is a light, highly saturated purple. Relative luminance 0.386; OKLCH L 75.6% C 0.221 H 331.0°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#FB71EF
RGBrgb(251, 113, 239)
HSLhsl(305, 95%, 71%)
HSVhsv(305, 55%, 98%)
CMYKcmyk(0%, 55%, 4.8%, 1.6%)
CIE-LABlab(68.43, 68.01, -39.21)
CIE-LCHlch(68.43, 78.50, 330.03°)
OKLaboklab(75.62% 0.1932 -0.1073)
OKLCHoklch(75.62% 0.221 331)
XYZxyz(61.2684, 38.5556, 85.8595)
Luminance0.3855 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB71EF #71FB7D
analogous
#C271FB #FB71EF #FB71AA
triadic
#FB71EF #EFFB71 #71EFFB
tetradic
#FB71EF #FBC271 #71FB7D #71AAFB
square
#FB71EF #FBC271 #71FB7D #71AAFB
split-complementary
#FB71EF #AAFB71 #71FBC2
monochromatic
#EB07D7 #F935E8 #FB71EF #FDADF6 #FEE1FC

Accessibility & contrast

On white

2.41
#FB71EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#FB71EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB71EF
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB71EF#FFFFFF#000000##000000
##FB71EF1.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9BF3
Deuteranopia (green-blind)
#95AEEB
Tritanopia (blue-blind)
#FF7DA6
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #fb71ef;
/* rgb */ color: rgb(251, 113, 239);
/* oklch */ color: oklch(75.6% 0.221 331.0);
Tailwind
colors: {
  custom: {
    50: '#ffa0f4',
    500: '#fb71ef',
    950: '#000000',
  },
}
SCSS
$custom: #fb71ef;
$custom-light: #ffa0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#fb71ef",
  "rgb": {
    "r": 251,
    "g": 113,
    "b": 239
  },
  "hsl": {
    "h": 305.217,
    "s": 94.521,
    "l": 71.373
  },
  "oklch": {
    "l": 0.75616,
    "c": 0.22101,
    "h": 331
  },
  "luminance": 0.38551
}

Semantic roles & 50–950 ramp

primary
#FB71EF
secondary
#D2F6D5
accent
#E61400
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F17
muted
#867F85

Preview Lab

Preview with #FB71EF

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

Preview Lab → · Contrast checker → · Palette generator →

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