#F371EC#F371EC

#F371EC is a light, highly saturated purple. Relative luminance 0.369; OKLCH L 74.5% C 0.214 H 329.6°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#F371EC
RGBrgb(243, 113, 236)
HSLhsl(303, 84%, 70%)
HSVhsv(303, 53%, 95%)
CMYKcmyk(0%, 53.5%, 2.9%, 4.7%)
CIE-LABlab(67.22, 65.41, -39.52)
CIE-LCHlch(67.22, 76.42, 328.86°)
OKLaboklab(74.47% 0.1843 -0.1083)
OKLCHoklch(74.47% 0.214 329.6)
XYZxyz(58.0070, 36.9247, 83.4125)
Luminance0.3692 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F371EC #71F378
analogous
#B971F3 #F371EC #F371AB
triadic
#F371EC #ECF371 #71ECF3
tetradic
#F371EC #F3B971 #71F378 #71ABF3
square
#F371EC #F3B971 #71F378 #71ABF3
split-complementary
#F371EC #ABF371 #71F3B9
monochromatic
#D712CD #EE39E4 #F371EC #F8A9F4 #FDE2FB

Accessibility & contrast

On white

2.50
#F371EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.38
#F371EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F371EC
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F371EC#FFFFFF#000000##000000
##F371EC1.002.508.388.38
#FFFFFF2.501.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6898F0
Deuteranopia (green-blind)
#90AAE8
Tritanopia (blue-blind)
#FB7EA4
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #f371ec;
/* rgb */ color: rgb(243, 113, 236);
/* oklch */ color: oklch(74.5% 0.214 329.6);
Tailwind
colors: {
  custom: {
    50: '#fa9ff2',
    500: '#f371ec',
    950: '#000000',
  },
}
SCSS
$custom: #f371ec;
$custom-light: #fa9ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#f371ec",
  "rgb": {
    "r": 243,
    "g": 113,
    "b": 236
  },
  "hsl": {
    "h": 303.231,
    "s": 84.416,
    "l": 69.804
  },
  "oklch": {
    "l": 0.74466,
    "c": 0.21377,
    "h": 329.6
  },
  "luminance": 0.36921
}

Semantic roles & 50–950 ramp

primary
#F371EC
secondary
#CEF2D0
accent
#E11005
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F17
muted
#867F85

Preview Lab

Preview with #F371EC

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

Preview Lab → · Contrast checker → · Palette generator →

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