#FB6AF7#FB6AF7

#FB6AF7 is a light, highly saturated purple. Relative luminance 0.375; OKLCH L 75.2% C 0.237 H 328.7°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#FB6AF7
RGBrgb(251, 106, 247)
HSLhsl(302, 95%, 70%)
HSVhsv(302, 58%, 98%)
CMYKcmyk(0%, 57.8%, 1.6%, 1.6%)
CIE-LABlab(67.68, 72.31, -44.79)
CIE-LCHlch(67.68, 85.06, 328.23°)
OKLaboklab(75.18% 0.2028 -0.1232)
OKLCHoklch(75.18% 0.237 328.7)
XYZxyz(61.7255, 37.5367, 91.9718)
Luminance0.3753 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB6AF7 #6AFB6E
analogous
#B66AFB #FB6AF7 #FB6AAF
triadic
#FB6AF7 #F7FB6A #6AF7FB
tetradic
#FB6AF7 #FBB66A #6AFB6E #6AAFFB
square
#FB6AF7 #FBB66A #6AFB6E #6AAFFB
split-complementary
#FB6AF7 #AFFB6A #6AFBB6
monochromatic
#E406DE #F92EF4 #FB6AF7 #FDA6FA #FEE1FD

Accessibility & contrast

On white

2.47
#FB6AF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.51
#FB6AF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB6AF7
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB6AF7#FFFFFF#000000##000000
##FB6AF71.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C98FB
Deuteranopia (green-blind)
#8DACF3
Tritanopia (blue-blind)
#FF7AA7
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #fb6af7;
/* rgb */ color: rgb(251, 106, 247);
/* oklch */ color: oklch(75.2% 0.237 328.7);
Tailwind
colors: {
  custom: {
    50: '#ff9cfa',
    500: '#fb6af7',
    950: '#000000',
  },
}
SCSS
$custom: #fb6af7;
$custom-light: #ff9cfa;
$custom-dark: #000000;
JSON
{
  "hex": "#fb6af7",
  "rgb": {
    "r": 251,
    "g": 106,
    "b": 247
  },
  "hsl": {
    "h": 301.655,
    "s": 94.771,
    "l": 70
  },
  "oklch": {
    "l": 0.75182,
    "c": 0.23728,
    "h": 328.7
  },
  "luminance": 0.37533
}

Semantic roles & 50–950 ramp

primary
#FB6AF7
secondary
#CCF5CD
accent
#E60600
background
#FFFAFF
surface
#FFF3FF
border
#D7CDD7
text
#180F17
muted
#867F85

Preview Lab

Preview with #FB6AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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