#F170FD#F170FD

#F170FD is a light, highly saturated purple. Relative luminance 0.374; OKLCH L 74.9% C 0.229 H 324.2°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#F170FD
RGBrgb(241, 112, 253)
HSLhsl(295, 97%, 72%)
HSVhsv(295, 56%, 99%)
CMYKcmyk(4.7%, 55.7%, 0%, 0.8%)
CIE-LABlab(67.56, 68.25, -48.35)
CIE-LCHlch(67.56, 83.64, 324.68°)
OKLaboklab(74.92% 0.1853 -0.1338)
OKLCHoklch(74.92% 0.229 324.2)
XYZxyz(59.7979, 37.3841, 96.9756)
Luminance0.3738 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F170FD #7CFD70
analogous
#AB70FD #F170FD #FD70C2
triadic
#F170FD #FDF170 #70FDF1
tetradic
#F170FD #FDAB70 #7CFD70 #70C2FD
square
#F170FD #FDAB70 #7CFD70 #70C2FD
split-complementary
#F170FD #C2FD70 #70FDAB
monochromatic
#DB03EF #EB34FC #F170FD #F7ACFE #FCE1FF

Accessibility & contrast

On white

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

On black

8.48
#F170FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F170FD
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F170FD#FFFFFF#000000##000000
##F170FD1.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A9BFF
Deuteranopia (green-blind)
#86AAF9
Tritanopia (blue-blind)
#F583AC
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #f170fd;
/* rgb */ color: rgb(241, 112, 253);
/* oklch */ color: oklch(74.9% 0.229 324.2);
Tailwind
colors: {
  custom: {
    50: '#f99ffe',
    500: '#f170fd',
    950: '#000000',
  },
}
SCSS
$custom: #f170fd;
$custom-light: #f99ffe;
$custom-dark: #000000;
JSON
{
  "hex": "#f170fd",
  "rgb": {
    "r": 241,
    "g": 112,
    "b": 253
  },
  "hsl": {
    "h": 294.894,
    "s": 97.241,
    "l": 71.569
  },
  "oklch": {
    "l": 0.74916,
    "c": 0.22854,
    "h": 324.2
  },
  "luminance": 0.37381
}

Semantic roles & 50–950 ramp

primary
#F170FD
secondary
#D5F7D2
accent
#E60014
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#180F18
muted
#867F86

Preview Lab

Preview with #F170FD

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

Preview Lab → · Contrast checker → · Palette generator →

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