#FC5FE2#FC5FE2

#FC5FE2 is a light, highly saturated purple. Relative luminance 0.344; OKLCH L 73.1% C 0.237 H 334.9°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#FC5FE2
RGBrgb(252, 95, 226)
HSLhsl(310, 96%, 68%)
HSVhsv(310, 62%, 99%)
CMYKcmyk(0%, 62.3%, 10.3%, 1.2%)
CIE-LABlab(65.26, 73.76, -36.93)
CIE-LCHlch(65.26, 82.49, 333.40°)
OKLaboklab(73.14% 0.2143 -0.1006)
OKLCHoklch(73.14% 0.237 334.9)
XYZxyz(57.9650, 34.3755, 75.5190)
Luminance0.3437 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FC5FE2 #5FFC79
analogous
#C75FFC #FC5FE2 #FC5F94
triadic
#FC5FE2 #E2FC5F #5FE2FC
tetradic
#FC5FE2 #FCC75F #5FFC79 #5F94FC
square
#FC5FE2 #FCC75F #5FFC79 #5F94FC
split-complementary
#FC5FE2 #94FC5F #5FFCC7
monochromatic
#DC04B9 #FB23D7 #FC5FE2 #FD9BED #FED7F8

Accessibility & contrast

On white

2.67
#FC5FE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#FC5FE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FC5FE2
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FC5FE2#FFFFFF#000000##000000
##FC5FE21.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E90E6
Deuteranopia (green-blind)
#91A7DE
Tritanopia (blue-blind)
#FF6998
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #fc5fe2;
/* rgb */ color: rgb(252, 95, 226);
/* oklch */ color: oklch(73.1% 0.237 334.9);
Tailwind
colors: {
  custom: {
    50: '#ff96eb',
    500: '#fc5fe2',
    950: '#000000',
  },
}
SCSS
$custom: #fc5fe2;
$custom-light: #ff96eb;
$custom-dark: #000000;
JSON
{
  "hex": "#fc5fe2",
  "rgb": {
    "r": 252,
    "g": 95,
    "b": 226
  },
  "hsl": {
    "h": 309.936,
    "s": 96.319,
    "l": 68.039
  },
  "oklch": {
    "l": 0.73141,
    "c": 0.23675,
    "h": 334.9
  },
  "luminance": 0.34371
}

Semantic roles & 50–950 ramp

primary
#FC5FE2
secondary
#C3F3CB
accent
#E62600
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E16
muted
#867E84

Preview Lab

Preview with #FC5FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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