#FE7AFF#FE7AFF

#FE7AFF is a light, highly saturated purple. Relative luminance 0.422; OKLCH L 77.8% C 0.223 H 327.2°. Best body text is #000000 at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#FE7AFF
RGBrgb(254, 122, 255)
HSLhsl(300, 100%, 74%)
HSVhsv(300, 52%, 100%)
CMYKcmyk(0.4%, 52.2%, 0%, 0%)
CIE-LABlab(71.02, 67.42, -43.90)
CIE-LCHlch(71.02, 80.45, 326.93°)
OKLaboklab(77.83% 0.1871 -0.1207)
OKLCHoklch(77.83% 0.223 327.2)
XYZxyz(65.8815, 42.2137, 99.2663)
Luminance0.4221 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FE7AFF #7BFF7A
analogous
#BC7AFF #FE7AFF #FF7ABE
triadic
#FE7AFF #FFFE7A #7AFFFE
tetradic
#FE7AFF #FFBC7A #7BFF7A #7ABEFF
square
#FE7AFF #FFBC7A #7BFF7A #7ABEFF
split-complementary
#FE7AFF #BEFF7A #7AFFBC
monochromatic
#FD00FF #FE3DFF #FE7AFF #FEB7FF #FFE0FF

Accessibility & contrast

On white

2.22
#FE7AFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.44
#FE7AFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FE7AFF
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FE7AFF#FFFFFF#000000##000000
##FE7AFF1.002.229.449.44
#FFFFFF2.221.0021.0021.00
#0000009.4421.001.001.00
##0000009.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6CA3FF
Deuteranopia (green-blind)
#96B4FB
Tritanopia (blue-blind)
#FF89B2
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #fe7aff;
/* rgb */ color: rgb(254, 122, 255);
/* oklch */ color: oklch(77.8% 0.223 327.2);
Tailwind
colors: {
  custom: {
    50: '#ffa6ff',
    500: '#fe7aff',
    950: '#000000',
  },
}
SCSS
$custom: #fe7aff;
$custom-light: #ffa6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#fe7aff",
  "rgb": {
    "r": 254,
    "g": 122,
    "b": 255
  },
  "hsl": {
    "h": 299.549,
    "s": 100,
    "l": 73.922
  },
  "oklch": {
    "l": 0.77829,
    "c": 0.2227,
    "h": 327.2
  },
  "luminance": 0.4221
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FE7AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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