#F178DD#F178DD

#F178DD is a light, vivid purple. Relative luminance 0.374; OKLCH L 74.4% C 0.190 H 333.9°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#F178DD
RGBrgb(241, 120, 221)
HSLhsl(310, 81%, 71%)
HSVhsv(310, 50%, 95%)
CMYKcmyk(0%, 50.2%, 8.3%, 5.5%)
CIE-LABlab(67.54, 59.17, -30.72)
CIE-LCHlch(67.54, 66.67, 332.56°)
OKLaboklab(74.45% 0.1703 -0.0834)
OKLCHoklch(74.45% 0.19 333.9)
XYZxyz(56.0432, 37.3579, 72.6516)
Luminance0.3735 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F178DD #78F18C
analogous
#C878F1 #F178DD #F178A0
triadic
#F178DD #DDF178 #78DDF1
tetradic
#F178DD #F1C878 #78F18C #78A0F1
square
#F178DD #F1C878 #78F18C #78A0F1
split-complementary
#F178DD #A0F178 #78F1C8
monochromatic
#D816B8 #EB41CF #F178DD #F7AFEB #FCE3F8

Accessibility & contrast

On white

2.48
#F178DD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.47
#F178DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F178DD
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F178DD#FFFFFF#000000##000000
##F178DD1.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7799E0
Deuteranopia (green-blind)
#99ABDA
Tritanopia (blue-blind)
#FB7FA0
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #f178dd;
/* rgb */ color: rgb(241, 120, 221);
/* oklch */ color: oklch(74.4% 0.190 333.9);
Tailwind
colors: {
  custom: {
    50: '#f8a3e8',
    500: '#f178dd',
    950: '#000000',
  },
}
SCSS
$custom: #f178dd;
$custom-light: #f8a3e8;
$custom-dark: #000000;
JSON
{
  "hex": "#f178dd",
  "rgb": {
    "r": 241,
    "g": 120,
    "b": 221
  },
  "hsl": {
    "h": 309.917,
    "s": 81.208,
    "l": 70.784
  },
  "oklch": {
    "l": 0.74446,
    "c": 0.18964,
    "h": 333.9
  },
  "luminance": 0.37354
}

Semantic roles & 50–950 ramp

primary
#F178DD
secondary
#D2F3D8
accent
#DE2B08
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#180F16
muted
#867F84

Preview Lab

Preview with #F178DD

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

Preview Lab → · Contrast checker → · Palette generator →

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