#F178EB#F178EB

#F178EB is a light, highly saturated purple. Relative luminance 0.381; OKLCH L 75.1% C 0.201 H 329.2°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#F178EB
RGBrgb(241, 120, 235)
HSLhsl(303, 81%, 71%)
HSVhsv(303, 50%, 95%)
CMYKcmyk(0%, 50.2%, 2.5%, 5.5%)
CIE-LABlab(68.12, 61.48, -37.58)
CIE-LCHlch(68.12, 72.06, 328.56°)
OKLaboklab(75.06% 0.1728 -0.1029)
OKLCHoklch(75.06% 0.201 329.2)
XYZxyz(57.9868, 38.1353, 82.8877)
Luminance0.3813 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F178EB #78F17E
analogous
#BA78F1 #F178EB #F178AE
triadic
#F178EB #EBF178 #78EBF1
tetradic
#F178EB #F1BA78 #78F17E #78AEF1
square
#F178EB #F1BA78 #78F17E #78AEF1
split-complementary
#F178EB #AEF178 #78F1BA
monochromatic
#D816CF #EB41E3 #F178EB #F7AFF3 #FCE3FB

Accessibility & contrast

On white

2.43
#F178EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.63
#F178EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F178EB
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F178EB#FFFFFF#000000##000000
##F178EB1.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#709CEF
Deuteranopia (green-blind)
#94ACE7
Tritanopia (blue-blind)
#F883A7
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #f178eb;
/* rgb */ color: rgb(241, 120, 235);
/* oklch */ color: oklch(75.1% 0.201 329.2);
Tailwind
colors: {
  custom: {
    50: '#f8a3f2',
    500: '#f178eb',
    950: '#000000',
  },
}
SCSS
$custom: #f178eb;
$custom-light: #f8a3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#f178eb",
  "rgb": {
    "r": 241,
    "g": 120,
    "b": 235
  },
  "hsl": {
    "h": 302.975,
    "s": 81.208,
    "l": 70.784
  },
  "oklch": {
    "l": 0.7506,
    "c": 0.20112,
    "h": 329.2
  },
  "luminance": 0.38132
}

Semantic roles & 50–950 ramp

primary
#F178EB
secondary
#D2F3D4
accent
#DE1308
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F17
muted
#867F85

Preview Lab

Preview with #F178EB

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

Preview Lab → · Contrast checker → · Palette generator →

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