#FE7AFB#FE7AFB

#FE7AFB is a light, highly saturated purple. Relative luminance 0.420; OKLCH L 77.6% C 0.219 H 328.3°. Best body text is #000000 at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#FE7AFB
RGBrgb(254, 122, 251)
HSLhsl(301, 99%, 74%)
HSVhsv(301, 52%, 100%)
CMYKcmyk(0%, 52%, 1.2%, 0.4%)
CIE-LABlab(70.84, 66.75, -41.99)
CIE-LCHlch(70.84, 78.86, 327.83°)
OKLaboklab(77.64% 0.1866 -0.1153)
OKLCHoklch(77.64% 0.219 328.3)
XYZxyz(65.2443, 41.9588, 95.9104)
Luminance0.4195 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FE7AFB #7AFE7D
analogous
#BF7AFE #FE7AFB #FE7AB9
triadic
#FE7AFB #FBFE7A #7AFBFE
tetradic
#FE7AFB #FEBF7A #7AFE7D #7AB9FE
square
#FE7AFB #FEBF7A #7AFE7D #7AB9FE
split-complementary
#FE7AFB #B9FE7A #7AFEBF
monochromatic
#FC02F6 #FE3DF9 #FE7AFB #FEB7FD #FFE1FE

Accessibility & contrast

On white

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

On black

9.39
#FE7AFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FE7AFB
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FE7AFB#FFFFFF#000000##000000
##FE7AFB1.002.249.399.39
#FFFFFF2.241.0021.0021.00
#0000009.3921.001.001.00
##0000009.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA2FF
Deuteranopia (green-blind)
#97B4F7
Tritanopia (blue-blind)
#FF88B0
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #fe7afb;
/* rgb */ color: rgb(254, 122, 251);
/* oklch */ color: oklch(77.6% 0.219 328.3);
Tailwind
colors: {
  custom: {
    50: '#ffa6fd',
    500: '#fe7afb',
    950: '#000000',
  },
}
SCSS
$custom: #fe7afb;
$custom-light: #ffa6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#fe7afb",
  "rgb": {
    "r": 254,
    "g": 122,
    "b": 251
  },
  "hsl": {
    "h": 301.364,
    "s": 98.507,
    "l": 73.725
  },
  "oklch": {
    "l": 0.77643,
    "c": 0.21934,
    "h": 328.3
  },
  "luminance": 0.41955
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FE7AFB

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

Preview Lab → · Contrast checker → · Palette generator →

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