#FB6AFD#FB6AFD

#FB6AFD is a light, highly saturated purple. Relative luminance 0.379; OKLCH L 75.5% C 0.242 H 327.1°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#FB6AFD
RGBrgb(251, 106, 253)
HSLhsl(299, 97%, 70%)
HSVhsv(299, 58%, 99%)
CMYKcmyk(0.8%, 58.1%, 0%, 0.8%)
CIE-LABlab(67.96, 73.30, -47.64)
CIE-LCHlch(67.96, 87.42, 326.98°)
OKLaboklab(75.48% 0.2033 -0.1315)
OKLCHoklch(75.48% 0.242 327.1)
XYZxyz(62.6663, 37.9130, 96.9267)
Luminance0.3791 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB6AFD #6CFD6A
analogous
#B26AFD #FB6AFD #FD6AB5
triadic
#FB6AFD #FDFB6A #6AFDFB
tetradic
#FB6AFD #FDB26A #6CFD6A #6AB5FD
square
#FB6AFD #FDB26A #6CFD6A #6AB5FD
split-complementary
#FB6AFD #B5FD6A #6AFDB2
monochromatic
#E603E9 #F92EFC #FB6AFD #FDA6FE #FEE1FF

Accessibility & contrast

On white

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

On black

8.58
#FB6AFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB6AFD
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB6AFD#FFFFFF#000000##000000
##FB6AFD1.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#589AFF
Deuteranopia (green-blind)
#8AACF9
Tritanopia (blue-blind)
#FF7DAA
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #fb6afd;
/* rgb */ color: rgb(251, 106, 253);
/* oklch */ color: oklch(75.5% 0.242 327.1);
Tailwind
colors: {
  custom: {
    50: '#ff9cfe',
    500: '#fb6afd',
    950: '#000000',
  },
}
SCSS
$custom: #fb6afd;
$custom-light: #ff9cfe;
$custom-dark: #000000;
JSON
{
  "hex": "#fb6afd",
  "rgb": {
    "r": 251,
    "g": 106,
    "b": 253
  },
  "hsl": {
    "h": 299.184,
    "s": 97.351,
    "l": 70.392
  },
  "oklch": {
    "l": 0.75476,
    "c": 0.24211,
    "h": 327.1
  },
  "luminance": 0.37909
}

Semantic roles & 50–950 ramp

primary
#FB6AFD
secondary
#CEF6CD
accent
#E60003
background
#FFFAFF
surface
#FFF3FF
border
#D7CDD7
text
#180F18
muted
#867F86

Preview Lab

Preview with #FB6AFD

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

Preview Lab → · Contrast checker → · Palette generator →

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