#FC7AFE#FC7AFE

#FC7AFE is a light, highly saturated purple. Relative luminance 0.418; OKLCH L 77.5% C 0.221 H 326.9°. Best body text is #000000 at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#FC7AFE
RGBrgb(252, 122, 254)
HSLhsl(299, 99%, 74%)
HSVhsv(299, 52%, 100%)
CMYKcmyk(0.8%, 52%, 0%, 0.4%)
CIE-LABlab(70.71, 66.73, -43.85)
CIE-LCHlch(70.71, 79.84, 326.69°)
OKLaboklab(77.54% 0.1848 -0.1206)
OKLCHoklch(77.54% 0.221 326.9)
XYZxyz(64.9926, 41.7740, 98.3866)
Luminance0.4177 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FC7AFE #7CFE7A
analogous
#BA7AFE #FC7AFE #FE7ABE
triadic
#FC7AFE #FEFC7A #7AFEFC
tetradic
#FC7AFE #FEBA7A #7CFE7A #7ABEFE
square
#FC7AFE #FEBA7A #7CFE7A #7ABEFE
split-complementary
#FC7AFE #BEFE7A #7AFEBA
monochromatic
#F802FC #FB3DFE #FC7AFE #FDB7FE #FEE1FF

Accessibility & contrast

On white

2.25
#FC7AFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.35
#FC7AFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FC7AFE
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FC7AFE#FFFFFF#000000##000000
##FC7AFE1.002.259.359.35
#FFFFFF2.251.0021.0021.00
#0000009.3521.001.001.00
##0000009.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6CA2FF
Deuteranopia (green-blind)
#95B3FA
Tritanopia (blue-blind)
#FF89B1
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #fc7afe;
/* rgb */ color: rgb(252, 122, 254);
/* oklch */ color: oklch(77.5% 0.221 326.9);
Tailwind
colors: {
  custom: {
    50: '#ffa6ff',
    500: '#fc7afe',
    950: '#000000',
  },
}
SCSS
$custom: #fc7afe;
$custom-light: #ffa6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#fc7afe",
  "rgb": {
    "r": 252,
    "g": 122,
    "b": 254
  },
  "hsl": {
    "h": 299.091,
    "s": 98.507,
    "l": 73.725
  },
  "oklch": {
    "l": 0.77538,
    "c": 0.22073,
    "h": 326.9
  },
  "luminance": 0.4177
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FC7AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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