#FC7CFE#FC7CFE

#FC7CFE is a light, highly saturated purple. Relative luminance 0.423; OKLCH L 77.8% C 0.218 H 326.8°. Best body text is #000000 at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#FC7CFE
RGBrgb(252, 124, 254)
HSLhsl(299, 98%, 74%)
HSVhsv(299, 51%, 100%)
CMYKcmyk(0.8%, 51.2%, 0%, 0.4%)
CIE-LABlab(71.06, 65.81, -43.31)
CIE-LCHlch(71.06, 78.79, 326.65°)
OKLaboklab(77.79% 0.1823 -0.1191)
OKLCHoklch(77.79% 0.218 326.8)
XYZxyz(65.2407, 42.2702, 98.4693)
Luminance0.4227 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FC7CFE #7EFE7C
analogous
#BB7CFE #FC7CFE #FE7CBF
triadic
#FC7CFE #FEFC7C #7CFEFC
tetradic
#FC7CFE #FEBB7C #7EFE7C #7CBFFE
square
#FC7CFE #FEBB7C #7EFE7C #7CBFFE
split-complementary
#FC7CFE #BFFE7C #7CFEBB
monochromatic
#F903FD #FB3FFE #FC7CFE #FDB9FE #FEE1FF

Accessibility & contrast

On white

2.22
#FC7CFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.45
#FC7CFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FC7CFE
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FC7CFE#FFFFFF#000000##000000
##FC7CFE1.002.229.459.45
#FFFFFF2.221.0021.0021.00
#0000009.4521.001.001.00
##0000009.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA3FF
Deuteranopia (green-blind)
#96B4FA
Tritanopia (blue-blind)
#FF8BB2
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #fc7cfe;
/* rgb */ color: rgb(252, 124, 254);
/* oklch */ color: oklch(77.8% 0.218 326.8);
Tailwind
colors: {
  custom: {
    50: '#ffa7ff',
    500: '#fc7cfe',
    950: '#000000',
  },
}
SCSS
$custom: #fc7cfe;
$custom-light: #ffa7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#fc7cfe",
  "rgb": {
    "r": 252,
    "g": 124,
    "b": 254
  },
  "hsl": {
    "h": 299.077,
    "s": 98.485,
    "l": 74.118
  },
  "oklch": {
    "l": 0.7779,
    "c": 0.21775,
    "h": 326.8
  },
  "luminance": 0.42267
}

Semantic roles & 50–950 ramp

primary
#FC7CFE
secondary
#D4F7D4
accent
#E60004
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181018
muted
#867F86

Preview Lab

Preview with #FC7CFE

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

Preview Lab → · Contrast checker → · Palette generator →

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