#F170E7#F170E7

#F170E7 is a light, highly saturated purple. Relative luminance 0.361; OKLCH L 73.9% C 0.210 H 330.5°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#F170E7
RGBrgb(241, 112, 231)
HSLhsl(305, 82%, 69%)
HSVhsv(305, 54%, 95%)
CMYKcmyk(0%, 53.5%, 4.1%, 5.5%)
CIE-LABlab(66.57, 64.50, -37.79)
CIE-LCHlch(66.57, 74.75, 329.63°)
OKLaboklab(73.86% 0.1827 -0.1034)
OKLCHoklch(73.86% 0.21 330.5)
XYZxyz(56.4932, 36.0623, 79.5710)
Luminance0.3606 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F170E7 #70F17A
analogous
#BB70F1 #F170E7 #F170A7
triadic
#F170E7 #E7F170 #70E7F1
tetradic
#F170E7 #F1BB70 #70F17A #70A7F1
square
#F170E7 #F1BB70 #70F17A #70A7F1
split-complementary
#F170E7 #A7F170 #70F1BB
monochromatic
#D215C3 #EC38DE #F170E7 #F6A8F0 #FCDFFA

Accessibility & contrast

On white

2.56
#F170E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#F170E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F170E7
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F170E7#FFFFFF#000000##000000
##F170E71.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6997EB
Deuteranopia (green-blind)
#90A8E3
Tritanopia (blue-blind)
#F97BA2
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #f170e7;
/* rgb */ color: rgb(241, 112, 231);
/* oklch */ color: oklch(73.9% 0.210 330.5);
Tailwind
colors: {
  custom: {
    50: '#f89fef',
    500: '#f170e7',
    950: '#000000',
  },
}
SCSS
$custom: #f170e7;
$custom-light: #f89fef;
$custom-dark: #000000;
JSON
{
  "hex": "#f170e7",
  "rgb": {
    "r": 241,
    "g": 112,
    "b": 231
  },
  "hsl": {
    "h": 304.651,
    "s": 82.166,
    "l": 69.216
  },
  "oklch": {
    "l": 0.73859,
    "c": 0.20996,
    "h": 330.5
  },
  "luminance": 0.36059
}

Semantic roles & 50–950 ramp

primary
#F170E7
secondary
#CCF1CF
accent
#DF1807
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F16
muted
#867F84

Preview Lab

Preview with #F170E7

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

Preview Lab → · Contrast checker → · Palette generator →

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