#F170FB#F170FB

#F170FB is a light, highly saturated purple. Relative luminance 0.373; OKLCH L 74.8% C 0.227 H 324.7°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#F170FB
RGBrgb(241, 112, 251)
HSLhsl(296, 95%, 71%)
HSVhsv(296, 55%, 98%)
CMYKcmyk(4%, 55.4%, 0%, 1.6%)
CIE-LABlab(67.47, 67.89, -47.40)
CIE-LCHlch(67.47, 82.80, 325.08°)
OKLaboklab(74.82% 0.1851 -0.131)
OKLCHoklch(74.82% 0.227 324.7)
XYZxyz(59.4809, 37.2574, 95.3064)
Luminance0.3725 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F170FB #7AFB70
analogous
#AB70FB #F170FB #FB70C0
triadic
#F170FB #FBF170 #70FBF1
tetradic
#F170FB #FBAB70 #7AFB70 #70C0FB
square
#F170FB #FBAB70 #7AFB70 #70C0FB
split-complementary
#F170FB #C0FB70 #70FBAB
monochromatic
#DA07EA #EB34F9 #F170FB #F7ACFD #FCE1FE

Accessibility & contrast

On white

2.48
#F170FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.45
#F170FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F170FB
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F170FB#FFFFFF#000000##000000
##F170FB1.002.488.458.45
#FFFFFF2.481.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C9AFF
Deuteranopia (green-blind)
#87AAF7
Tritanopia (blue-blind)
#F682AB
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #f170fb;
/* rgb */ color: rgb(241, 112, 251);
/* oklch */ color: oklch(74.8% 0.227 324.7);
Tailwind
colors: {
  custom: {
    50: '#f99ffd',
    500: '#f170fb',
    950: '#000000',
  },
}
SCSS
$custom: #f170fb;
$custom-light: #f99ffd;
$custom-dark: #000000;
JSON
{
  "hex": "#f170fb",
  "rgb": {
    "r": 241,
    "g": 112,
    "b": 251
  },
  "hsl": {
    "h": 295.683,
    "s": 94.558,
    "l": 71.176
  },
  "oklch": {
    "l": 0.74816,
    "c": 0.2268,
    "h": 324.7
  },
  "luminance": 0.37254
}

Semantic roles & 50–950 ramp

primary
#F170FB
secondary
#D4F6D1
accent
#E60011
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#180F18
muted
#867F86

Preview Lab

Preview with #F170FB

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

Preview Lab → · Contrast checker → · Palette generator →

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