#FE7AF7#FE7AF7

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

Color values

HEX#FE7AF7
RGBrgb(254, 122, 247)
HSLhsl(303, 99%, 74%)
HSVhsv(303, 52%, 100%)
CMYKcmyk(0%, 52%, 2.8%, 0.4%)
CIE-LABlab(70.67, 66.08, -40.07)
CIE-LCHlch(70.67, 77.28, 328.77°)
OKLaboklab(77.46% 0.1861 -0.1098)
OKLCHoklch(77.46% 0.216 329.5)
XYZxyz(64.6204, 41.7093, 92.6247)
Luminance0.4170 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FE7AF7 #7AFE81
analogous
#C37AFE #FE7AF7 #FE7AB5
triadic
#FE7AF7 #F7FE7A #7AF7FE
tetradic
#FE7AF7 #FEC37A #7AFE81 #7AB5FE
square
#FE7AF7 #FEC37A #7AFE81 #7AB5FE
split-complementary
#FE7AF7 #B5FE7A #7AFEC3
monochromatic
#FC02EE #FE3DF3 #FE7AF7 #FEB7FB #FFE1FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FE7AF7#FFFFFF#000000##000000
##FE7AF71.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)
#71A1FB
Deuteranopia (green-blind)
#99B3F3
Tritanopia (blue-blind)
#FF87AE
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #fe7af7;
/* rgb */ color: rgb(254, 122, 247);
/* oklch */ color: oklch(77.5% 0.216 329.5);
Tailwind
colors: {
  custom: {
    50: '#ffa6fa',
    500: '#fe7af7',
    950: '#000000',
  },
}
SCSS
$custom: #fe7af7;
$custom-light: #ffa6fa;
$custom-dark: #000000;
JSON
{
  "hex": "#fe7af7",
  "rgb": {
    "r": 254,
    "g": 122,
    "b": 247
  },
  "hsl": {
    "h": 303.182,
    "s": 98.507,
    "l": 73.725
  },
  "oklch": {
    "l": 0.77459,
    "c": 0.21602,
    "h": 329.5
  },
  "luminance": 0.41705
}

Semantic roles & 50–950 ramp

primary
#FE7AF7
secondary
#D4F7D6
accent
#E60C00
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181017
muted
#867F85

Preview Lab

Preview with #FE7AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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