#FC8AFE#FC8AFE

#FC8AFE is a light, vivid purple. Relative luminance 0.460; OKLCH L 79.6% C 0.196 H 326.6°. Best body text is #000000 at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#FC8AFE
RGBrgb(252, 138, 254)
HSLhsl(299, 98%, 77%)
HSVhsv(299, 46%, 100%)
CMYKcmyk(0.8%, 45.7%, 0%, 0.4%)
CIE-LABlab(73.57, 59.20, -39.39)
CIE-LCHlch(73.57, 71.11, 326.36°)
OKLaboklab(79.65% 0.1637 -0.108)
OKLCHoklch(79.65% 0.196 326.6)
XYZxyz(67.1214, 46.0316, 99.0962)
Luminance0.4603 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FC8AFE #8CFE8A
analogous
#C28AFE #FC8AFE #FE8AC6
triadic
#FC8AFE #FEFC8A #8AFEFC
tetradic
#FC8AFE #FEC28A #8CFE8A #8AC6FE
square
#FC8AFE #FEC28A #8CFE8A #8AC6FE
split-complementary
#FC8AFE #C6FE8A #8AFEC2
monochromatic
#F911FD #FA4DFD #FC8AFE #FEC7FF #FEE1FF

Accessibility & contrast

On white

2.06
#FC8AFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.21
#FC8AFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FC8AFE
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FC8AFE#FFFFFF#000000##000000
##FC8AFE1.002.0610.2110.21
#FFFFFF2.061.0021.0021.00
#00000010.2121.001.001.00
##00000010.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FABFF
Deuteranopia (green-blind)
#A0BAFA
Tritanopia (blue-blind)
#FF96B8
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #fc8afe;
/* rgb */ color: rgb(252, 138, 254);
/* oklch */ color: oklch(79.6% 0.196 326.6);
Tailwind
colors: {
  custom: {
    50: '#ffafff',
    500: '#fc8afe',
    950: '#000000',
  },
}
SCSS
$custom: #fc8afe;
$custom-light: #ffafff;
$custom-dark: #000000;
JSON
{
  "hex": "#fc8afe",
  "rgb": {
    "r": 252,
    "g": 138,
    "b": 254
  },
  "hsl": {
    "h": 298.966,
    "s": 98.305,
    "l": 76.863
  },
  "oklch": {
    "l": 0.79646,
    "c": 0.19614,
    "h": 326.6
  },
  "luminance": 0.46028
}

Semantic roles & 50–950 ramp

primary
#FC8AFE
secondary
#D5F7D4
accent
#E60004
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#181118
muted
#868086

Preview Lab

Preview with #FC8AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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