#FC7AFD#FC7AFD

#FC7AFD is a light, highly saturated purple. Relative luminance 0.417; OKLCH L 77.5% C 0.220 H 327.2°. Best body text is #000000 at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#FC7AFD
RGBrgb(252, 122, 253)
HSLhsl(300, 97%, 74%)
HSVhsv(300, 52%, 99%)
CMYKcmyk(0.4%, 51.8%, 0%, 0.8%)
CIE-LABlab(70.67, 66.56, -43.37)
CIE-LCHlch(70.67, 79.44, 326.91°)
OKLaboklab(77.49% 0.1847 -0.1193)
OKLCHoklch(77.49% 0.22 327.2)
XYZxyz(64.8329, 41.7101, 97.5454)
Luminance0.4171 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FC7AFD #7BFD7A
analogous
#BA7AFD #FC7AFD #FD7ABC
triadic
#FC7AFD #FDFC7A #7AFDFC
tetradic
#FC7AFD #FDBA7A #7BFD7A #7ABCFD
square
#FC7AFD #FDBA7A #7BFD7A #7ABCFD
split-complementary
#FC7AFD #BCFD7A #7AFDBA
monochromatic
#F704F9 #FB3EFC #FC7AFD #FDB6FE #FEE1FF

Accessibility & contrast

On white

2.25
#FC7AFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.34
#FC7AFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FC7AFD
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FC7AFD#FFFFFF#000000##000000
##FC7AFD1.002.259.349.34
#FFFFFF2.251.0021.0021.00
#0000009.3421.001.001.00
##0000009.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6DA2FF
Deuteranopia (green-blind)
#95B3F9
Tritanopia (blue-blind)
#FF89B1
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #fc7afd;
/* rgb */ color: rgb(252, 122, 253);
/* oklch */ color: oklch(77.5% 0.220 327.2);
Tailwind
colors: {
  custom: {
    50: '#ffa6fe',
    500: '#fc7afd',
    950: '#000000',
  },
}
SCSS
$custom: #fc7afd;
$custom-light: #ffa6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#fc7afd",
  "rgb": {
    "r": 252,
    "g": 122,
    "b": 253
  },
  "hsl": {
    "h": 299.542,
    "s": 97.037,
    "l": 73.529
  },
  "oklch": {
    "l": 0.77491,
    "c": 0.21988,
    "h": 327.2
  },
  "luminance": 0.41706
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FC7AFD

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

Preview Lab → · Contrast checker → · Palette generator →

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