#FC7AFA#FC7AFA

#FC7AFA is a light, highly saturated purple. Relative luminance 0.415; OKLCH L 77.4% C 0.217 H 328.0°. Best body text is #000000 at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#FC7AFA
RGBrgb(252, 122, 250)
HSLhsl(301, 96%, 73%)
HSVhsv(301, 52%, 99%)
CMYKcmyk(0%, 51.6%, 0.8%, 1.2%)
CIE-LABlab(70.54, 66.05, -41.94)
CIE-LCHlch(70.54, 78.24, 327.59°)
OKLaboklab(77.35% 0.1843 -0.1151)
OKLCHoklch(77.35% 0.217 328)
XYZxyz(64.3588, 41.5204, 95.0483)
Luminance0.4152 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FC7AFA #7AFC7C
analogous
#BD7AFC #FC7AFA #FC7AB9
triadic
#FC7AFA #FAFC7A #7AFAFC
tetradic
#FC7AFA #FCBD7A #7AFC7C #7AB9FC
square
#FC7AFA #FCBD7A #7AFC7C #7AB9FC
split-complementary
#FC7AFA #B9FC7A #7AFCBD
monochromatic
#F606F2 #FB3EF8 #FC7AFA #FDB6FC #FEE1FE

Accessibility & contrast

On white

2.26
#FC7AFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.30
#FC7AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FC7AFA
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FC7AFA#FFFFFF#000000##000000
##FC7AFA1.002.269.309.30
#FFFFFF2.261.0021.0021.00
#0000009.3021.001.001.00
##0000009.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA2FE
Deuteranopia (green-blind)
#96B3F6
Tritanopia (blue-blind)
#FF88AF
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #fc7afa;
/* rgb */ color: rgb(252, 122, 250);
/* oklch */ color: oklch(77.4% 0.217 328.0);
Tailwind
colors: {
  custom: {
    50: '#ffa6fc',
    500: '#fc7afa',
    950: '#000000',
  },
}
SCSS
$custom: #fc7afa;
$custom-light: #ffa6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#fc7afa",
  "rgb": {
    "r": 252,
    "g": 122,
    "b": 250
  },
  "hsl": {
    "h": 300.923,
    "s": 95.588,
    "l": 73.333
  },
  "oklch": {
    "l": 0.77351,
    "c": 0.21733,
    "h": 328
  },
  "luminance": 0.41517
}

Semantic roles & 50–950 ramp

primary
#FC7AFA
secondary
#D4F7D5
accent
#E60400
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181017
muted
#867F85

Preview Lab

Preview with #FC7AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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