#F17BE2#F17BE2

#F17BE2 is a light, vivid purple. Relative luminance 0.384; OKLCH L 75.1% C 0.189 H 332.2°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#F17BE2
RGBrgb(241, 123, 226)
HSLhsl(308, 81%, 71%)
HSVhsv(308, 49%, 95%)
CMYKcmyk(0%, 49%, 6.2%, 5.5%)
CIE-LABlab(68.29, 58.56, -32.35)
CIE-LCHlch(68.29, 66.90, 331.08°)
OKLaboklab(75.06% 0.1672 -0.088)
OKLCHoklch(75.06% 0.189 332.2)
XYZxyz(57.0858, 38.3612, 76.3344)
Luminance0.3836 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F17BE2 #7BF18A
analogous
#C57BF1 #F17BE2 #F17BA7
triadic
#F17BE2 #E2F17B #7BE2F1
tetradic
#F17BE2 #F1C57B #7BF18A #7BA7F1
square
#F17BE2 #F1C57B #7BF18A #7BA7F1
split-complementary
#F17BE2 #A7F17B #7BF1C5
monochromatic
#DA17C2 #EB44D6 #F17BE2 #F7B2EE #FCE3F9

Accessibility & contrast

On white

2.42
#F17BE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.67
#F17BE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F17BE2
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F17BE2#FFFFFF#000000##000000
##F17BE21.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#789CE5
Deuteranopia (green-blind)
#99ADDF
Tritanopia (blue-blind)
#FA83A4
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #f17be2;
/* rgb */ color: rgb(241, 123, 226);
/* oklch */ color: oklch(75.1% 0.189 332.2);
Tailwind
colors: {
  custom: {
    50: '#f8a5eb',
    500: '#f17be2',
    950: '#000000',
  },
}
SCSS
$custom: #f17be2;
$custom-light: #f8a5eb;
$custom-dark: #000000;
JSON
{
  "hex": "#f17be2",
  "rgb": {
    "r": 241,
    "g": 123,
    "b": 226
  },
  "hsl": {
    "h": 307.627,
    "s": 80.822,
    "l": 71.373
  },
  "oklch": {
    "l": 0.75061,
    "c": 0.18893,
    "h": 332.2
  },
  "luminance": 0.38358
}

Semantic roles & 50–950 ramp

primary
#F17BE2
secondary
#D5F3D8
accent
#DD2308
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181016
muted
#867F84

Preview Lab

Preview with #F17BE2

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

Preview Lab → · Contrast checker → · Palette generator →

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