#F178E4#F178E4

#F178E4 is a light, vivid purple. Relative luminance 0.377; OKLCH L 74.7% C 0.195 H 331.5°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#F178E4
RGBrgb(241, 120, 228)
HSLhsl(306, 81%, 71%)
HSVhsv(306, 50%, 95%)
CMYKcmyk(0%, 50.2%, 5.4%, 5.5%)
CIE-LABlab(67.83, 60.31, -34.17)
CIE-LCHlch(67.83, 69.32, 330.47°)
OKLaboklab(74.75% 0.1717 -0.0931)
OKLCHoklch(74.75% 0.195 331.5)
XYZxyz(56.9954, 37.7387, 77.6660)
Luminance0.3774 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F178E4 #78F185
analogous
#C178F1 #F178E4 #F178A7
triadic
#F178E4 #E4F178 #78E4F1
tetradic
#F178E4 #F1C178 #78F185 #78A7F1
square
#F178E4 #F1C178 #78F185 #78A7F1
split-complementary
#F178E4 #A7F178 #78F1C1
monochromatic
#D816C3 #EB41D9 #F178E4 #F7AFEF #FCE3F9

Accessibility & contrast

On white

2.46
#F178E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.55
#F178E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F178E4
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F178E4#FFFFFF#000000##000000
##F178E41.002.468.558.55
#FFFFFF2.461.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#739AE8
Deuteranopia (green-blind)
#97ABE1
Tritanopia (blue-blind)
#F981A4
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #f178e4;
/* rgb */ color: rgb(241, 120, 228);
/* oklch */ color: oklch(74.7% 0.195 331.5);
Tailwind
colors: {
  custom: {
    50: '#f8a3ed',
    500: '#f178e4',
    950: '#000000',
  },
}
SCSS
$custom: #f178e4;
$custom-light: #f8a3ed;
$custom-dark: #000000;
JSON
{
  "hex": "#f178e4",
  "rgb": {
    "r": 241,
    "g": 120,
    "b": 228
  },
  "hsl": {
    "h": 306.446,
    "s": 81.208,
    "l": 70.784
  },
  "oklch": {
    "l": 0.74748,
    "c": 0.19529,
    "h": 331.5
  },
  "luminance": 0.37735
}

Semantic roles & 50–950 ramp

primary
#F178E4
secondary
#D2F3D6
accent
#DE1F08
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F16
muted
#867F84

Preview Lab

Preview with #F178E4

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

Preview Lab → · Contrast checker → · Palette generator →

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