#F171EA#F171EA

#F171EA is a light, highly saturated purple. Relative luminance 0.365; OKLCH L 74.1% C 0.211 H 329.6°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#F171EA
RGBrgb(241, 113, 234)
HSLhsl(303, 82%, 69%)
HSVhsv(303, 53%, 95%)
CMYKcmyk(0%, 53.1%, 2.9%, 5.5%)
CIE-LABlab(66.87, 64.54, -38.98)
CIE-LCHlch(66.87, 75.40, 328.87°)
OKLaboklab(74.12% 0.1819 -0.1068)
OKLCHoklch(74.12% 0.211 329.6)
XYZxyz(57.0315, 36.4551, 81.8586)
Luminance0.3645 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F171EA #71F178
analogous
#B871F1 #F171EA #F171AA
triadic
#F171EA #EAF171 #71EAF1
tetradic
#F171EA #F1B871 #71F178 #71AAF1
square
#F171EA #F1B871 #71F178 #71AAF1
split-complementary
#F171EA #AAF171 #71F1B8
monochromatic
#D315C8 #EC39E2 #F171EA #F6A9F2 #FCE0FA

Accessibility & contrast

On white

2.53
#F171EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#F171EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F171EA
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F171EA#FFFFFF#000000##000000
##F171EA1.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6898EE
Deuteranopia (green-blind)
#90A9E6
Tritanopia (blue-blind)
#F97DA3
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #f171ea;
/* rgb */ color: rgb(241, 113, 234);
/* oklch */ color: oklch(74.1% 0.211 329.6);
Tailwind
colors: {
  custom: {
    50: '#f89ff1',
    500: '#f171ea',
    950: '#000000',
  },
}
SCSS
$custom: #f171ea;
$custom-light: #f89ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#f171ea",
  "rgb": {
    "r": 241,
    "g": 113,
    "b": 234
  },
  "hsl": {
    "h": 303.281,
    "s": 82.051,
    "l": 69.412
  },
  "oklch": {
    "l": 0.74122,
    "c": 0.21092,
    "h": 329.6
  },
  "luminance": 0.36452
}

Semantic roles & 50–950 ramp

primary
#F171EA
secondary
#CCF1CE
accent
#DE1307
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F17
muted
#867F85

Preview Lab

Preview with #F171EA

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

Preview Lab → · Contrast checker → · Palette generator →

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