#F54EF5#F54EF5

#F54EF5 is a light, highly saturated purple. Relative luminance 0.315; OKLCH L 71.5% C 0.267 H 327.9°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#F54EF5
RGBrgb(245, 78, 245)
HSLhsl(300, 89%, 63%)
HSVhsv(300, 68%, 96%)
CMYKcmyk(0%, 68.2%, 0%, 3.9%)
CIE-LABlab(62.89, 81.25, -51.29)
CIE-LCHlch(62.89, 96.09, 327.74°)
OKLaboklab(71.51% 0.2266 -0.142)
OKLCHoklch(71.51% 0.267 327.9)
XYZxyz(56.8613, 31.4578, 89.4456)
Luminance0.3145 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F54EF5 #4EF54E
analogous
#A14EF5 #F54EF5 #F54EA1
triadic
#F54EF5 #F5F54E #4EF5F5
tetradic
#F54EF5 #F5A14E #4EF54E #4EA1F5
square
#F54EF5 #F5A14E #4EF54E #4EA1F5
split-complementary
#F54EF5 #A1F54E #4EF5A1
monochromatic
#BE0BBE #F214F2 #F54EF5 #F888F8 #FCC2FC

Accessibility & contrast

On white

2.88
#F54EF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#F54EF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F54EF5
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F54EF5#FFFFFF#000000##000000
##F54EF51.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#328AFA
Deuteranopia (green-blind)
#79A0F1
Tritanopia (blue-blind)
#FC669C
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #f54ef5;
/* rgb */ color: rgb(245, 78, 245);
/* oklch */ color: oklch(71.5% 0.267 327.9);
Tailwind
colors: {
  custom: {
    50: '#fd8df9',
    500: '#f54ef5',
    950: '#000000',
  },
}
SCSS
$custom: #f54ef5;
$custom-light: #fd8df9;
$custom-dark: #000000;
JSON
{
  "hex": "#f54ef5",
  "rgb": {
    "r": 245,
    "g": 78,
    "b": 245
  },
  "hsl": {
    "h": 300,
    "s": 89.305,
    "l": 63.333
  },
  "oklch": {
    "l": 0.71513,
    "c": 0.2674,
    "h": 327.9
  },
  "luminance": 0.31454
}

Semantic roles & 50–950 ramp

primary
#F54EF5
secondary
#B2EDB2
accent
#E60000
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180D17
muted
#867E85

Preview Lab

Preview with #F54EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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