#F170F8#F170F8

#F170F8 is a light, highly saturated purple. Relative luminance 0.371; OKLCH L 74.7% C 0.224 H 325.5°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#F170F8
RGBrgb(241, 112, 248)
HSLhsl(297, 91%, 71%)
HSVhsv(297, 55%, 97%)
CMYKcmyk(2.8%, 54.8%, 0%, 2.7%)
CIE-LABlab(67.33, 67.37, -45.98)
CIE-LCHlch(67.33, 81.57, 325.69°)
OKLaboklab(74.67% 0.1848 -0.1269)
OKLCHoklch(74.67% 0.224 325.5)
XYZxyz(59.0118, 37.0697, 92.8356)
Luminance0.3707 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F170F8 #77F870
analogous
#AD70F8 #F170F8 #F870BB
triadic
#F170F8 #F8F170 #70F8F1
tetradic
#F170F8 #F8AD70 #77F870 #70BBF8
square
#F170F8 #F8AD70 #77F870 #70BBF8
split-complementary
#F170F8 #BBF870 #70F8AD
monochromatic
#D70BE3 #EB36F5 #F170F8 #F7AAFB #FCE2FE

Accessibility & contrast

On white

2.50
#F170F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.41
#F170F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F170F8
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F170F8#FFFFFF#000000##000000
##F170F81.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9AFC
Deuteranopia (green-blind)
#89AAF4
Tritanopia (blue-blind)
#F681AA
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #f170f8;
/* rgb */ color: rgb(241, 112, 248);
/* oklch */ color: oklch(74.7% 0.224 325.5);
Tailwind
colors: {
  custom: {
    50: '#f89ffb',
    500: '#f170f8',
    950: '#000000',
  },
}
SCSS
$custom: #f170f8;
$custom-light: #f89ffb;
$custom-dark: #000000;
JSON
{
  "hex": "#f170f8",
  "rgb": {
    "r": 241,
    "g": 112,
    "b": 248
  },
  "hsl": {
    "h": 296.912,
    "s": 90.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.74667,
    "c": 0.22421,
    "h": 325.5
  },
  "luminance": 0.37066
}

Semantic roles & 50–950 ramp

primary
#F170F8
secondary
#D1F4CF
accent
#E6000C
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#180F17
muted
#867F85

Preview Lab

Preview with #F170F8

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

Preview Lab → · Contrast checker → · Palette generator →

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