#FC7AF7#FC7AF7

#FC7AF7 is a light, highly saturated purple. Relative luminance 0.413; OKLCH L 77.2% C 0.215 H 328.9°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#FC7AF7
RGBrgb(252, 122, 247)
HSLhsl(302, 96%, 73%)
HSVhsv(302, 52%, 99%)
CMYKcmyk(0%, 51.6%, 2%, 1.2%)
CIE-LABlab(70.41, 65.55, -40.50)
CIE-LCHlch(70.41, 77.05, 328.29°)
OKLaboklab(77.21% 0.1839 -0.111)
OKLCHoklch(77.21% 0.215 328.9)
XYZxyz(63.8921, 41.3338, 92.5906)
Luminance0.4133 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FC7AF7 #7AFC7F
analogous
#C07AFC #FC7AF7 #FC7AB6
triadic
#FC7AF7 #F7FC7A #7AF7FC
tetradic
#FC7AF7 #FCC07A #7AFC7F #7AB6FC
square
#FC7AF7 #FCC07A #7AFC7F #7AB6FC
split-complementary
#FC7AF7 #B6FC7A #7AFCC0
monochromatic
#F606ED #FB3EF3 #FC7AF7 #FDB6FB #FEE1FD

Accessibility & contrast

On white

2.27
#FC7AF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.27
#FC7AF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FC7AF7
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FC7AF7#FFFFFF#000000##000000
##FC7AF71.002.279.279.27
#FFFFFF2.271.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A1FB
Deuteranopia (green-blind)
#98B2F3
Tritanopia (blue-blind)
#FF87AE
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #fc7af7;
/* rgb */ color: rgb(252, 122, 247);
/* oklch */ color: oklch(77.2% 0.215 328.9);
Tailwind
colors: {
  custom: {
    50: '#ffa5fa',
    500: '#fc7af7',
    950: '#000000',
  },
}
SCSS
$custom: #fc7af7;
$custom-light: #ffa5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#fc7af7",
  "rgb": {
    "r": 252,
    "g": 122,
    "b": 247
  },
  "hsl": {
    "h": 302.308,
    "s": 95.588,
    "l": 73.333
  },
  "oklch": {
    "l": 0.77213,
    "c": 0.21482,
    "h": 328.9
  },
  "luminance": 0.4133
}

Semantic roles & 50–950 ramp

primary
#FC7AF7
secondary
#D4F7D6
accent
#E60900
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181017
muted
#867F85

Preview Lab

Preview with #FC7AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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