#F17EF2#F17EF2

#F17EF2 is a light, vivid purple. Relative luminance 0.400; OKLCH L 76.2% C 0.198 H 327.0°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#F17EF2
RGBrgb(241, 126, 242)
HSLhsl(299, 82%, 72%)
HSVhsv(299, 48%, 95%)
CMYKcmyk(0.4%, 47.9%, 0%, 5.1%)
CIE-LABlab(69.50, 59.84, -39.29)
CIE-LCHlch(69.50, 71.58, 326.71°)
OKLaboklab(76.18% 0.1659 -0.1078)
OKLCHoklch(76.18% 0.198 327)
XYZxyz(59.7624, 40.0365, 88.5671)
Luminance0.4003 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F17EF2 #7FF27E
analogous
#B77EF2 #F17EF2 #F27EB9
triadic
#F17EF2 #F2F17E #7EF2F1
tetradic
#F17EF2 #F2B77E #7FF27E #7EB9F2
square
#F17EF2 #F2B77E #7FF27E #7EB9F2
split-complementary
#F17EF2 #B9F27E #7EF2B7
monochromatic
#DD16DF #EB46EC #F17EF2 #F7B6F8 #FCE3FC

Accessibility & contrast

On white

2.33
#F17EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.01
#F17EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F17EF2
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F17EF2#FFFFFF#000000##000000
##F17EF21.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A0F6
Deuteranopia (green-blind)
#95AFEE
Tritanopia (blue-blind)
#F78BAD
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #f17ef2;
/* rgb */ color: rgb(241, 126, 242);
/* oklch */ color: oklch(76.2% 0.198 327.0);
Tailwind
colors: {
  custom: {
    50: '#f8a7f6',
    500: '#f17ef2',
    950: '#000000',
  },
}
SCSS
$custom: #f17ef2;
$custom-light: #f8a7f6;
$custom-dark: #000000;
JSON
{
  "hex": "#f17ef2",
  "rgb": {
    "r": 241,
    "g": 126,
    "b": 242
  },
  "hsl": {
    "h": 299.483,
    "s": 81.69,
    "l": 72.157
  },
  "oklch": {
    "l": 0.76175,
    "c": 0.19784,
    "h": 327
  },
  "luminance": 0.40033
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F17EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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