#FE7AFD#FE7AFD

#FE7AFD is a light, highly saturated purple. Relative luminance 0.421; OKLCH L 77.7% C 0.221 H 327.7°. Best body text is #000000 at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#FE7AFD
RGBrgb(254, 122, 253)
HSLhsl(300, 99%, 74%)
HSVhsv(300, 52%, 100%)
CMYKcmyk(0%, 52%, 0.4%, 0.4%)
CIE-LABlab(70.93, 67.08, -42.95)
CIE-LCHlch(70.93, 79.65, 327.37°)
OKLaboklab(77.74% 0.1869 -0.118)
OKLCHoklch(77.74% 0.221 327.7)
XYZxyz(65.5612, 42.0856, 97.5795)
Luminance0.4208 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FE7AFD #7AFE7B
analogous
#BD7AFE #FE7AFD #FE7ABB
triadic
#FE7AFD #FDFE7A #7AFDFE
tetradic
#FE7AFD #FEBD7A #7AFE7B #7ABBFE
square
#FE7AFD #FEBD7A #7AFE7B #7ABBFE
split-complementary
#FE7AFD #BBFE7A #7AFEBD
monochromatic
#FC02FA #FE3DFC #FE7AFD #FEB7FE #FFE1FF

Accessibility & contrast

On white

2.23
#FE7AFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.42
#FE7AFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FE7AFD
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FE7AFD#FFFFFF#000000##000000
##FE7AFD1.002.239.429.42
#FFFFFF2.231.0021.0021.00
#0000009.4221.001.001.00
##0000009.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA3FF
Deuteranopia (green-blind)
#97B4F9
Tritanopia (blue-blind)
#FF89B1
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #fe7afd;
/* rgb */ color: rgb(254, 122, 253);
/* oklch */ color: oklch(77.7% 0.221 327.7);
Tailwind
colors: {
  custom: {
    50: '#ffa6fe',
    500: '#fe7afd',
    950: '#000000',
  },
}
SCSS
$custom: #fe7afd;
$custom-light: #ffa6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#fe7afd",
  "rgb": {
    "r": 254,
    "g": 122,
    "b": 253
  },
  "hsl": {
    "h": 300.455,
    "s": 98.507,
    "l": 73.725
  },
  "oklch": {
    "l": 0.77736,
    "c": 0.22101,
    "h": 327.7
  },
  "luminance": 0.42082
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FE7AFD

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

Preview Lab → · Contrast checker → · Palette generator →

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