#F478E2#F478E2

#F478E2 is a light, vivid purple. Relative luminance 0.382; OKLCH L 75.0% C 0.196 H 333.1°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#F478E2
RGBrgb(244, 120, 226)
HSLhsl(309, 85%, 71%)
HSVhsv(309, 51%, 96%)
CMYKcmyk(0%, 50.8%, 7.4%, 4.3%)
CIE-LABlab(68.14, 60.83, -32.55)
CIE-LCHlch(68.14, 68.99, 331.85°)
OKLaboklab(75.03% 0.1745 -0.0885)
OKLCHoklch(75.03% 0.196 333.1)
XYZxyz(57.7521, 38.1608, 76.2607)
Luminance0.3816 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F478E2 #78F48A
analogous
#C878F4 #F478E2 #F478A4
triadic
#F478E2 #E2F478 #78E2F4
tetradic
#F478E2 #F4C878 #78F48A #78A4F4
square
#F478E2 #F4C878 #78F48A #78A4F4
split-complementary
#F478E2 #A4F478 #78F4C8
monochromatic
#DF12C2 #EF3FD6 #F478E2 #F9B1EE #FDE3F9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F478E2#FFFFFF#000000##000000
##F478E21.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)
#769BE6
Deuteranopia (green-blind)
#99ADDF
Tritanopia (blue-blind)
#FD80A3
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #f478e2;
/* rgb */ color: rgb(244, 120, 226);
/* oklch */ color: oklch(75.0% 0.196 333.1);
Tailwind
colors: {
  custom: {
    50: '#faa3eb',
    500: '#f478e2',
    950: '#000000',
  },
}
SCSS
$custom: #f478e2;
$custom-light: #faa3eb;
$custom-dark: #000000;
JSON
{
  "hex": "#f478e2",
  "rgb": {
    "r": 244,
    "g": 120,
    "b": 226
  },
  "hsl": {
    "h": 308.71,
    "s": 84.932,
    "l": 71.373
  },
  "oklch": {
    "l": 0.75033,
    "c": 0.19565,
    "h": 333.1
  },
  "luminance": 0.38157
}

Semantic roles & 50–950 ramp

primary
#F478E2
secondary
#D4F4D8
accent
#E12404
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F16
muted
#867F84

Preview Lab

Preview with #F478E2

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

Preview Lab → · Contrast checker → · Palette generator →

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