#F178F7#F178F7

#F178F7 is a light, highly saturated purple. Relative luminance 0.388; OKLCH L 75.6% C 0.211 H 325.6°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#F178F7
RGBrgb(241, 120, 247)
HSLhsl(297, 89%, 72%)
HSVhsv(297, 51%, 97%)
CMYKcmyk(2.4%, 51.4%, 0%, 3.1%)
CIE-LABlab(68.64, 63.55, -43.36)
CIE-LCHlch(68.64, 76.93, 325.69°)
OKLaboklab(75.62% 0.1745 -0.1195)
OKLCHoklch(75.62% 0.212 325.6)
XYZxyz(59.7793, 38.8523, 92.3281)
Luminance0.3885 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F178F7 #7EF778
analogous
#B178F7 #F178F7 #F778BE
triadic
#F178F7 #F7F178 #78F7F1
tetradic
#F178F7 #F7B178 #7EF778 #78BEF7
square
#F178F7 #F7B178 #7EF778 #78BEF7
split-complementary
#F178F7 #BEF778 #78F7B1
monochromatic
#DD0EE7 #EB3EF4 #F178F7 #F7B2FA #FCE2FD

Accessibility & contrast

On white

2.39
#F178F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.77
#F178F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F178F7
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F178F7#FFFFFF#000000##000000
##F178F71.002.398.778.77
#FFFFFF2.391.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#699EFB
Deuteranopia (green-blind)
#8FADF3
Tritanopia (blue-blind)
#F687AD
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #f178f7;
/* rgb */ color: rgb(241, 120, 247);
/* oklch */ color: oklch(75.6% 0.211 325.6);
Tailwind
colors: {
  custom: {
    50: '#f8a4fa',
    500: '#f178f7',
    950: '#000000',
  },
}
SCSS
$custom: #f178f7;
$custom-light: #f8a4fa;
$custom-dark: #000000;
JSON
{
  "hex": "#f178f7",
  "rgb": {
    "r": 241,
    "g": 120,
    "b": 247
  },
  "hsl": {
    "h": 297.165,
    "s": 88.811,
    "l": 71.961
  },
  "oklch": {
    "l": 0.75618,
    "c": 0.2115,
    "h": 325.6
  },
  "luminance": 0.38849
}

Semantic roles & 50–950 ramp

primary
#F178F7
secondary
#D7F5D5
accent
#E5000B
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181017
muted
#867F85

Preview Lab

Preview with #F178F7

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

Preview Lab → · Contrast checker → · Palette generator →

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