#FF54E7#FF54E7

#FF54E7 is a light, highly saturated purple. Relative luminance 0.334; OKLCH L 72.7% C 0.256 H 334.0°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#FF54E7
RGBrgb(255, 84, 231)
HSLhsl(308, 100%, 66%)
HSVhsv(308, 67%, 100%)
CMYKcmyk(0%, 67.1%, 9.4%, 0%)
CIE-LABlab(64.46, 79.30, -40.93)
CIE-LCHlch(64.46, 89.24, 332.70°)
OKLaboklab(72.72% 0.2298 -0.1119)
OKLCHoklch(72.72% 0.256 334)
XYZxyz(58.8346, 33.3750, 78.9292)
Luminance0.3337 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF54E7 #54FF6C
analogous
#C254FF #FF54E7 #FF5492
triadic
#FF54E7 #E7FF54 #54E7FF
tetradic
#FF54E7 #FFC254 #54FF6C #5492FF
square
#FF54E7 #FFC254 #54FF6C #5492FF
split-complementary
#FF54E7 #92FF54 #54FFC2
monochromatic
#D900BA #FF17DE #FF54E7 #FF91F0 #FFCEF8

Accessibility & contrast

On white

2.74
#FF54E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#FF54E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF54E7
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF54E7#FFFFFF#000000##000000
##FF54E71.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#518CEB
Deuteranopia (green-blind)
#8CA5E3
Tritanopia (blue-blind)
#FF6297
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ff54e7;
/* rgb */ color: rgb(255, 84, 231);
/* oklch */ color: oklch(72.7% 0.256 334.0);
Tailwind
colors: {
  custom: {
    50: '#ff91ef',
    500: '#ff54e7',
    950: '#000000',
  },
}
SCSS
$custom: #ff54e7;
$custom-light: #ff91ef;
$custom-dark: #000000;
JSON
{
  "hex": "#ff54e7",
  "rgb": {
    "r": 255,
    "g": 84,
    "b": 231
  },
  "hsl": {
    "h": 308.421,
    "s": 100,
    "l": 66.471
  },
  "oklch": {
    "l": 0.72722,
    "c": 0.25564,
    "h": 334
  },
  "luminance": 0.3337
}

Semantic roles & 50–950 ramp

primary
#FF54E7
secondary
#BCF3C3
accent
#E62000
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#190E16
muted
#877E84

Preview Lab

Preview with #FF54E7

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

Preview Lab → · Contrast checker → · Palette generator →

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