#F17FF4#F17FF4

#F17FF4 is a light, vivid purple. Relative luminance 0.404; OKLCH L 76.4% C 0.198 H 326.3°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#F17FF4
RGBrgb(241, 127, 244)
HSLhsl(298, 84%, 73%)
HSVhsv(298, 48%, 96%)
CMYKcmyk(1.2%, 48%, 0%, 4.3%)
CIE-LABlab(69.76, 59.71, -39.97)
CIE-LCHlch(69.76, 71.85, 326.20°)
OKLaboklab(76.4% 0.1649 -0.1098)
OKLCHoklch(76.4% 0.198 326.3)
XYZxyz(60.1929, 40.4143, 90.2006)
Luminance0.4041 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F17FF4 #82F47F
analogous
#B77FF4 #F17FF4 #F47FBC
triadic
#F17FF4 #F4F17F #7FF4F1
tetradic
#F17FF4 #F4B77F #82F47F #7FBCF4
square
#F17FF4 #F4B77F #82F47F #7FBCF4
split-complementary
#F17FF4 #BCF47F #7FF4B7
monochromatic
#E014E5 #EB47EF #F17FF4 #F7B7F9 #FCE3FD

Accessibility & contrast

On white

2.31
#F17FF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.08
#F17FF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F17FF4
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F17FF4#FFFFFF#000000##000000
##F17FF41.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A1F8
Deuteranopia (green-blind)
#95B0F0
Tritanopia (blue-blind)
#F78CAE
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #f17ff4;
/* rgb */ color: rgb(241, 127, 244);
/* oklch */ color: oklch(76.4% 0.198 326.3);
Tailwind
colors: {
  custom: {
    50: '#f8a8f8',
    500: '#f17ff4',
    950: '#000000',
  },
}
SCSS
$custom: #f17ff4;
$custom-light: #f8a8f8;
$custom-dark: #000000;
JSON
{
  "hex": "#f17ff4",
  "rgb": {
    "r": 241,
    "g": 127,
    "b": 244
  },
  "hsl": {
    "h": 298.462,
    "s": 84.173,
    "l": 72.745
  },
  "oklch": {
    "l": 0.76402,
    "c": 0.19806,
    "h": 326.3
  },
  "luminance": 0.40411
}

Semantic roles & 50–950 ramp

primary
#F17FF4
secondary
#D7F5D6
accent
#E1050B
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #F17FF4

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

Preview Lab → · Contrast checker → · Palette generator →

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