#F371FB#F371FB

#F371FB is a light, highly saturated purple. Relative luminance 0.378; OKLCH L 75.2% C 0.226 H 325.3°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#F371FB
RGBrgb(243, 113, 251)
HSLhsl(297, 95%, 71%)
HSVhsv(297, 55%, 98%)
CMYKcmyk(3.2%, 55%, 0%, 1.6%)
CIE-LABlab(67.90, 67.95, -46.71)
CIE-LCHlch(67.90, 82.46, 325.50°)
OKLaboklab(75.18% 0.1861 -0.129)
OKLCHoklch(75.18% 0.226 325.3)
XYZxyz(60.2785, 37.8333, 95.3756)
Luminance0.3783 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F371FB #79FB71
analogous
#AE71FB #F371FB #FB71BE
triadic
#F371FB #FBF371 #71FBF3
tetradic
#F371FB #FBAE71 #79FB71 #71BEFB
square
#F371FB #FBAE71 #79FB71 #71BEFB
split-complementary
#F371FB #BEFB71 #71FBAE
monochromatic
#DE07EB #EE35F9 #F371FB #F8ADFD #FCE1FE

Accessibility & contrast

On white

2.45
#F371FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#F371FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F371FB
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F371FB#FFFFFF#000000##000000
##F371FB1.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9BFF
Deuteranopia (green-blind)
#89ABF7
Tritanopia (blue-blind)
#F883AC
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #f371fb;
/* rgb */ color: rgb(243, 113, 251);
/* oklch */ color: oklch(75.2% 0.226 325.3);
Tailwind
colors: {
  custom: {
    50: '#faa0fd',
    500: '#f371fb',
    950: '#000000',
  },
}
SCSS
$custom: #f371fb;
$custom-light: #faa0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#f371fb",
  "rgb": {
    "r": 243,
    "g": 113,
    "b": 251
  },
  "hsl": {
    "h": 296.522,
    "s": 94.521,
    "l": 71.373
  },
  "oklch": {
    "l": 0.75183,
    "c": 0.22641,
    "h": 325.3
  },
  "luminance": 0.3783
}

Semantic roles & 50–950 ramp

primary
#F371FB
secondary
#D4F6D2
accent
#E6000D
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#180F18
muted
#867F86

Preview Lab

Preview with #F371FB

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

Preview Lab → · Contrast checker → · Palette generator →

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