#F171EB#F171EB

#F171EB is a light, highly saturated purple. Relative luminance 0.365; OKLCH L 74.2% C 0.212 H 329.3°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#F171EB
RGBrgb(241, 113, 235)
HSLhsl(303, 82%, 69%)
HSVhsv(303, 53%, 95%)
CMYKcmyk(0%, 53.1%, 2.5%, 5.5%)
CIE-LABlab(66.91, 64.71, -39.47)
CIE-LCHlch(66.91, 75.80, 328.62°)
OKLaboklab(74.17% 0.182 -0.1082)
OKLCHoklch(74.17% 0.212 329.3)
XYZxyz(57.1755, 36.5127, 82.6173)
Luminance0.3651 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F171EB #71F177
analogous
#B771F1 #F171EB #F171AB
triadic
#F171EB #EBF171 #71EBF1
tetradic
#F171EB #F1B771 #71F177 #71ABF1
square
#F171EB #F1B771 #71F177 #71ABF1
split-complementary
#F171EB #ABF171 #71F1B7
monochromatic
#D315CA #EC39E3 #F171EB #F6A9F3 #FCE0FB

Accessibility & contrast

On white

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

On black

8.30
#F171EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F171EB
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F171EB#FFFFFF#000000##000000
##F171EB1.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6898EF
Deuteranopia (green-blind)
#8FA9E7
Tritanopia (blue-blind)
#F97EA4
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #f171eb;
/* rgb */ color: rgb(241, 113, 235);
/* oklch */ color: oklch(74.2% 0.212 329.3);
Tailwind
colors: {
  custom: {
    50: '#f89ff2',
    500: '#f171eb',
    950: '#000000',
  },
}
SCSS
$custom: #f171eb;
$custom-light: #f89ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#f171eb",
  "rgb": {
    "r": 241,
    "g": 113,
    "b": 235
  },
  "hsl": {
    "h": 302.813,
    "s": 82.051,
    "l": 69.412
  },
  "oklch": {
    "l": 0.74168,
    "c": 0.21175,
    "h": 329.3
  },
  "luminance": 0.36509
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F171EB

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

Preview Lab → · Contrast checker → · Palette generator →

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