#FC7AF2#FC7AF2

#FC7AF2 is a light, highly saturated purple. Relative luminance 0.410; OKLCH L 77.0% C 0.211 H 330.4°. Best body text is #000000 at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#FC7AF2
RGBrgb(252, 122, 242)
HSLhsl(305, 96%, 73%)
HSVhsv(305, 52%, 99%)
CMYKcmyk(0%, 51.6%, 4%, 1.2%)
CIE-LABlab(70.20, 64.72, -38.09)
CIE-LCHlch(70.20, 75.09, 329.52°)
OKLaboklab(76.99% 0.1832 -0.1041)
OKLCHoklch(76.99% 0.211 330.4)
XYZxyz(63.1309, 41.0293, 88.5814)
Luminance0.4103 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FC7AF2 #7AFC84
analogous
#C57AFC #FC7AF2 #FC7AB1
triadic
#FC7AF2 #F2FC7A #7AF2FC
tetradic
#FC7AF2 #FCC57A #7AFC84 #7AB1FC
square
#FC7AF2 #FCC57A #7AFC84 #7AB1FC
split-complementary
#FC7AF2 #B1FC7A #7AFCC5
monochromatic
#F606E4 #FB3EEC #FC7AF2 #FDB6F8 #FEE1FC

Accessibility & contrast

On white

2.28
#FC7AF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.21
#FC7AF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FC7AF2
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FC7AF2#FFFFFF#000000##000000
##FC7AF21.002.289.219.21
#FFFFFF2.281.0021.0021.00
#0000009.2121.001.001.00
##0000009.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A0F6
Deuteranopia (green-blind)
#9AB2EE
Tritanopia (blue-blind)
#FF85AB
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #fc7af2;
/* rgb */ color: rgb(252, 122, 242);
/* oklch */ color: oklch(77.0% 0.211 330.4);
Tailwind
colors: {
  custom: {
    50: '#ffa5f6',
    500: '#fc7af2',
    950: '#000000',
  },
}
SCSS
$custom: #fc7af2;
$custom-light: #ffa5f6;
$custom-dark: #000000;
JSON
{
  "hex": "#fc7af2",
  "rgb": {
    "r": 252,
    "g": 122,
    "b": 242
  },
  "hsl": {
    "h": 304.615,
    "s": 95.588,
    "l": 73.333
  },
  "oklch": {
    "l": 0.76987,
    "c": 0.21069,
    "h": 330.4
  },
  "luminance": 0.41025
}

Semantic roles & 50–950 ramp

primary
#FC7AF2
secondary
#D4F7D7
accent
#E61200
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#181017
muted
#867F85

Preview Lab

Preview with #FC7AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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