#FC7AF6#FC7AF6

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

Color values

HEX#FC7AF6
RGBrgb(252, 122, 246)
HSLhsl(303, 96%, 73%)
HSVhsv(303, 52%, 99%)
CMYKcmyk(0%, 51.6%, 2.4%, 1.2%)
CIE-LABlab(70.37, 65.38, -40.02)
CIE-LCHlch(70.37, 76.65, 328.53°)
OKLaboklab(77.17% 0.1838 -0.1096)
OKLCHoklch(77.17% 0.214 329.2)
XYZxyz(63.7382, 41.2722, 91.7800)
Luminance0.4127 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FC7AF6 #7AFC80
analogous
#C17AFC #FC7AF6 #FC7AB5
triadic
#FC7AF6 #F6FC7A #7AF6FC
tetradic
#FC7AF6 #FCC17A #7AFC80 #7AB5FC
square
#FC7AF6 #FCC17A #7AFC80 #7AB5FC
split-complementary
#FC7AF6 #B5FC7A #7AFCC1
monochromatic
#F606EB #FB3EF2 #FC7AF6 #FDB6FA #FEE1FD

Accessibility & contrast

On white

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

On black

9.25
#FC7AF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FC7AF6
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FC7AF6#FFFFFF#000000##000000
##FC7AF61.002.279.259.25
#FFFFFF2.271.0021.0021.00
#0000009.2521.001.001.00
##0000009.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A1FA
Deuteranopia (green-blind)
#98B2F2
Tritanopia (blue-blind)
#FF87AD
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #fc7af6;
/* rgb */ color: rgb(252, 122, 246);
/* oklch */ color: oklch(77.2% 0.214 329.2);
Tailwind
colors: {
  custom: {
    50: '#ffa5f9',
    500: '#fc7af6',
    950: '#000000',
  },
}
SCSS
$custom: #fc7af6;
$custom-light: #ffa5f9;
$custom-dark: #000000;
JSON
{
  "hex": "#fc7af6",
  "rgb": {
    "r": 252,
    "g": 122,
    "b": 246
  },
  "hsl": {
    "h": 302.769,
    "s": 95.588,
    "l": 73.333
  },
  "oklch": {
    "l": 0.77167,
    "c": 0.21399,
    "h": 329.2
  },
  "luminance": 0.41268
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FC7AF6

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

Preview Lab → · Contrast checker → · Palette generator →

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