#FE6AFE#FE6AFE

#FE6AFE is a light, highly saturated purple. Relative luminance 0.385; OKLCH L 75.9% C 0.245 H 327.7°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#FE6AFE
RGBrgb(254, 106, 254)
HSLhsl(300, 99%, 71%)
HSVhsv(300, 58%, 100%)
CMYKcmyk(0%, 58.3%, 0%, 0.4%)
CIE-LABlab(68.42, 74.19, -47.44)
CIE-LCHlch(68.42, 88.06, 327.41°)
OKLaboklab(75.91% 0.2066 -0.1308)
OKLCHoklch(75.91% 0.245 327.7)
XYZxyz(63.9155, 38.5387, 97.8189)
Luminance0.3854 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FE6AFE #6AFE6A
analogous
#B46AFE #FE6AFE #FE6AB4
triadic
#FE6AFE #FEFE6A #6AFEFE
tetradic
#FE6AFE #FEB46A #6AFE6A #6AB4FE
square
#FE6AFE #FEB46A #6AFE6A #6AB4FE
split-complementary
#FE6AFE #B4FE6A #6AFEB4
monochromatic
#EC02EC #FE2DFE #FE6AFE #FEA7FE #FFE1FF

Accessibility & contrast

On white

2.41
#FE6AFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#FE6AFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FE6AFE
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FE6AFE#FFFFFF#000000##000000
##FE6AFE1.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#599AFF
Deuteranopia (green-blind)
#8CAEFA
Tritanopia (blue-blind)
#FF7CAB
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #fe6afe;
/* rgb */ color: rgb(254, 106, 254);
/* oklch */ color: oklch(75.9% 0.245 327.7);
Tailwind
colors: {
  custom: {
    50: '#ff9dff',
    500: '#fe6afe',
    950: '#000000',
  },
}
SCSS
$custom: #fe6afe;
$custom-light: #ff9dff;
$custom-dark: #000000;
JSON
{
  "hex": "#fe6afe",
  "rgb": {
    "r": 254,
    "g": 106,
    "b": 254
  },
  "hsl": {
    "h": 300,
    "s": 98.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.7591,
    "c": 0.24451,
    "h": 327.7
  },
  "luminance": 0.38535
}

Semantic roles & 50–950 ramp

primary
#FE6AFE
secondary
#CEF6CE
accent
#E60000
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#190F18
muted
#877F86

Preview Lab

Preview with #FE6AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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