#F170F7#F170F7

#F170F7 is a light, highly saturated purple. Relative luminance 0.370; OKLCH L 74.6% C 0.223 H 325.8°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#F170F7
RGBrgb(241, 112, 247)
HSLhsl(297, 89%, 70%)
HSVhsv(297, 55%, 97%)
CMYKcmyk(2.4%, 54.7%, 0%, 3.1%)
CIE-LABlab(67.28, 67.20, -45.50)
CIE-LCHlch(67.28, 81.15, 325.90°)
OKLaboklab(74.62% 0.1847 -0.1256)
OKLCHoklch(74.62% 0.223 325.8)
XYZxyz(58.8571, 37.0078, 92.0207)
Luminance0.3700 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F170F7 #76F770
analogous
#AD70F7 #F170F7 #F770BA
triadic
#F170F7 #F7F170 #70F7F1
tetradic
#F170F7 #F7AD70 #76F770 #70BAF7
square
#F170F7 #F7AD70 #76F770 #70BAF7
split-complementary
#F170F7 #BAF770 #70F7AD
monochromatic
#D70DE0 #EB36F4 #F170F7 #F7AAFA #FCE2FD

Accessibility & contrast

On white

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

On black

8.40
#F170F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F170F7
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F170F7#FFFFFF#000000##000000
##F170F71.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F99FB
Deuteranopia (green-blind)
#89AAF3
Tritanopia (blue-blind)
#F681A9
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #f170f7;
/* rgb */ color: rgb(241, 112, 247);
/* oklch */ color: oklch(74.6% 0.223 325.8);
Tailwind
colors: {
  custom: {
    50: '#f89ffa',
    500: '#f170f7',
    950: '#000000',
  },
}
SCSS
$custom: #f170f7;
$custom-light: #f89ffa;
$custom-dark: #000000;
JSON
{
  "hex": "#f170f7",
  "rgb": {
    "r": 241,
    "g": 112,
    "b": 247
  },
  "hsl": {
    "h": 297.333,
    "s": 89.404,
    "l": 70.392
  },
  "oklch": {
    "l": 0.74618,
    "c": 0.22335,
    "h": 325.8
  },
  "luminance": 0.37005
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F170F7

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

Preview Lab → · Contrast checker → · Palette generator →

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