#FC51E5#FC51E5

#FC51E5 is a light, highly saturated purple. Relative luminance 0.322; OKLCH L 71.9% C 0.256 H 333.8°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#FC51E5
RGBrgb(252, 81, 229)
HSLhsl(308, 97%, 65%)
HSVhsv(308, 68%, 99%)
CMYKcmyk(0%, 67.9%, 9.1%, 1.2%)
CIE-LABlab(63.54, 79.36, -41.29)
CIE-LCHlch(63.54, 89.46, 332.51°)
OKLaboklab(71.94% 0.2298 -0.113)
OKLCHoklch(71.94% 0.256 333.8)
XYZxyz(57.2306, 32.2422, 77.3227)
Luminance0.3224 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FC51E5 #51FC68
analogous
#BD51FC #FC51E5 #FC5190
triadic
#FC51E5 #E5FC51 #51E5FC
tetradic
#FC51E5 #FCBD51 #51FC68 #5190FC
square
#FC51E5 #FCBD51 #51FC68 #5190FC
split-complementary
#FC51E5 #90FC51 #51FCBD
monochromatic
#CF04B4 #FB15DC #FC51E5 #FD8DEE #FEC9F7

Accessibility & contrast

On white

2.82
#FC51E5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#FC51E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FC51E5
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FC51E5#FFFFFF#000000##000000
##FC51E51.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D8AE9
Deuteranopia (green-blind)
#89A3E1
Tritanopia (blue-blind)
#FF6095
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #fc51e5;
/* rgb */ color: rgb(252, 81, 229);
/* oklch */ color: oklch(71.9% 0.256 333.8);
Tailwind
colors: {
  custom: {
    50: '#ff8fed',
    500: '#fc51e5',
    950: '#000000',
  },
}
SCSS
$custom: #fc51e5;
$custom-light: #ff8fed;
$custom-dark: #000000;
JSON
{
  "hex": "#fc51e5",
  "rgb": {
    "r": 252,
    "g": 81,
    "b": 229
  },
  "hsl": {
    "h": 308.07,
    "s": 96.61,
    "l": 65.294
  },
  "oklch": {
    "l": 0.71937,
    "c": 0.25607,
    "h": 333.8
  },
  "luminance": 0.32237
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FC51E5

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

Preview Lab → · Contrast checker → · Palette generator →

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