#F17FF2#F17FF2

#F17FF2 is a light, vivid purple. Relative luminance 0.403; OKLCH L 76.3% C 0.196 H 327.0°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#F17FF2
RGBrgb(241, 127, 242)
HSLhsl(299, 82%, 72%)
HSVhsv(299, 48%, 95%)
CMYKcmyk(0.4%, 47.5%, 0%, 5.1%)
CIE-LABlab(69.68, 59.36, -39.00)
CIE-LCHlch(69.68, 71.02, 326.69°)
OKLaboklab(76.31% 0.1645 -0.107)
OKLCHoklch(76.31% 0.196 327)
XYZxyz(59.8909, 40.2935, 88.6100)
Luminance0.4029 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F17FF2 #80F27F
analogous
#B77FF2 #F17FF2 #F27FBA
triadic
#F17FF2 #F2F17F #7FF2F1
tetradic
#F17FF2 #F2B77F #80F27F #7FBAF2
square
#F17FF2 #F2B77F #80F27F #7FBAF2
split-complementary
#F17FF2 #BAF27F #7FF2B7
monochromatic
#DE17E0 #EB47EC #F17FF2 #F7B7F8 #FCE3FC

Accessibility & contrast

On white

2.32
#F17FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.06
#F17FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F17FF2
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F17FF2#FFFFFF#000000##000000
##F17FF21.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A1F6
Deuteranopia (green-blind)
#96AFEE
Tritanopia (blue-blind)
#F78BAE
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #f17ff2;
/* rgb */ color: rgb(241, 127, 242);
/* oklch */ color: oklch(76.3% 0.196 327.0);
Tailwind
colors: {
  custom: {
    50: '#f8a8f6',
    500: '#f17ff2',
    950: '#000000',
  },
}
SCSS
$custom: #f17ff2;
$custom-light: #f8a8f6;
$custom-dark: #000000;
JSON
{
  "hex": "#f17ff2",
  "rgb": {
    "r": 241,
    "g": 127,
    "b": 242
  },
  "hsl": {
    "h": 299.478,
    "s": 81.56,
    "l": 72.353
  },
  "oklch": {
    "l": 0.7631,
    "c": 0.19627,
    "h": 327
  },
  "luminance": 0.4029
}

Semantic roles & 50–950 ramp

primary
#F17FF2
secondary
#D7F4D7
accent
#DE0809
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#171017
muted
#857F85

Preview Lab

Preview with #F17FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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