#F170EB#F170EB

#F170EB is a light, highly saturated purple. Relative luminance 0.363; OKLCH L 74.0% C 0.213 H 329.3°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#F170EB
RGBrgb(241, 112, 235)
HSLhsl(303, 82%, 69%)
HSVhsv(303, 54%, 95%)
CMYKcmyk(0%, 53.5%, 2.5%, 5.5%)
CIE-LABlab(66.74, 65.16, -39.73)
CIE-LCHlch(66.74, 76.32, 328.63°)
OKLaboklab(74.04% 0.1833 -0.109)
OKLCHoklch(74.04% 0.213 329.3)
XYZxyz(57.0646, 36.2908, 82.5803)
Luminance0.3629 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F170EB #70F176
analogous
#B770F1 #F170EB #F170AB
triadic
#F170EB #EBF170 #70EBF1
tetradic
#F170EB #F1B770 #70F176 #70ABF1
square
#F170EB #F1B770 #70F176 #70ABF1
split-complementary
#F170EB #ABF170 #70F1B7
monochromatic
#D215C9 #EC38E3 #F170EB #F6A8F3 #FCDFFB

Accessibility & contrast

On white

2.54
#F170EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#F170EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F170EB
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F170EB#FFFFFF#000000##000000
##F170EB1.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6797EF
Deuteranopia (green-blind)
#8FA9E7
Tritanopia (blue-blind)
#F97DA3
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #f170eb;
/* rgb */ color: rgb(241, 112, 235);
/* oklch */ color: oklch(74.0% 0.213 329.3);
Tailwind
colors: {
  custom: {
    50: '#f89ff2',
    500: '#f170eb',
    950: '#000000',
  },
}
SCSS
$custom: #f170eb;
$custom-light: #f89ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#f170eb",
  "rgb": {
    "r": 241,
    "g": 112,
    "b": 235
  },
  "hsl": {
    "h": 302.791,
    "s": 82.166,
    "l": 69.216
  },
  "oklch": {
    "l": 0.74044,
    "c": 0.21323,
    "h": 329.3
  },
  "luminance": 0.36287
}

Semantic roles & 50–950 ramp

primary
#F170EB
secondary
#CCF1CD
accent
#DF1107
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F17
muted
#867F85

Preview Lab

Preview with #F170EB

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

Preview Lab → · Contrast checker → · Palette generator →

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