#F171EC#F171EC

#F171EC is a light, highly saturated purple. Relative luminance 0.366; OKLCH L 74.2% C 0.213 H 329.0°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#F171EC
RGBrgb(241, 113, 236)
HSLhsl(302, 82%, 69%)
HSVhsv(302, 53%, 95%)
CMYKcmyk(0%, 53.1%, 2.1%, 5.5%)
CIE-LABlab(66.95, 64.88, -39.95)
CIE-LCHlch(66.95, 76.19, 328.37°)
OKLaboklab(74.22% 0.1821 -0.1096)
OKLCHoklch(74.22% 0.213 329)
XYZxyz(57.3204, 36.5707, 83.3803)
Luminance0.3657 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F171EC #71F176
analogous
#B671F1 #F171EC #F171AC
triadic
#F171EC #ECF171 #71ECF1
tetradic
#F171EC #F1B671 #71F176 #71ACF1
square
#F171EC #F1B671 #71F176 #71ACF1
split-complementary
#F171EC #ACF171 #71F1B6
monochromatic
#D315CB #EC39E5 #F171EC #F6A9F3 #FCE0FB

Accessibility & contrast

On white

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

On black

8.31
#F171EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F171EC
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F171EC#FFFFFF#000000##000000
##F171EC1.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6798F0
Deuteranopia (green-blind)
#8FA9E8
Tritanopia (blue-blind)
#F87EA4
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #f171ec;
/* rgb */ color: rgb(241, 113, 236);
/* oklch */ color: oklch(74.2% 0.213 329.0);
Tailwind
colors: {
  custom: {
    50: '#f89ff2',
    500: '#f171ec',
    950: '#000000',
  },
}
SCSS
$custom: #f171ec;
$custom-light: #f89ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#f171ec",
  "rgb": {
    "r": 241,
    "g": 113,
    "b": 236
  },
  "hsl": {
    "h": 302.344,
    "s": 82.051,
    "l": 69.412
  },
  "oklch": {
    "l": 0.74215,
    "c": 0.21258,
    "h": 329
  },
  "luminance": 0.36567
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F171EC

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

Preview Lab → · Contrast checker → · Palette generator →

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