#FC7AF8#FC7AF8

#FC7AF8 is a light, highly saturated purple. Relative luminance 0.414; OKLCH L 77.3% C 0.216 H 328.6°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#FC7AF8
RGBrgb(252, 122, 248)
HSLhsl(302, 96%, 73%)
HSVhsv(302, 52%, 99%)
CMYKcmyk(0%, 51.6%, 1.6%, 1.2%)
CIE-LABlab(70.45, 65.71, -40.98)
CIE-LCHlch(70.45, 77.44, 328.05°)
OKLaboklab(77.26% 0.184 -0.1124)
OKLCHoklch(77.26% 0.216 328.6)
XYZxyz(64.0469, 41.3956, 93.4054)
Luminance0.4139 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FC7AF8 #7AFC7E
analogous
#BF7AFC #FC7AF8 #FC7AB7
triadic
#FC7AF8 #F8FC7A #7AF8FC
tetradic
#FC7AF8 #FCBF7A #7AFC7E #7AB7FC
square
#FC7AF8 #FCBF7A #7AFC7E #7AB7FC
split-complementary
#FC7AF8 #B7FC7A #7AFCBF
monochromatic
#F606EF #FB3EF5 #FC7AF8 #FDB6FB #FEE1FD

Accessibility & contrast

On white

2.26
#FC7AF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.28
#FC7AF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FC7AF8
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FC7AF8#FFFFFF#000000##000000
##FC7AF81.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A1FC
Deuteranopia (green-blind)
#97B3F4
Tritanopia (blue-blind)
#FF87AE
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #fc7af8;
/* rgb */ color: rgb(252, 122, 248);
/* oklch */ color: oklch(77.3% 0.216 328.6);
Tailwind
colors: {
  custom: {
    50: '#ffa5fb',
    500: '#fc7af8',
    950: '#000000',
  },
}
SCSS
$custom: #fc7af8;
$custom-light: #ffa5fb;
$custom-dark: #000000;
JSON
{
  "hex": "#fc7af8",
  "rgb": {
    "r": 252,
    "g": 122,
    "b": 248
  },
  "hsl": {
    "h": 301.846,
    "s": 95.588,
    "l": 73.333
  },
  "oklch": {
    "l": 0.77259,
    "c": 0.21565,
    "h": 328.6
  },
  "luminance": 0.41392
}

Semantic roles & 50–950 ramp

primary
#FC7AF8
secondary
#D4F7D5
accent
#E60700
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181017
muted
#867F85

Preview Lab

Preview with #FC7AF8

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

Preview Lab → · Contrast checker → · Palette generator →

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