#F178F8#F178F8

#F178F8 is a light, highly saturated purple. Relative luminance 0.389; OKLCH L 75.7% C 0.212 H 325.3°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#F178F8
RGBrgb(241, 120, 248)
HSLhsl(297, 90%, 72%)
HSVhsv(297, 52%, 97%)
CMYKcmyk(2.8%, 51.6%, 0%, 2.7%)
CIE-LABlab(68.69, 63.72, -43.84)
CIE-LCHlch(68.69, 77.35, 325.47°)
OKLaboklab(75.67% 0.1747 -0.1208)
OKLCHoklch(75.67% 0.212 325.3)
XYZxyz(59.9340, 38.9142, 93.1430)
Luminance0.3891 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F178F8 #7FF878
analogous
#B178F8 #F178F8 #F878BF
triadic
#F178F8 #F8F178 #78F8F1
tetradic
#F178F8 #F8B178 #7FF878 #78BFF8
square
#F178F8 #F8B178 #7FF878 #78BFF8
split-complementary
#F178F8 #BFF878 #78F8B1
monochromatic
#DD0CE9 #EB3EF5 #F178F8 #F7B2FB #FCE2FD

Accessibility & contrast

On white

2.39
#F178F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.78
#F178F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F178F8
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F178F8#FFFFFF#000000##000000
##F178F81.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#689EFC
Deuteranopia (green-blind)
#8EADF4
Tritanopia (blue-blind)
#F688AD
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #f178f8;
/* rgb */ color: rgb(241, 120, 248);
/* oklch */ color: oklch(75.7% 0.212 325.3);
Tailwind
colors: {
  custom: {
    50: '#f8a4fb',
    500: '#f178f8',
    950: '#000000',
  },
}
SCSS
$custom: #f178f8;
$custom-light: #f8a4fb;
$custom-dark: #000000;
JSON
{
  "hex": "#f178f8",
  "rgb": {
    "r": 241,
    "g": 120,
    "b": 248
  },
  "hsl": {
    "h": 296.719,
    "s": 90.141,
    "l": 72.157
  },
  "oklch": {
    "l": 0.75666,
    "c": 0.21238,
    "h": 325.3
  },
  "luminance": 0.38911
}

Semantic roles & 50–950 ramp

primary
#F178F8
secondary
#D7F6D5
accent
#E6000D
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181017
muted
#867F85

Preview Lab

Preview with #F178F8

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

Preview Lab → · Contrast checker → · Palette generator →

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