#F178FC#F178FC

#F178FC is a light, highly saturated purple. Relative luminance 0.392; OKLCH L 75.9% C 0.216 H 324.2°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#F178FC
RGBrgb(241, 120, 252)
HSLhsl(295, 96%, 73%)
HSVhsv(295, 52%, 99%)
CMYKcmyk(4.4%, 52.4%, 0%, 1.2%)
CIE-LABlab(68.87, 64.43, -45.75)
CIE-LCHlch(68.87, 79.02, 324.62°)
OKLaboklab(75.86% 0.1751 -0.1263)
OKLCHoklch(75.86% 0.216 324.2)
XYZxyz(60.5612, 39.1651, 96.4462)
Luminance0.3916 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F178FC #83FC78
analogous
#AF78FC #F178FC #FC78C5
triadic
#F178FC #FCF178 #78FCF1
tetradic
#F178FC #FCAF78 #83FC78 #78C5FC
square
#F178FC #FCAF78 #83FC78 #78C5FC
split-complementary
#F178FC #C5FC78 #78FCAF
monochromatic
#E005F4 #EB3CFB #F178FC #F7B4FD #FCE1FE

Accessibility & contrast

On white

2.38
#F178FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.83
#F178FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F178FC
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F178FC#FFFFFF#000000##000000
##F178FC1.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#669FFF
Deuteranopia (green-blind)
#8CADF8
Tritanopia (blue-blind)
#F589AF
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #f178fc;
/* rgb */ color: rgb(241, 120, 252);
/* oklch */ color: oklch(75.9% 0.216 324.2);
Tailwind
colors: {
  custom: {
    50: '#f8a4fe',
    500: '#f178fc',
    950: '#000000',
  },
}
SCSS
$custom: #f178fc;
$custom-light: #f8a4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#f178fc",
  "rgb": {
    "r": 241,
    "g": 120,
    "b": 252
  },
  "hsl": {
    "h": 295,
    "s": 95.652,
    "l": 72.941
  },
  "oklch": {
    "l": 0.75859,
    "c": 0.21594,
    "h": 324.2
  },
  "luminance": 0.39162
}

Semantic roles & 50–950 ramp

primary
#F178FC
secondary
#D7F7D4
accent
#E60013
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181018
muted
#867F86

Preview Lab

Preview with #F178FC

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

Preview Lab → · Contrast checker → · Palette generator →

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