#F478EC#F478EC

#F478EC is a light, highly saturated purple. Relative luminance 0.387; OKLCH L 75.5% C 0.204 H 329.8°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#F478EC
RGBrgb(244, 120, 236)
HSLhsl(304, 85%, 71%)
HSVhsv(304, 51%, 96%)
CMYKcmyk(0%, 50.8%, 3.3%, 4.3%)
CIE-LABlab(68.55, 62.47, -37.43)
CIE-LCHlch(68.55, 72.82, 329.07°)
OKLaboklab(75.47% 0.1762 -0.1024)
OKLCHoklch(75.47% 0.204 329.8)
XYZxyz(59.1644, 38.7258, 83.6992)
Luminance0.3872 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F478EC #78F480
analogous
#BE78F4 #F478EC #F478AE
triadic
#F478EC #ECF478 #78ECF4
tetradic
#F478EC #F4BE78 #78F480 #78AEF4
square
#F478EC #F4BE78 #78F480 #78AEF4
split-complementary
#F478EC #AEF478 #78F4BE
monochromatic
#DF12D2 #EF3FE4 #F478EC #F9B1F4 #FDE3FB

Accessibility & contrast

On white

2.40
#F478EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.74
#F478EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F478EC
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F478EC#FFFFFF#000000##000000
##F478EC1.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#719CF0
Deuteranopia (green-blind)
#95ADE8
Tritanopia (blue-blind)
#FC83A8
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #f478ec;
/* rgb */ color: rgb(244, 120, 236);
/* oklch */ color: oklch(75.5% 0.204 329.8);
Tailwind
colors: {
  custom: {
    50: '#faa4f2',
    500: '#f478ec',
    950: '#000000',
  },
}
SCSS
$custom: #f478ec;
$custom-light: #faa4f2;
$custom-dark: #000000;
JSON
{
  "hex": "#f478ec",
  "rgb": {
    "r": 244,
    "g": 120,
    "b": 236
  },
  "hsl": {
    "h": 303.871,
    "s": 84.932,
    "l": 71.373
  },
  "oklch": {
    "l": 0.75474,
    "c": 0.20382,
    "h": 329.8
  },
  "luminance": 0.38722
}

Semantic roles & 50–950 ramp

primary
#F478EC
secondary
#D4F4D6
accent
#E11204
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F17
muted
#867F85

Preview Lab

Preview with #F478EC

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

Preview Lab → · Contrast checker → · Palette generator →

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