#FE7AEC#FE7AEC

#FE7AEC is a light, highly saturated purple. Relative luminance 0.410; OKLCH L 77.0% C 0.207 H 332.8°. Best body text is #000000 at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#FE7AEC
RGBrgb(254, 122, 236)
HSLhsl(308, 99%, 74%)
HSVhsv(308, 52%, 100%)
CMYKcmyk(0%, 52%, 7.1%, 0.4%)
CIE-LABlab(70.21, 64.29, -34.75)
CIE-LCHlch(70.21, 73.08, 331.61°)
OKLaboklab(76.97% 0.1843 -0.0946)
OKLCHoklch(76.97% 0.207 332.8)
XYZxyz(62.9728, 41.0502, 83.9473)
Luminance0.4105 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FE7AEC #7AFE8C
analogous
#CE7AFE #FE7AEC #FE7AAA
triadic
#FE7AEC #ECFE7A #7AECFE
tetradic
#FE7AEC #FECE7A #7AFE8C #7AAAFE
square
#FE7AEC #FECE7A #7AFE8C #7AAAFE
split-complementary
#FE7AEC #AAFE7A #7AFECE
monochromatic
#FC02DA #FE3DE3 #FE7AEC #FEB7F5 #FFE1FB

Accessibility & contrast

On white

2.28
#FE7AEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.21
#FE7AEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FE7AEC
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FE7AEC#FFFFFF#000000##000000
##FE7AEC1.002.289.219.21
#FFFFFF2.281.0021.0021.00
#0000009.2121.001.001.00
##0000009.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A0F0
Deuteranopia (green-blind)
#9EB3E8
Tritanopia (blue-blind)
#FF83A8
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #fe7aec;
/* rgb */ color: rgb(254, 122, 236);
/* oklch */ color: oklch(77.0% 0.207 332.8);
Tailwind
colors: {
  custom: {
    50: '#ffa5f2',
    500: '#fe7aec',
    950: '#000000',
  },
}
SCSS
$custom: #fe7aec;
$custom-light: #ffa5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#fe7aec",
  "rgb": {
    "r": 254,
    "g": 122,
    "b": 236
  },
  "hsl": {
    "h": 308.182,
    "s": 98.507,
    "l": 73.725
  },
  "oklch": {
    "l": 0.7697,
    "c": 0.20715,
    "h": 332.8
  },
  "luminance": 0.41046
}

Semantic roles & 50–950 ramp

primary
#FE7AEC
secondary
#D4F7D9
accent
#E61F00
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181017
muted
#867F85

Preview Lab

Preview with #FE7AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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