#FE9AFA#FE9AFA

#FE9AFA is a very light, vivid purple. Relative luminance 0.511; OKLCH L 82.0% C 0.168 H 328.4°. Best body text is #000000 at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#FE9AFA
RGBrgb(254, 154, 250)
HSLhsl(302, 98%, 80%)
HSVhsv(302, 39%, 100%)
CMYKcmyk(0%, 39.4%, 1.6%, 0.4%)
CIE-LABlab(76.73, 51.14, -32.30)
CIE-LCHlch(76.73, 60.49, 327.72°)
OKLaboklab(82.01% 0.1429 -0.0879)
OKLCHoklch(82.01% 0.168 328.4)
XYZxyz(69.6828, 51.0875, 96.6143)
Luminance0.5108 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FE9AFA #9AFE9E
analogous
#D09AFE #FE9AFA #FE9AC8
triadic
#FE9AFA #FAFE9A #9AFAFE
tetradic
#FE9AFA #FED09A #9AFE9E #9AC8FE
square
#FE9AFA #FED09A #9AFE9E #9AC8FE
split-complementary
#FE9AFA #C8FE9A #9AFED0
monochromatic
#FD21F4 #FD5DF7 #FE9AFA #FFD7FD #FFE1FD

Accessibility & contrast

On white

1.87
#FE9AFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.22
#FE9AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FE9AFA
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FE9AFA#FFFFFF#000000##000000
##FE9AFA1.001.8711.2211.22
#FFFFFF1.871.0021.0021.00
#00000011.2221.001.001.00
##00000011.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#94B5FD
Deuteranopia (green-blind)
#AEC2F7
Tritanopia (blue-blind)
#FFA3BF
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #fe9afa;
/* rgb */ color: rgb(254, 154, 250);
/* oklch */ color: oklch(82.0% 0.168 328.4);
Tailwind
colors: {
  custom: {
    50: '#ffbafc',
    500: '#fe9afa',
    950: '#000000',
  },
}
SCSS
$custom: #fe9afa;
$custom-light: #ffbafc;
$custom-dark: #000000;
JSON
{
  "hex": "#fe9afa",
  "rgb": {
    "r": 254,
    "g": 154,
    "b": 250
  },
  "hsl": {
    "h": 302.4,
    "s": 98.039,
    "l": 80
  },
  "oklch": {
    "l": 0.82008,
    "c": 0.16775,
    "h": 328.4
  },
  "luminance": 0.51084
}

Semantic roles & 50–950 ramp

primary
#FE9AFA
secondary
#5CE161
accent
#E60900
background
#FFFDFF
surface
#FFF8FF
border
#D7D1D7
text
#181217
muted
#868285

Preview Lab

Preview with #FE9AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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