#F178E5#F178E5

#F178E5 is a light, vivid purple. Relative luminance 0.378; OKLCH L 74.8% C 0.196 H 331.2°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#F178E5
RGBrgb(241, 120, 229)
HSLhsl(306, 81%, 71%)
HSVhsv(306, 50%, 95%)
CMYKcmyk(0%, 50.2%, 5%, 5.5%)
CIE-LABlab(67.87, 60.48, -34.66)
CIE-LCHlch(67.87, 69.70, 330.18°)
OKLaboklab(74.79% 0.1718 -0.0945)
OKLCHoklch(74.79% 0.196 331.2)
XYZxyz(57.1346, 37.7944, 78.3992)
Luminance0.3779 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F178E5 #78F184
analogous
#C078F1 #F178E5 #F178A8
triadic
#F178E5 #E5F178 #78E5F1
tetradic
#F178E5 #F1C078 #78F184 #78A8F1
square
#F178E5 #F1C078 #78F184 #78A8F1
split-complementary
#F178E5 #A8F178 #78F1C0
monochromatic
#D816C5 #EB41DA #F178E5 #F7AFF0 #FCE3FA

Accessibility & contrast

On white

2.45
#F178E5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.56
#F178E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F178E5
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F178E5#FFFFFF#000000##000000
##F178E51.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#739BE9
Deuteranopia (green-blind)
#96ABE2
Tritanopia (blue-blind)
#F982A4
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #f178e5;
/* rgb */ color: rgb(241, 120, 229);
/* oklch */ color: oklch(74.8% 0.196 331.2);
Tailwind
colors: {
  custom: {
    50: '#f8a3ed',
    500: '#f178e5',
    950: '#000000',
  },
}
SCSS
$custom: #f178e5;
$custom-light: #f8a3ed;
$custom-dark: #000000;
JSON
{
  "hex": "#f178e5",
  "rgb": {
    "r": 241,
    "g": 120,
    "b": 229
  },
  "hsl": {
    "h": 305.95,
    "s": 81.208,
    "l": 70.784
  },
  "oklch": {
    "l": 0.74792,
    "c": 0.19611,
    "h": 331.2
  },
  "luminance": 0.37791
}

Semantic roles & 50–950 ramp

primary
#F178E5
secondary
#D2F3D5
accent
#DE1D08
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F16
muted
#867F84

Preview Lab

Preview with #F178E5

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

Preview Lab → · Contrast checker → · Palette generator →

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