#F178E7#F178E7

#F178E7 is a light, vivid purple. Relative luminance 0.379; OKLCH L 74.9% C 0.198 H 330.5°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#F178E7
RGBrgb(241, 120, 231)
HSLhsl(305, 81%, 71%)
HSVhsv(305, 50%, 95%)
CMYKcmyk(0%, 50.2%, 4.1%, 5.5%)
CIE-LABlab(67.95, 60.81, -35.63)
CIE-LCHlch(67.95, 70.48, 329.63°)
OKLaboklab(74.88% 0.1722 -0.0973)
OKLCHoklch(74.88% 0.198 330.5)
XYZxyz(57.4154, 37.9068, 79.8784)
Luminance0.3790 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F178E7 #78F182
analogous
#BE78F1 #F178E7 #F178AA
triadic
#F178E7 #E7F178 #78E7F1
tetradic
#F178E7 #F1BE78 #78F182 #78AAF1
square
#F178E7 #F1BE78 #78F182 #78AAF1
split-complementary
#F178E7 #AAF178 #78F1BE
monochromatic
#D816C8 #EB41DD #F178E7 #F7AFF1 #FCE3FA

Accessibility & contrast

On white

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

On black

8.58
#F178E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F178E7
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F178E7#FFFFFF#000000##000000
##F178E71.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#729BEB
Deuteranopia (green-blind)
#95ACE3
Tritanopia (blue-blind)
#F982A5
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #f178e7;
/* rgb */ color: rgb(241, 120, 231);
/* oklch */ color: oklch(74.9% 0.198 330.5);
Tailwind
colors: {
  custom: {
    50: '#f8a3ef',
    500: '#f178e7',
    950: '#000000',
  },
}
SCSS
$custom: #f178e7;
$custom-light: #f8a3ef;
$custom-dark: #000000;
JSON
{
  "hex": "#f178e7",
  "rgb": {
    "r": 241,
    "g": 120,
    "b": 231
  },
  "hsl": {
    "h": 304.959,
    "s": 81.208,
    "l": 70.784
  },
  "oklch": {
    "l": 0.74881,
    "c": 0.19777,
    "h": 330.5
  },
  "luminance": 0.37903
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F178E7

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

Preview Lab → · Contrast checker → · Palette generator →

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