#FA6AFE#FA6AFE

#FA6AFE is a light, highly saturated purple. Relative luminance 0.378; OKLCH L 75.4% C 0.242 H 326.6°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#FA6AFE
RGBrgb(250, 106, 254)
HSLhsl(298, 99%, 71%)
HSVhsv(298, 58%, 100%)
CMYKcmyk(1.6%, 58.3%, 0%, 0.4%)
CIE-LABlab(67.87, 73.22, -48.34)
CIE-LCHlch(67.87, 87.74, 326.57°)
OKLaboklab(75.4% 0.2023 -0.1335)
OKLCHoklch(75.4% 0.242 326.6)
XYZxyz(62.4666, 37.7916, 97.7510)
Luminance0.3779 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FA6AFE #6EFE6A
analogous
#B06AFE #FA6AFE #FE6AB8
triadic
#FA6AFE #FEFA6A #6AFEFA
tetradic
#FA6AFE #FEB06A #6EFE6A #6AB8FE
square
#FA6AFE #FEB06A #6EFE6A #6AB8FE
split-complementary
#FA6AFE #B8FE6A #6AFEB0
monochromatic
#E602EC #F82DFE #FA6AFE #FCA7FE #FEE1FF

Accessibility & contrast

On white

2.45
#FA6AFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.56
#FA6AFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FA6AFE
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FA6AFE#FFFFFF#000000##000000
##FA6AFE1.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#579AFF
Deuteranopia (green-blind)
#89ACFA
Tritanopia (blue-blind)
#FF7DAB
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #fa6afe;
/* rgb */ color: rgb(250, 106, 254);
/* oklch */ color: oklch(75.4% 0.242 326.6);
Tailwind
colors: {
  custom: {
    50: '#ff9cff',
    500: '#fa6afe',
    950: '#000000',
  },
}
SCSS
$custom: #fa6afe;
$custom-light: #ff9cff;
$custom-dark: #000000;
JSON
{
  "hex": "#fa6afe",
  "rgb": {
    "r": 250,
    "g": 106,
    "b": 254
  },
  "hsl": {
    "h": 298.378,
    "s": 98.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.75399,
    "c": 0.24241,
    "h": 326.6
  },
  "luminance": 0.37788
}

Semantic roles & 50–950 ramp

primary
#FA6AFE
secondary
#CFF6CE
accent
#E60006
background
#FFFAFF
surface
#FFF3FF
border
#D7CDD7
text
#180F18
muted
#867F86

Preview Lab

Preview with #FA6AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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