#F54FE8#F54FE8

#F54FE8 is a light, highly saturated purple. Relative luminance 0.308; OKLCH L 70.9% C 0.257 H 331.3°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#F54FE8
RGBrgb(245, 79, 232)
HSLhsl(305, 89%, 64%)
HSVhsv(305, 68%, 96%)
CMYKcmyk(0%, 67.8%, 5.3%, 3.9%)
CIE-LABlab(62.37, 78.91, -44.89)
CIE-LCHlch(62.37, 90.78, 330.37°)
OKLaboklab(70.93% 0.2251 -0.1234)
OKLCHoklch(70.93% 0.257 331.3)
XYZxyz(55.0176, 30.8349, 79.3823)
Luminance0.3083 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F54FE8 #4FF55C
analogous
#AF4FF5 #F54FE8 #F54F95
triadic
#F54FE8 #E8F54F #4FE8F5
tetradic
#F54FE8 #F5AF4F #4FF55C #4F95F5
square
#F54FE8 #F5AF4F #4FF55C #4F95F5
split-complementary
#F54FE8 #95F54F #4FF5AF
monochromatic
#BF0BB1 #F215E0 #F54FE8 #F889F0 #FCC3F7

Accessibility & contrast

On white

2.93
#F54FE8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#F54FE8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F54FE8
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F54FE8#FFFFFF#000000##000000
##F54FE81.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4388EC
Deuteranopia (green-blind)
#819FE4
Tritanopia (blue-blind)
#FF6196
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #f54fe8;
/* rgb */ color: rgb(245, 79, 232);
/* oklch */ color: oklch(70.9% 0.257 331.3);
Tailwind
colors: {
  custom: {
    50: '#fc8df0',
    500: '#f54fe8',
    950: '#000000',
  },
}
SCSS
$custom: #f54fe8;
$custom-light: #fc8df0;
$custom-dark: #000000;
JSON
{
  "hex": "#f54fe8",
  "rgb": {
    "r": 245,
    "g": 79,
    "b": 232
  },
  "hsl": {
    "h": 304.699,
    "s": 89.247,
    "l": 63.529
  },
  "oklch": {
    "l": 0.70927,
    "c": 0.25676,
    "h": 331.3
  },
  "luminance": 0.30831
}

Semantic roles & 50–950 ramp

primary
#F54FE8
secondary
#B2EDB7
accent
#E61200
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180D16
muted
#867E84

Preview Lab

Preview with #F54FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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