#F54FEA#F54FEA

#F54FEA is a light, highly saturated purple. Relative luminance 0.309; OKLCH L 71.0% C 0.258 H 330.7°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#F54FEA
RGBrgb(245, 79, 234)
HSLhsl(304, 89%, 64%)
HSVhsv(304, 68%, 96%)
CMYKcmyk(0%, 67.8%, 4.5%, 3.9%)
CIE-LABlab(62.46, 79.21, -45.85)
CIE-LCHlch(62.46, 91.52, 329.94°)
OKLaboklab(71.03% 0.2252 -0.1262)
OKLCHoklch(71.03% 0.258 330.7)
XYZxyz(55.3033, 30.9492, 80.8870)
Luminance0.3095 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F54FEA #4FF55A
analogous
#AD4FF5 #F54FEA #F54F97
triadic
#F54FEA #EAF54F #4FEAF5
tetradic
#F54FEA #F5AD4F #4FF55A #4F97F5
square
#F54FEA #F5AD4F #4FF55A #4F97F5
split-complementary
#F54FEA #97F54F #4FF5AD
monochromatic
#BF0BB3 #F215E3 #F54FEA #F889F1 #FCC3F8

Accessibility & contrast

On white

2.92
#F54FEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#F54FEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F54FEA
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F54FEA#FFFFFF#000000##000000
##F54FEA1.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4188EE
Deuteranopia (green-blind)
#809FE6
Tritanopia (blue-blind)
#FE6297
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #f54fea;
/* rgb */ color: rgb(245, 79, 234);
/* oklch */ color: oklch(71.0% 0.258 330.7);
Tailwind
colors: {
  custom: {
    50: '#fc8df1',
    500: '#f54fea',
    950: '#000000',
  },
}
SCSS
$custom: #f54fea;
$custom-light: #fc8df1;
$custom-dark: #000000;
JSON
{
  "hex": "#f54fea",
  "rgb": {
    "r": 245,
    "g": 79,
    "b": 234
  },
  "hsl": {
    "h": 303.976,
    "s": 89.247,
    "l": 63.529
  },
  "oklch": {
    "l": 0.71028,
    "c": 0.2582,
    "h": 330.7
  },
  "luminance": 0.30945
}

Semantic roles & 50–950 ramp

primary
#F54FEA
secondary
#B2EDB6
accent
#E60F00
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180D17
muted
#867E85

Preview Lab

Preview with #F54FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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