#F17BF2#F17BF2

#F17BF2 is a light, highly saturated purple. Relative luminance 0.393; OKLCH L 75.8% C 0.203 H 327.0°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#F17BF2
RGBrgb(241, 123, 242)
HSLhsl(299, 82%, 72%)
HSVhsv(299, 49%, 95%)
CMYKcmyk(0.4%, 49.2%, 0%, 5.1%)
CIE-LABlab(68.95, 61.26, -40.13)
CIE-LCHlch(68.95, 73.24, 326.77°)
OKLaboklab(75.78% 0.1699 -0.1102)
OKLCHoklch(75.78% 0.203 327)
XYZxyz(59.3845, 39.2807, 88.4412)
Luminance0.3928 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F17BF2 #7CF27B
analogous
#B67BF2 #F17BF2 #F27BB8
triadic
#F17BF2 #F2F17B #7BF2F1
tetradic
#F17BF2 #F2B67B #7CF27B #7BB8F2
square
#F17BF2 #F2B67B #7CF27B #7BB8F2
split-complementary
#F17BF2 #B8F27B #7BF2B6
monochromatic
#DB16DD #EB43ED #F17BF2 #F7B3F7 #FCE3FC

Accessibility & contrast

On white

2.37
#F17BF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.86
#F17BF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F17BF2
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F17BF2#FFFFFF#000000##000000
##F17BF21.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#709FF6
Deuteranopia (green-blind)
#93AEEE
Tritanopia (blue-blind)
#F788AC
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #f17bf2;
/* rgb */ color: rgb(241, 123, 242);
/* oklch */ color: oklch(75.8% 0.203 327.0);
Tailwind
colors: {
  custom: {
    50: '#f8a5f6',
    500: '#f17bf2',
    950: '#000000',
  },
}
SCSS
$custom: #f17bf2;
$custom-light: #f8a5f6;
$custom-dark: #000000;
JSON
{
  "hex": "#f17bf2",
  "rgb": {
    "r": 241,
    "g": 123,
    "b": 242
  },
  "hsl": {
    "h": 299.496,
    "s": 82.069,
    "l": 71.569
  },
  "oklch": {
    "l": 0.75775,
    "c": 0.20251,
    "h": 327
  },
  "luminance": 0.39277
}

Semantic roles & 50–950 ramp

primary
#F17BF2
secondary
#D5F4D5
accent
#DE0709
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#181017
muted
#867F85

Preview Lab

Preview with #F17BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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