#FC51E7#FC51E7

#FC51E7 is a light, highly saturated purple. Relative luminance 0.324; OKLCH L 72.0% C 0.257 H 333.3°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#FC51E7
RGBrgb(252, 81, 231)
HSLhsl(307, 97%, 65%)
HSVhsv(307, 68%, 99%)
CMYKcmyk(0%, 67.9%, 8.3%, 1.2%)
CIE-LABlab(63.63, 79.65, -42.26)
CIE-LCHlch(63.63, 90.17, 332.05°)
OKLaboklab(72.03% 0.23 -0.1158)
OKLCHoklch(72.03% 0.257 333.3)
XYZxyz(57.5114, 32.3545, 78.8019)
Luminance0.3235 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FC51E7 #51FC66
analogous
#BB51FC #FC51E7 #FC5192
triadic
#FC51E7 #E7FC51 #51E7FC
tetradic
#FC51E7 #FCBB51 #51FC66 #5192FC
square
#FC51E7 #FCBB51 #51FC66 #5192FC
split-complementary
#FC51E7 #92FC51 #51FCBB
monochromatic
#CF04B6 #FB15DF #FC51E7 #FD8DEF #FEC9F8

Accessibility & contrast

On white

2.81
#FC51E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#FC51E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FC51E7
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FC51E7#FFFFFF#000000##000000
##FC51E71.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B8AEB
Deuteranopia (green-blind)
#88A3E3
Tritanopia (blue-blind)
#FF6096
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #fc51e7;
/* rgb */ color: rgb(252, 81, 231);
/* oklch */ color: oklch(72.0% 0.257 333.3);
Tailwind
colors: {
  custom: {
    50: '#ff8fef',
    500: '#fc51e7',
    950: '#000000',
  },
}
SCSS
$custom: #fc51e7;
$custom-light: #ff8fef;
$custom-dark: #000000;
JSON
{
  "hex": "#fc51e7",
  "rgb": {
    "r": 252,
    "g": 81,
    "b": 231
  },
  "hsl": {
    "h": 307.368,
    "s": 96.61,
    "l": 65.294
  },
  "oklch": {
    "l": 0.72034,
    "c": 0.25746,
    "h": 333.3
  },
  "luminance": 0.3235
}

Semantic roles & 50–950 ramp

primary
#FC51E7
secondary
#B8F1BF
accent
#E61C00
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#190E16
muted
#877E84

Preview Lab

Preview with #FC51E7

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

Preview Lab → · Contrast checker → · Palette generator →

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