#FC7AF0#FC7AF0

#FC7AF0 is a light, highly saturated purple. Relative luminance 0.409; OKLCH L 76.9% C 0.209 H 331.0°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#FC7AF0
RGBrgb(252, 122, 240)
HSLhsl(306, 96%, 73%)
HSVhsv(306, 52%, 99%)
CMYKcmyk(0%, 51.6%, 4.8%, 1.2%)
CIE-LABlab(70.11, 64.39, -37.12)
CIE-LCHlch(70.11, 74.32, 330.03°)
OKLaboklab(76.9% 0.1828 -0.1014)
OKLCHoklch(76.9% 0.209 331)
XYZxyz(62.8322, 40.9098, 87.0081)
Luminance0.4091 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FC7AF0 #7AFC86
analogous
#C77AFC #FC7AF0 #FC7AAF
triadic
#FC7AF0 #F0FC7A #7AF0FC
tetradic
#FC7AF0 #FCC77A #7AFC86 #7AAFFC
square
#FC7AF0 #FCC77A #7AFC86 #7AAFFC
split-complementary
#FC7AF0 #AFFC7A #7AFCC7
monochromatic
#F606E0 #FB3EE9 #FC7AF0 #FDB6F7 #FEE1FC

Accessibility & contrast

On white

2.29
#FC7AF0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.18
#FC7AF0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FC7AF0
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FC7AF0#FFFFFF#000000##000000
##FC7AF01.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A0F4
Deuteranopia (green-blind)
#9BB2EC
Tritanopia (blue-blind)
#FF85AA
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #fc7af0;
/* rgb */ color: rgb(252, 122, 240);
/* oklch */ color: oklch(76.9% 0.209 331.0);
Tailwind
colors: {
  custom: {
    50: '#ffa5f5',
    500: '#fc7af0',
    950: '#000000',
  },
}
SCSS
$custom: #fc7af0;
$custom-light: #ffa5f5;
$custom-dark: #000000;
JSON
{
  "hex": "#fc7af0",
  "rgb": {
    "r": 252,
    "g": 122,
    "b": 240
  },
  "hsl": {
    "h": 305.538,
    "s": 95.588,
    "l": 73.333
  },
  "oklch": {
    "l": 0.76897,
    "c": 0.20906,
    "h": 331
  },
  "luminance": 0.40906
}

Semantic roles & 50–950 ramp

primary
#FC7AF0
secondary
#D4F7D8
accent
#E61500
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181017
muted
#867F85

Preview Lab

Preview with #FC7AF0

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

Preview Lab → · Contrast checker → · Palette generator →

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