#FB6AFC#FB6AFC

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

Color values

HEX#FB6AFC
RGBrgb(251, 106, 252)
HSLhsl(300, 96%, 70%)
HSVhsv(300, 58%, 99%)
CMYKcmyk(0.4%, 57.9%, 0%, 1.2%)
CIE-LABlab(67.91, 73.13, -47.17)
CIE-LCHlch(67.91, 87.02, 327.18°)
OKLaboklab(75.43% 0.2032 -0.1301)
OKLCHoklch(75.43% 0.241 327.4)
XYZxyz(62.5074, 37.8495, 96.0899)
Luminance0.3785 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB6AFC #6BFC6A
analogous
#B26AFC #FB6AFC #FC6AB4
triadic
#FB6AFC #FCFB6A #6AFCFB
tetradic
#FB6AFC #FCB26A #6BFC6A #6AB4FC
square
#FB6AFC #FCB26A #6BFC6A #6AB4FC
split-complementary
#FB6AFC #B4FC6A #6AFCB2
monochromatic
#E505E7 #F92EFB #FB6AFC #FDA6FD #FEE1FE

Accessibility & contrast

On white

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

On black

8.57
#FB6AFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB6AFC
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB6AFC#FFFFFF#000000##000000
##FB6AFC1.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5999FF
Deuteranopia (green-blind)
#8BACF8
Tritanopia (blue-blind)
#FF7CAA
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #fb6afc;
/* rgb */ color: rgb(251, 106, 252);
/* oklch */ color: oklch(75.4% 0.241 327.4);
Tailwind
colors: {
  custom: {
    50: '#ff9cfe',
    500: '#fb6afc',
    950: '#000000',
  },
}
SCSS
$custom: #fb6afc;
$custom-light: #ff9cfe;
$custom-dark: #000000;
JSON
{
  "hex": "#fb6afc",
  "rgb": {
    "r": 251,
    "g": 106,
    "b": 252
  },
  "hsl": {
    "h": 299.589,
    "s": 96.053,
    "l": 70.196
  },
  "oklch": {
    "l": 0.75427,
    "c": 0.2413,
    "h": 327.4
  },
  "luminance": 0.37846
}

Semantic roles & 50–950 ramp

primary
#FB6AFC
secondary
#CDF5CD
accent
#E60002
background
#FFFAFF
surface
#FFF3FF
border
#D7CDD7
text
#180F18
muted
#867F86

Preview Lab

Preview with #FB6AFC

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

Preview Lab → · Contrast checker → · Palette generator →

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