#FB6AFE#FB6AFE

#FB6AFE is a light, highly saturated purple. Relative luminance 0.380; OKLCH L 75.5% C 0.243 H 326.9°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#FB6AFE
RGBrgb(251, 106, 254)
HSLhsl(299, 99%, 71%)
HSVhsv(299, 58%, 100%)
CMYKcmyk(1.2%, 58.3%, 0%, 0.4%)
CIE-LABlab(68.00, 73.46, -48.12)
CIE-LCHlch(68.00, 87.82, 326.78°)
OKLaboklab(75.53% 0.2034 -0.1328)
OKLCHoklch(75.53% 0.243 326.9)
XYZxyz(62.8260, 37.9769, 97.7678)
Luminance0.3797 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB6AFE #6DFE6A
analogous
#B16AFE #FB6AFE #FE6AB7
triadic
#FB6AFE #FEFB6A #6AFEFB
tetradic
#FB6AFE #FEB16A #6DFE6A #6AB7FE
square
#FB6AFE #FEB16A #6DFE6A #6AB7FE
split-complementary
#FB6AFE #B7FE6A #6AFEB1
monochromatic
#E702EC #F92DFE #FB6AFE #FDA7FE #FEE1FF

Accessibility & contrast

On white

2.44
#FB6AFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.59
#FB6AFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB6AFE
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB6AFE#FFFFFF#000000##000000
##FB6AFE1.002.448.598.59
#FFFFFF2.441.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#579AFF
Deuteranopia (green-blind)
#8AACFA
Tritanopia (blue-blind)
#FF7DAB
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #fb6afe;
/* rgb */ color: rgb(251, 106, 254);
/* oklch */ color: oklch(75.5% 0.243 326.9);
Tailwind
colors: {
  custom: {
    50: '#ff9cff',
    500: '#fb6afe',
    950: '#000000',
  },
}
SCSS
$custom: #fb6afe;
$custom-light: #ff9cff;
$custom-dark: #000000;
JSON
{
  "hex": "#fb6afe",
  "rgb": {
    "r": 251,
    "g": 106,
    "b": 254
  },
  "hsl": {
    "h": 298.784,
    "s": 98.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.75526,
    "c": 0.24293,
    "h": 326.9
  },
  "luminance": 0.37973
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FB6AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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