#FE8AFE#FE8AFE

#FE8AFE is a light, vivid purple. Relative luminance 0.464; OKLCH L 79.9% C 0.197 H 327.2°. Best body text is #000000 at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#FE8AFE
RGBrgb(254, 138, 254)
HSLhsl(300, 98%, 77%)
HSVhsv(300, 46%, 100%)
CMYKcmyk(0%, 45.7%, 0%, 0.4%)
CIE-LABlab(73.81, 59.75, -39.00)
CIE-LCHlch(73.81, 71.35, 326.87°)
OKLaboklab(79.88% 0.1659 -0.1068)
OKLCHoklch(79.88% 0.197 327.2)
XYZxyz(67.8497, 46.4071, 99.1303)
Luminance0.4640 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FE8AFE #8AFE8A
analogous
#C48AFE #FE8AFE #FE8AC4
triadic
#FE8AFE #FEFE8A #8AFEFE
tetradic
#FE8AFE #FEC48A #8AFE8A #8AC4FE
square
#FE8AFE #FEC48A #8AFE8A #8AC4FE
split-complementary
#FE8AFE #C4FE8A #8AFEC4
monochromatic
#FD11FD #FD4DFD #FE8AFE #FFC7FF #FFE1FF

Accessibility & contrast

On white

2.04
#FE8AFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.28
#FE8AFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FE8AFE
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FE8AFE#FFFFFF#000000##000000
##FE8AFE1.002.0410.2810.28
#FFFFFF2.041.0021.0021.00
#00000010.2821.001.001.00
##00000010.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#80ACFF
Deuteranopia (green-blind)
#A1BBFA
Tritanopia (blue-blind)
#FF96B8
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #fe8afe;
/* rgb */ color: rgb(254, 138, 254);
/* oklch */ color: oklch(79.9% 0.197 327.2);
Tailwind
colors: {
  custom: {
    50: '#ffb0ff',
    500: '#fe8afe',
    950: '#000000',
  },
}
SCSS
$custom: #fe8afe;
$custom-light: #ffb0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#fe8afe",
  "rgb": {
    "r": 254,
    "g": 138,
    "b": 254
  },
  "hsl": {
    "h": 300,
    "s": 98.305,
    "l": 76.863
  },
  "oklch": {
    "l": 0.79878,
    "c": 0.19733,
    "h": 327.2
  },
  "luminance": 0.46404
}

Semantic roles & 50–950 ramp

primary
#FE8AFE
secondary
#D4F7D4
accent
#E60000
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#181118
muted
#868086

Preview Lab

Preview with #FE8AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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