#F170EF#F170EF

#F170EF is a light, highly saturated purple. Relative luminance 0.365; OKLCH L 74.2% C 0.217 H 328.1°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#F170EF
RGBrgb(241, 112, 239)
HSLhsl(301, 82%, 69%)
HSVhsv(301, 54%, 95%)
CMYKcmyk(0%, 53.5%, 0.8%, 5.5%)
CIE-LABlab(66.92, 65.83, -41.67)
CIE-LCHlch(66.92, 77.91, 327.67°)
OKLaboklab(74.23% 0.1838 -0.1145)
OKLCHoklch(74.23% 0.217 328.1)
XYZxyz(57.6490, 36.5246, 85.6581)
Luminance0.3652 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F170EF #70F172
analogous
#B370F1 #F170EF #F170AF
triadic
#F170EF #EFF170 #70EFF1
tetradic
#F170EF #F1B370 #70F172 #70AFF1
square
#F170EF #F1B370 #70F172 #70AFF1
split-complementary
#F170EF #AFF170 #70F1B3
monochromatic
#D215CF #EC38E9 #F170EF #F6A8F5 #FCDFFB

Accessibility & contrast

On white

2.53
#F170EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#F170EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F170EF
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F170EF#FFFFFF#000000##000000
##F170EF1.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6498F3
Deuteranopia (green-blind)
#8DA9EB
Tritanopia (blue-blind)
#F87EA5
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #f170ef;
/* rgb */ color: rgb(241, 112, 239);
/* oklch */ color: oklch(74.2% 0.217 328.1);
Tailwind
colors: {
  custom: {
    50: '#f89ff4',
    500: '#f170ef',
    950: '#000000',
  },
}
SCSS
$custom: #f170ef;
$custom-light: #f89ff4;
$custom-dark: #000000;
JSON
{
  "hex": "#f170ef",
  "rgb": {
    "r": 241,
    "g": 112,
    "b": 239
  },
  "hsl": {
    "h": 300.93,
    "s": 82.166,
    "l": 69.216
  },
  "oklch": {
    "l": 0.74232,
    "c": 0.21656,
    "h": 328.1
  },
  "luminance": 0.36521
}

Semantic roles & 50–950 ramp

primary
#F170EF
secondary
#CCF1CC
accent
#DF0A07
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F17
muted
#867F85

Preview Lab

Preview with #F170EF

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

Preview Lab → · Contrast checker → · Palette generator →

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