#FC51E8#FC51E8

#FC51E8 is a light, highly saturated purple. Relative luminance 0.324; OKLCH L 72.1% C 0.258 H 333.0°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#FC51E8
RGBrgb(252, 81, 232)
HSLhsl(307, 97%, 65%)
HSVhsv(307, 68%, 99%)
CMYKcmyk(0%, 67.9%, 7.9%, 1.2%)
CIE-LABlab(63.68, 79.80, -42.75)
CIE-LCHlch(63.68, 90.53, 331.82°)
OKLaboklab(72.08% 0.23 -0.1172)
OKLCHoklch(72.08% 0.258 333)
XYZxyz(57.6531, 32.4112, 79.5478)
Luminance0.3241 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FC51E8 #51FC65
analogous
#BB51FC #FC51E8 #FC5192
triadic
#FC51E8 #E8FC51 #51E8FC
tetradic
#FC51E8 #FCBB51 #51FC65 #5192FC
square
#FC51E8 #FCBB51 #51FC65 #5192FC
split-complementary
#FC51E8 #92FC51 #51FCBB
monochromatic
#CF04B7 #FB15E0 #FC51E8 #FD8DF0 #FEC9F8

Accessibility & contrast

On white

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

On black

7.48
#FC51E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FC51E8
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FC51E8#FFFFFF#000000##000000
##FC51E81.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B8BEC
Deuteranopia (green-blind)
#88A3E4
Tritanopia (blue-blind)
#FF6196
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #fc51e8;
/* rgb */ color: rgb(252, 81, 232);
/* oklch */ color: oklch(72.1% 0.258 333.0);
Tailwind
colors: {
  custom: {
    50: '#ff8ff0',
    500: '#fc51e8',
    950: '#000000',
  },
}
SCSS
$custom: #fc51e8;
$custom-light: #ff8ff0;
$custom-dark: #000000;
JSON
{
  "hex": "#fc51e8",
  "rgb": {
    "r": 252,
    "g": 81,
    "b": 232
  },
  "hsl": {
    "h": 307.018,
    "s": 96.61,
    "l": 65.294
  },
  "oklch": {
    "l": 0.72083,
    "c": 0.25816,
    "h": 333
  },
  "luminance": 0.32407
}

Semantic roles & 50–950 ramp

primary
#FC51E8
secondary
#B8F1BE
accent
#E61B00
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#190E16
muted
#877E84

Preview Lab

Preview with #FC51E8

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

Preview Lab → · Contrast checker → · Palette generator →

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