#F178F5#F178F5

#F178F5 is a light, highly saturated purple. Relative luminance 0.387; OKLCH L 75.5% C 0.210 H 326.2°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#F178F5
RGBrgb(241, 120, 245)
HSLhsl(298, 86%, 72%)
HSVhsv(298, 51%, 96%)
CMYKcmyk(1.6%, 51%, 0%, 3.9%)
CIE-LABlab(68.55, 63.20, -42.41)
CIE-LCHlch(68.55, 76.11, 326.14°)
OKLaboklab(75.52% 0.1743 -0.1167)
OKLCHoklch(75.52% 0.21 326.2)
XYZxyz(59.4723, 38.7295, 90.7115)
Luminance0.3873 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F178F5 #7CF578
analogous
#B378F5 #F178F5 #F578BB
triadic
#F178F5 #F5F178 #78F5F1
tetradic
#F178F5 #F5B378 #7CF578 #78BBF5
square
#F178F5 #F5B378 #7CF578 #78BBF5
split-complementary
#F178F5 #BBF578 #78F5B3
monochromatic
#DB11E2 #EB3FF1 #F178F5 #F7B1F9 #FCE3FD

Accessibility & contrast

On white

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

On black

8.75
#F178F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F178F5
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F178F5#FFFFFF#000000##000000
##F178F51.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9DF9
Deuteranopia (green-blind)
#8FADF1
Tritanopia (blue-blind)
#F787AC
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #f178f5;
/* rgb */ color: rgb(241, 120, 245);
/* oklch */ color: oklch(75.5% 0.210 326.2);
Tailwind
colors: {
  custom: {
    50: '#f8a4f9',
    500: '#f178f5',
    950: '#000000',
  },
}
SCSS
$custom: #f178f5;
$custom-light: #f8a4f9;
$custom-dark: #000000;
JSON
{
  "hex": "#f178f5",
  "rgb": {
    "r": 241,
    "g": 120,
    "b": 245
  },
  "hsl": {
    "h": 298.08,
    "s": 86.207,
    "l": 71.569
  },
  "oklch": {
    "l": 0.75523,
    "c": 0.20974,
    "h": 326.2
  },
  "luminance": 0.38726
}

Semantic roles & 50–950 ramp

primary
#F178F5
secondary
#D5F4D4
accent
#E3030A
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#180F17
muted
#867F85

Preview Lab

Preview with #F178F5

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

Preview Lab → · Contrast checker → · Palette generator →

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