#FC7AFF#FC7AFF

#FC7AFF is a light, highly saturated purple. Relative luminance 0.418; OKLCH L 77.6% C 0.222 H 326.6°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#FC7AFF
RGBrgb(252, 122, 255)
HSLhsl(299, 100%, 74%)
HSVhsv(299, 52%, 100%)
CMYKcmyk(1.2%, 52.2%, 0%, 0%)
CIE-LABlab(70.76, 66.90, -44.32)
CIE-LCHlch(70.76, 80.25, 326.47°)
OKLaboklab(77.59% 0.185 -0.122)
OKLCHoklch(77.59% 0.222 326.6)
XYZxyz(65.1532, 41.8382, 99.2321)
Luminance0.4183 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FC7AFF #7DFF7A
analogous
#BA7AFF #FC7AFF #FF7AC0
triadic
#FC7AFF #FFFC7A #7AFFFC
tetradic
#FC7AFF #FFBA7A #7DFF7A #7AC0FF
square
#FC7AFF #FFBA7A #7DFF7A #7AC0FF
split-complementary
#FC7AFF #C0FF7A #7AFFBA
monochromatic
#F900FF #FB3DFF #FC7AFF #FDB7FF #FEE0FF

Accessibility & contrast

On white

2.24
#FC7AFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.37
#FC7AFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FC7AFF
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FC7AFF#FFFFFF#000000##000000
##FC7AFF1.002.249.379.37
#FFFFFF2.241.0021.0021.00
#0000009.3721.001.001.00
##0000009.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6BA2FF
Deuteranopia (green-blind)
#94B3FB
Tritanopia (blue-blind)
#FF8AB2
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #fc7aff;
/* rgb */ color: rgb(252, 122, 255);
/* oklch */ color: oklch(77.6% 0.222 326.6);
Tailwind
colors: {
  custom: {
    50: '#ffa6ff',
    500: '#fc7aff',
    950: '#000000',
  },
}
SCSS
$custom: #fc7aff;
$custom-light: #ffa6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#fc7aff",
  "rgb": {
    "r": 252,
    "g": 122,
    "b": 255
  },
  "hsl": {
    "h": 298.647,
    "s": 100,
    "l": 73.922
  },
  "oklch": {
    "l": 0.77585,
    "c": 0.22159,
    "h": 326.6
  },
  "luminance": 0.41835
}

Semantic roles & 50–950 ramp

primary
#FC7AFF
secondary
#D4F7D4
accent
#E60005
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181018
muted
#867F86

Preview Lab

Preview with #FC7AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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