#F178F2#F178F2

#F178F2 is a light, highly saturated purple. Relative luminance 0.385; OKLCH L 75.4% C 0.207 H 327.1°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#F178F2
RGBrgb(241, 120, 242)
HSLhsl(300, 82%, 71%)
HSVhsv(300, 50%, 95%)
CMYKcmyk(0.4%, 50.4%, 0%, 5.1%)
CIE-LABlab(68.42, 62.68, -40.97)
CIE-LCHlch(68.42, 74.88, 326.83°)
OKLaboklab(75.38% 0.1739 -0.1126)
OKLCHoklch(75.38% 0.207 327.1)
XYZxyz(59.0181, 38.5478, 88.3190)
Luminance0.3855 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F178F2 #79F278
analogous
#B478F2 #F178F2 #F278B6
triadic
#F178F2 #F2F178 #78F2F1
tetradic
#F178F2 #F2B478 #79F278 #78B6F2
square
#F178F2 #F2B478 #79F278 #78B6F2
split-complementary
#F178F2 #B6F278 #78F2B4
monochromatic
#D915DB #EB40ED #F178F2 #F7B0F7 #FCE3FC

Accessibility & contrast

On white

2.41
#F178F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#F178F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F178F2
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F178F2#FFFFFF#000000##000000
##F178F21.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9DF6
Deuteranopia (green-blind)
#91ACEE
Tritanopia (blue-blind)
#F786AA
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #f178f2;
/* rgb */ color: rgb(241, 120, 242);
/* oklch */ color: oklch(75.4% 0.207 327.1);
Tailwind
colors: {
  custom: {
    50: '#f8a4f6',
    500: '#f178f2',
    950: '#000000',
  },
}
SCSS
$custom: #f178f2;
$custom-light: #f8a4f6;
$custom-dark: #000000;
JSON
{
  "hex": "#f178f2",
  "rgb": {
    "r": 241,
    "g": 120,
    "b": 242
  },
  "hsl": {
    "h": 299.508,
    "s": 82.432,
    "l": 70.98
  },
  "oklch": {
    "l": 0.75382,
    "c": 0.20712,
    "h": 327.1
  },
  "luminance": 0.38545
}

Semantic roles & 50–950 ramp

primary
#F178F2
secondary
#D3F3D3
accent
#DF0708
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#180F17
muted
#867F85

Preview Lab

Preview with #F178F2

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

Preview Lab → · Contrast checker → · Palette generator →

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