#F171EF#F171EF

#F171EF is a light, highly saturated purple. Relative luminance 0.367; OKLCH L 74.4% C 0.215 H 328.1°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#F171EF
RGBrgb(241, 113, 239)
HSLhsl(301, 82%, 69%)
HSVhsv(301, 53%, 95%)
CMYKcmyk(0%, 53.1%, 0.8%, 5.5%)
CIE-LABlab(67.09, 65.38, -41.40)
CIE-LCHlch(67.09, 77.39, 327.66°)
OKLaboklab(74.36% 0.1825 -0.1138)
OKLCHoklch(74.36% 0.215 328.1)
XYZxyz(57.7599, 36.7465, 85.6951)
Luminance0.3674 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F171EF #71F173
analogous
#B371F1 #F171EF #F171AF
triadic
#F171EF #EFF171 #71EFF1
tetradic
#F171EF #F1B371 #71F173 #71AFF1
square
#F171EF #F1B371 #71F173 #71AFF1
split-complementary
#F171EF #AFF171 #71F1B3
monochromatic
#D315D0 #EC39E9 #F171EF #F6A9F5 #FCE0FC

Accessibility & contrast

On white

2.52
#F171EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#F171EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F171EF
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F171EF#FFFFFF#000000##000000
##F171EF1.002.528.358.35
#FFFFFF2.521.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6598F3
Deuteranopia (green-blind)
#8EA9EB
Tritanopia (blue-blind)
#F87FA6
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #f171ef;
/* rgb */ color: rgb(241, 113, 239);
/* oklch */ color: oklch(74.4% 0.215 328.1);
Tailwind
colors: {
  custom: {
    50: '#f89ff4',
    500: '#f171ef',
    950: '#000000',
  },
}
SCSS
$custom: #f171ef;
$custom-light: #f89ff4;
$custom-dark: #000000;
JSON
{
  "hex": "#f171ef",
  "rgb": {
    "r": 241,
    "g": 113,
    "b": 239
  },
  "hsl": {
    "h": 300.938,
    "s": 82.051,
    "l": 69.412
  },
  "oklch": {
    "l": 0.74355,
    "c": 0.21509,
    "h": 328.1
  },
  "luminance": 0.36743
}

Semantic roles & 50–950 ramp

primary
#F171EF
secondary
#CCF1CD
accent
#DE0A07
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F17
muted
#867F85

Preview Lab

Preview with #F171EF

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

Preview Lab → · Contrast checker → · Palette generator →

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