#F170E4#F170E4

#F170E4 is a light, highly saturated purple. Relative luminance 0.359; OKLCH L 73.7% C 0.208 H 331.4°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#F170E4
RGBrgb(241, 112, 228)
HSLhsl(306, 82%, 69%)
HSVhsv(306, 54%, 95%)
CMYKcmyk(0%, 53.5%, 5.4%, 5.5%)
CIE-LABlab(66.44, 64.01, -36.33)
CIE-LCHlch(66.44, 73.60, 330.42°)
OKLaboklab(73.72% 0.1823 -0.0992)
OKLCHoklch(73.72% 0.208 331.4)
XYZxyz(56.0731, 35.8942, 77.3586)
Luminance0.3589 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F170E4 #70F17D
analogous
#BE70F1 #F170E4 #F170A3
triadic
#F170E4 #E4F170 #70E4F1
tetradic
#F170E4 #F1BE70 #70F17D #70A3F1
square
#F170E4 #F1BE70 #70F17D #70A3F1
split-complementary
#F170E4 #A3F170 #70F1BE
monochromatic
#D215BF #EC38D9 #F170E4 #F6A8EF #FCDFF9

Accessibility & contrast

On white

2.57
#F170E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#F170E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F170E4
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F170E4#FFFFFF#000000##000000
##F170E41.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A96E8
Deuteranopia (green-blind)
#92A8E0
Tritanopia (blue-blind)
#FA7BA0
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #f170e4;
/* rgb */ color: rgb(241, 112, 228);
/* oklch */ color: oklch(73.7% 0.208 331.4);
Tailwind
colors: {
  custom: {
    50: '#f89eed',
    500: '#f170e4',
    950: '#000000',
  },
}
SCSS
$custom: #f170e4;
$custom-light: #f89eed;
$custom-dark: #000000;
JSON
{
  "hex": "#f170e4",
  "rgb": {
    "r": 241,
    "g": 112,
    "b": 228
  },
  "hsl": {
    "h": 306.047,
    "s": 82.166,
    "l": 69.216
  },
  "oklch": {
    "l": 0.73723,
    "c": 0.20752,
    "h": 331.4
  },
  "luminance": 0.35891
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F170E4

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

Preview Lab → · Contrast checker → · Palette generator →

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