#F178F6#F178F6

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

Color values

HEX#F178F6
RGBrgb(241, 120, 246)
HSLhsl(298, 88%, 72%)
HSVhsv(298, 51%, 96%)
CMYKcmyk(2%, 51.2%, 0%, 3.5%)
CIE-LABlab(68.60, 63.37, -42.89)
CIE-LCHlch(68.60, 76.52, 325.91°)
OKLaboklab(75.57% 0.1744 -0.1181)
OKLCHoklch(75.57% 0.211 325.9)
XYZxyz(59.6254, 38.7907, 91.5176)
Luminance0.3879 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F178F6 #7DF678
analogous
#B278F6 #F178F6 #F678BC
triadic
#F178F6 #F6F178 #78F6F1
tetradic
#F178F6 #F6B278 #7DF678 #78BCF6
square
#F178F6 #F6B278 #7DF678 #78BCF6
split-complementary
#F178F6 #BCF678 #78F6B2
monochromatic
#DC0FE4 #EB3FF2 #F178F6 #F7B1FA #FCE2FD

Accessibility & contrast

On white

2.40
#F178F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.76
#F178F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F178F6
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F178F6#FFFFFF#000000##000000
##F178F61.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9EFA
Deuteranopia (green-blind)
#8FADF2
Tritanopia (blue-blind)
#F687AC
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #f178f6;
/* rgb */ color: rgb(241, 120, 246);
/* oklch */ color: oklch(75.6% 0.211 325.9);
Tailwind
colors: {
  custom: {
    50: '#f8a4f9',
    500: '#f178f6',
    950: '#000000',
  },
}
SCSS
$custom: #f178f6;
$custom-light: #f8a4f9;
$custom-dark: #000000;
JSON
{
  "hex": "#f178f6",
  "rgb": {
    "r": 241,
    "g": 120,
    "b": 246
  },
  "hsl": {
    "h": 297.619,
    "s": 87.5,
    "l": 71.765
  },
  "oklch": {
    "l": 0.75571,
    "c": 0.21061,
    "h": 325.9
  },
  "luminance": 0.38788
}

Semantic roles & 50–950 ramp

primary
#F178F6
secondary
#D6F5D5
accent
#E4010A
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#180F17
muted
#867F85

Preview Lab

Preview with #F178F6

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

Preview Lab → · Contrast checker → · Palette generator →

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