#FE7AF0#FE7AF0

#FE7AF0 is a light, highly saturated purple. Relative luminance 0.413; OKLCH L 77.1% C 0.210 H 331.6°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#FE7AF0
RGBrgb(254, 122, 240)
HSLhsl(306, 99%, 74%)
HSVhsv(306, 52%, 100%)
CMYKcmyk(0%, 52%, 5.5%, 0.4%)
CIE-LABlab(70.38, 64.93, -36.70)
CIE-LCHlch(70.38, 74.58, 330.53°)
OKLaboklab(77.15% 0.185 -0.1001)
OKLCHoklch(77.15% 0.21 331.6)
XYZxyz(63.5604, 41.2853, 87.0423)
Luminance0.4128 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FE7AF0 #7AFE88
analogous
#CA7AFE #FE7AF0 #FE7AAE
triadic
#FE7AF0 #F0FE7A #7AF0FE
tetradic
#FE7AF0 #FECA7A #7AFE88 #7AAEFE
square
#FE7AF0 #FECA7A #7AFE88 #7AAEFE
split-complementary
#FE7AF0 #AEFE7A #7AFECA
monochromatic
#FC02E1 #FE3DE9 #FE7AF0 #FEB7F7 #FFE1FC

Accessibility & contrast

On white

2.27
#FE7AF0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.26
#FE7AF0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FE7AF0
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FE7AF0#FFFFFF#000000##000000
##FE7AF01.002.279.269.26
#FFFFFF2.271.0021.0021.00
#0000009.2621.001.001.00
##0000009.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A0F4
Deuteranopia (green-blind)
#9CB3EC
Tritanopia (blue-blind)
#FF84AA
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #fe7af0;
/* rgb */ color: rgb(254, 122, 240);
/* oklch */ color: oklch(77.1% 0.210 331.6);
Tailwind
colors: {
  custom: {
    50: '#ffa5f5',
    500: '#fe7af0',
    950: '#000000',
  },
}
SCSS
$custom: #fe7af0;
$custom-light: #ffa5f5;
$custom-dark: #000000;
JSON
{
  "hex": "#fe7af0",
  "rgb": {
    "r": 254,
    "g": 122,
    "b": 240
  },
  "hsl": {
    "h": 306.364,
    "s": 98.507,
    "l": 73.725
  },
  "oklch": {
    "l": 0.77146,
    "c": 0.21032,
    "h": 331.6
  },
  "luminance": 0.41281
}

Semantic roles & 50–950 ramp

primary
#FE7AF0
secondary
#D4F7D8
accent
#E61800
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181017
muted
#867F85

Preview Lab

Preview with #FE7AF0

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

Preview Lab → · Contrast checker → · Palette generator →

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