#FC51E3#FC51E3

#FC51E3 is a light, highly saturated purple. Relative luminance 0.321; OKLCH L 71.8% C 0.255 H 334.4°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#FC51E3
RGBrgb(252, 81, 227)
HSLhsl(309, 97%, 65%)
HSVhsv(309, 68%, 99%)
CMYKcmyk(0%, 67.9%, 9.9%, 1.2%)
CIE-LABlab(63.45, 79.07, -40.32)
CIE-LCHlch(63.45, 88.75, 332.98°)
OKLaboklab(71.84% 0.2296 -0.1102)
OKLCHoklch(71.84% 0.255 334.4)
XYZxyz(56.9529, 32.1311, 75.8605)
Luminance0.3213 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FC51E3 #51FC6A
analogous
#BF51FC #FC51E3 #FC518D
triadic
#FC51E3 #E3FC51 #51E3FC
tetradic
#FC51E3 #FCBF51 #51FC6A #518DFC
square
#FC51E3 #FCBF51 #51FC6A #518DFC
split-complementary
#FC51E3 #8DFC51 #51FCBF
monochromatic
#CF04B1 #FB15D9 #FC51E3 #FD8DED #FEC9F6

Accessibility & contrast

On white

2.83
#FC51E3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#FC51E3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FC51E3
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FC51E3#FFFFFF#000000##000000
##FC51E31.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F8AE7
Deuteranopia (green-blind)
#8AA3DF
Tritanopia (blue-blind)
#FF5F94
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #fc51e3;
/* rgb */ color: rgb(252, 81, 227);
/* oklch */ color: oklch(71.8% 0.255 334.4);
Tailwind
colors: {
  custom: {
    50: '#ff8fec',
    500: '#fc51e3',
    950: '#000000',
  },
}
SCSS
$custom: #fc51e3;
$custom-light: #ff8fec;
$custom-dark: #000000;
JSON
{
  "hex": "#fc51e3",
  "rgb": {
    "r": 252,
    "g": 81,
    "b": 227
  },
  "hsl": {
    "h": 308.772,
    "s": 96.61,
    "l": 65.294
  },
  "oklch": {
    "l": 0.71841,
    "c": 0.25469,
    "h": 334.4
  },
  "luminance": 0.32126
}

Semantic roles & 50–950 ramp

primary
#FC51E3
secondary
#B8F1C0
accent
#E62200
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#190E16
muted
#877E84

Preview Lab

Preview with #FC51E3

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

Preview Lab → · Contrast checker → · Palette generator →

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