#F17AFA#F17AFA

#F17AFA is a light, highly saturated purple. Relative luminance 0.395; OKLCH L 76.0% C 0.211 H 324.7°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#F17AFA
RGBrgb(241, 122, 250)
HSLhsl(296, 93%, 73%)
HSVhsv(296, 51%, 98%)
CMYKcmyk(3.6%, 51.2%, 0%, 2%)
CIE-LABlab(69.13, 63.14, -44.25)
CIE-LCHlch(69.13, 77.10, 324.98°)
OKLaboklab(76.02% 0.1723 -0.122)
OKLCHoklch(76.02% 0.211 324.7)
XYZxyz(60.4890, 39.5251, 94.8669)
Luminance0.3952 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F17AFA #83FA7A
analogous
#B17AFA #F17AFA #FA7AC3
triadic
#F17AFA #FAF17A #7AFAF1
tetradic
#F17AFA #FAB17A #83FA7A #7AC3FA
square
#F17AFA #FAB17A #83FA7A #7AC3FA
split-complementary
#F17AFA #C3FA7A #7AFAB1
monochromatic
#E009F1 #EB3FF8 #F17AFA #F7B5FC #FCE2FE

Accessibility & contrast

On white

2.36
#F17AFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.90
#F17AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F17AFA
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F17AFA#FFFFFF#000000##000000
##F17AFA1.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9FFE
Deuteranopia (green-blind)
#8FAEF6
Tritanopia (blue-blind)
#F68AAF
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #f17afa;
/* rgb */ color: rgb(241, 122, 250);
/* oklch */ color: oklch(76.0% 0.211 324.7);
Tailwind
colors: {
  custom: {
    50: '#f8a5fc',
    500: '#f17afa',
    950: '#000000',
  },
}
SCSS
$custom: #f17afa;
$custom-light: #f8a5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#f17afa",
  "rgb": {
    "r": 241,
    "g": 122,
    "b": 250
  },
  "hsl": {
    "h": 295.781,
    "s": 92.754,
    "l": 72.941
  },
  "oklch": {
    "l": 0.7602,
    "c": 0.21113,
    "h": 324.7
  },
  "luminance": 0.39522
}

Semantic roles & 50–950 ramp

primary
#F17AFA
secondary
#D7F6D5
accent
#E60010
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181017
muted
#867F85

Preview Lab

Preview with #F17AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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