#FE7AFE#FE7AFE

#FE7AFE is a light, highly saturated purple. Relative luminance 0.421; OKLCH L 77.8% C 0.222 H 327.4°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#FE7AFE
RGBrgb(254, 122, 254)
HSLhsl(300, 99%, 74%)
HSVhsv(300, 52%, 100%)
CMYKcmyk(0%, 52%, 0%, 0.4%)
CIE-LABlab(70.97, 67.25, -43.42)
CIE-LCHlch(70.97, 80.05, 327.15°)
OKLaboklab(77.78% 0.187 -0.1194)
OKLCHoklch(77.78% 0.222 327.4)
XYZxyz(65.7209, 42.1495, 98.4207)
Luminance0.4215 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FE7AFE #7AFE7A
analogous
#BC7AFE #FE7AFE #FE7ABC
triadic
#FE7AFE #FEFE7A #7AFEFE
tetradic
#FE7AFE #FEBC7A #7AFE7A #7ABCFE
square
#FE7AFE #FEBC7A #7AFE7A #7ABCFE
split-complementary
#FE7AFE #BCFE7A #7AFEBC
monochromatic
#FC02FC #FE3DFE #FE7AFE #FEB7FE #FFE1FF

Accessibility & contrast

On white

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

On black

9.43
#FE7AFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FE7AFE
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FE7AFE#FFFFFF#000000##000000
##FE7AFE1.002.239.439.43
#FFFFFF2.231.0021.0021.00
#0000009.4321.001.001.00
##0000009.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6DA3FF
Deuteranopia (green-blind)
#96B4FA
Tritanopia (blue-blind)
#FF89B1
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #fe7afe;
/* rgb */ color: rgb(254, 122, 254);
/* oklch */ color: oklch(77.8% 0.222 327.4);
Tailwind
colors: {
  custom: {
    50: '#ffa6ff',
    500: '#fe7afe',
    950: '#000000',
  },
}
SCSS
$custom: #fe7afe;
$custom-light: #ffa6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#fe7afe",
  "rgb": {
    "r": 254,
    "g": 122,
    "b": 254
  },
  "hsl": {
    "h": 300,
    "s": 98.507,
    "l": 73.725
  },
  "oklch": {
    "l": 0.77782,
    "c": 0.22186,
    "h": 327.4
  },
  "luminance": 0.42146
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FE7AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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