#FC8AFA#FC8AFA

#FC8AFA is a light, vivid purple. Relative luminance 0.458; OKLCH L 79.5% C 0.193 H 327.8°. Best body text is #000000 at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#FC8AFA
RGBrgb(252, 138, 250)
HSLhsl(301, 95%, 76%)
HSVhsv(301, 45%, 99%)
CMYKcmyk(0%, 45.2%, 0.8%, 1.2%)
CIE-LABlab(73.40, 58.50, -37.48)
CIE-LCHlch(73.40, 69.48, 327.36°)
OKLaboklab(79.47% 0.163 -0.1025)
OKLCHoklch(79.47% 0.193 327.8)
XYZxyz(66.4876, 45.7780, 95.7579)
Luminance0.4577 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FC8AFA #8AFC8C
analogous
#C58AFC #FC8AFA #FC8AC1
triadic
#FC8AFA #FAFC8A #8AFAFC
tetradic
#FC8AFA #FCC58A #8AFC8C #8AC1FC
square
#FC8AFA #FCC58A #8AFC8C #8AC1FC
split-complementary
#FC8AFA #C1FC8A #8AFCC5
monochromatic
#F913F5 #FA4EF7 #FC8AFA #FEC6FD #FEE1FE

Accessibility & contrast

On white

2.07
#FC8AFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.15
#FC8AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FC8AFA
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FC8AFA#FFFFFF#000000##000000
##FC8AFA1.002.0710.1510.15
#FFFFFF2.071.0021.0021.00
#00000010.1521.001.001.00
##00000010.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#81ABFE
Deuteranopia (green-blind)
#A1BAF6
Tritanopia (blue-blind)
#FF95B7
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #fc8afa;
/* rgb */ color: rgb(252, 138, 250);
/* oklch */ color: oklch(79.5% 0.193 327.8);
Tailwind
colors: {
  custom: {
    50: '#ffaffc',
    500: '#fc8afa',
    950: '#000000',
  },
}
SCSS
$custom: #fc8afa;
$custom-light: #ffaffc;
$custom-dark: #000000;
JSON
{
  "hex": "#fc8afa",
  "rgb": {
    "r": 252,
    "g": 138,
    "b": 250
  },
  "hsl": {
    "h": 301.053,
    "s": 95,
    "l": 76.471
  },
  "oklch": {
    "l": 0.79469,
    "c": 0.19258,
    "h": 327.8
  },
  "luminance": 0.45775
}

Semantic roles & 50–950 ramp

primary
#FC8AFA
secondary
#D5F6D5
accent
#E60400
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#181117
muted
#868085

Preview Lab

Preview with #FC8AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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