#FE7AFA#FE7AFA

#FE7AFA is a light, highly saturated purple. Relative luminance 0.419; OKLCH L 77.6% C 0.218 H 328.6°. Best body text is #000000 at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#FE7AFA
RGBrgb(254, 122, 250)
HSLhsl(302, 99%, 74%)
HSVhsv(302, 52%, 100%)
CMYKcmyk(0%, 52%, 1.6%, 0.4%)
CIE-LABlab(70.80, 66.58, -41.51)
CIE-LCHlch(70.80, 78.46, 328.06°)
OKLaboklab(77.6% 0.1865 -0.1139)
OKLCHoklch(77.6% 0.219 328.6)
XYZxyz(65.0871, 41.8959, 95.0824)
Luminance0.4189 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FE7AFA #7AFE7E
analogous
#C07AFE #FE7AFA #FE7AB8
triadic
#FE7AFA #FAFE7A #7AFAFE
tetradic
#FE7AFA #FEC07A #7AFE7E #7AB8FE
square
#FE7AFA #FEC07A #7AFE7E #7AB8FE
split-complementary
#FE7AFA #B8FE7A #7AFEC0
monochromatic
#FC02F4 #FE3DF8 #FE7AFA #FEB7FC #FFE1FE

Accessibility & contrast

On white

2.24
#FE7AFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.38
#FE7AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FE7AFA
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FE7AFA#FFFFFF#000000##000000
##FE7AFA1.002.249.389.38
#FFFFFF2.241.0021.0021.00
#0000009.3821.001.001.00
##0000009.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA2FE
Deuteranopia (green-blind)
#98B4F6
Tritanopia (blue-blind)
#FF88AF
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #fe7afa;
/* rgb */ color: rgb(254, 122, 250);
/* oklch */ color: oklch(77.6% 0.218 328.6);
Tailwind
colors: {
  custom: {
    50: '#ffa6fc',
    500: '#fe7afa',
    950: '#000000',
  },
}
SCSS
$custom: #fe7afa;
$custom-light: #ffa6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#fe7afa",
  "rgb": {
    "r": 254,
    "g": 122,
    "b": 250
  },
  "hsl": {
    "h": 301.818,
    "s": 98.507,
    "l": 73.725
  },
  "oklch": {
    "l": 0.77597,
    "c": 0.2185,
    "h": 328.6
  },
  "luminance": 0.41892
}

Semantic roles & 50–950 ramp

primary
#FE7AFA
secondary
#D4F7D5
accent
#E60700
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181017
muted
#867F85

Preview Lab

Preview with #FE7AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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