#FC9AFF#FC9AFF

#FC9AFF is a light, vivid purple. Relative luminance 0.510; OKLCH L 82.0% C 0.171 H 325.9°. Best body text is #000000 at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#FC9AFF
RGBrgb(252, 154, 255)
HSLhsl(298, 100%, 80%)
HSVhsv(298, 40%, 100%)
CMYKcmyk(1.2%, 39.6%, 0%, 0%)
CIE-LABlab(76.70, 51.44, -35.08)
CIE-LCHlch(76.70, 62.26, 325.71°)
OKLaboklab(82% 0.1417 -0.0958)
OKLCHoklch(82% 0.171 325.9)
XYZxyz(69.7490, 51.0297, 100.7641)
Luminance0.5103 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FC9AFF #9DFF9A
analogous
#CA9AFF #FC9AFF #FF9ACF
triadic
#FC9AFF #FFFC9A #9AFFFC
tetradic
#FC9AFF #FFCA9A #9DFF9A #9ACFFF
square
#FC9AFF #FFCA9A #9DFF9A #9ACFFF
split-complementary
#FC9AFF #CFFF9A #9AFFCA
monochromatic
#F820FF #FA5DFF #FC9AFF #FED7FF #FEE0FF

Accessibility & contrast

On white

1.87
#FC9AFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.21
#FC9AFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FC9AFF
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FC9AFF#FFFFFF#000000##000000
##FC9AFF1.001.8711.2111.21
#FFFFFF1.871.0021.0021.00
#00000011.2121.001.001.00
##00000011.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#91B5FF
Deuteranopia (green-blind)
#ABC2FC
Tritanopia (blue-blind)
#FFA4C1
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #fc9aff;
/* rgb */ color: rgb(252, 154, 255);
/* oklch */ color: oklch(82.0% 0.171 325.9);
Tailwind
colors: {
  custom: {
    50: '#ffbaff',
    500: '#fc9aff',
    950: '#000000',
  },
}
SCSS
$custom: #fc9aff;
$custom-light: #ffbaff;
$custom-dark: #000000;
JSON
{
  "hex": "#fc9aff",
  "rgb": {
    "r": 252,
    "g": 154,
    "b": 255
  },
  "hsl": {
    "h": 298.218,
    "s": 100,
    "l": 80.196
  },
  "oklch": {
    "l": 0.81996,
    "c": 0.17108,
    "h": 325.9
  },
  "luminance": 0.51027
}

Semantic roles & 50–950 ramp

primary
#FC9AFF
secondary
#5FE25B
accent
#E60007
background
#FFFDFF
surface
#FFF8FF
border
#D7D1D7
text
#181218
muted
#868286

Preview Lab

Preview with #FC9AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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