#FE7AF3#FE7AF3

#FE7AF3 is a light, highly saturated purple. Relative luminance 0.415; OKLCH L 77.3% C 0.213 H 330.7°. Best body text is #000000 at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#FE7AF3
RGBrgb(254, 122, 243)
HSLhsl(305, 99%, 74%)
HSVhsv(305, 52%, 100%)
CMYKcmyk(0%, 52%, 4.3%, 0.4%)
CIE-LABlab(70.50, 65.42, -38.15)
CIE-LCHlch(70.50, 75.73, 329.75°)
OKLaboklab(77.28% 0.1854 -0.1043)
OKLCHoklch(77.28% 0.213 330.7)
XYZxyz(64.0098, 41.4650, 89.4087)
Luminance0.4146 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FE7AF3 #7AFE85
analogous
#C77AFE #FE7AF3 #FE7AB1
triadic
#FE7AF3 #F3FE7A #7AF3FE
tetradic
#FE7AF3 #FEC77A #7AFE85 #7AB1FE
square
#FE7AF3 #FEC77A #7AFE85 #7AB1FE
split-complementary
#FE7AF3 #B1FE7A #7AFEC7
monochromatic
#FC02E7 #FE3DEE #FE7AF3 #FEB7F8 #FFE1FC

Accessibility & contrast

On white

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

On black

9.29
#FE7AF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FE7AF3
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FE7AF3#FFFFFF#000000##000000
##FE7AF31.002.269.299.29
#FFFFFF2.261.0021.0021.00
#0000009.2921.001.001.00
##0000009.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A1F7
Deuteranopia (green-blind)
#9BB3EF
Tritanopia (blue-blind)
#FF85AC
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #fe7af3;
/* rgb */ color: rgb(254, 122, 243);
/* oklch */ color: oklch(77.3% 0.213 330.7);
Tailwind
colors: {
  custom: {
    50: '#ffa6f7',
    500: '#fe7af3',
    950: '#000000',
  },
}
SCSS
$custom: #fe7af3;
$custom-light: #ffa6f7;
$custom-dark: #000000;
JSON
{
  "hex": "#fe7af3",
  "rgb": {
    "r": 254,
    "g": 122,
    "b": 243
  },
  "hsl": {
    "h": 305,
    "s": 98.507,
    "l": 73.725
  },
  "oklch": {
    "l": 0.77279,
    "c": 0.21274,
    "h": 330.7
  },
  "luminance": 0.41461
}

Semantic roles & 50–950 ramp

primary
#FE7AF3
secondary
#D4F7D7
accent
#E61300
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181017
muted
#867F85

Preview Lab

Preview with #FE7AF3

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

Preview Lab → · Contrast checker → · Palette generator →

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