#FB6AF6#FB6AF6

#FB6AF6 is a light, highly saturated purple. Relative luminance 0.375; OKLCH L 75.1% C 0.236 H 329.0°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#FB6AF6
RGBrgb(251, 106, 246)
HSLhsl(302, 95%, 70%)
HSVhsv(302, 58%, 98%)
CMYKcmyk(0%, 57.8%, 2%, 1.6%)
CIE-LABlab(67.63, 72.15, -44.31)
CIE-LCHlch(67.63, 84.67, 328.44°)
OKLaboklab(75.13% 0.2027 -0.1219)
OKLCHoklch(75.13% 0.236 329)
XYZxyz(61.5716, 37.4752, 91.1613)
Luminance0.3747 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB6AF6 #6AFB6F
analogous
#B86AFB #FB6AF6 #FB6AAD
triadic
#FB6AF6 #F6FB6A #6AF6FB
tetradic
#FB6AF6 #FBB86A #6AFB6F #6AADFB
square
#FB6AF6 #FBB86A #6AFB6F #6AADFB
split-complementary
#FB6AF6 #ADFB6A #6AFBB8
monochromatic
#E406DD #F92EF2 #FB6AF6 #FDA6FA #FEE1FD

Accessibility & contrast

On white

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

On black

8.49
#FB6AF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB6AF6
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB6AF6#FFFFFF#000000##000000
##FB6AF61.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fb6af6;
/* rgb */ color: rgb(251, 106, 246);
/* oklch */ color: oklch(75.1% 0.236 329.0);
Tailwind
colors: {
  custom: {
    50: '#ff9cf9',
    500: '#fb6af6',
    950: '#000000',
  },
}
SCSS
$custom: #fb6af6;
$custom-light: #ff9cf9;
$custom-dark: #000000;
JSON
{
  "hex": "#fb6af6",
  "rgb": {
    "r": 251,
    "g": 106,
    "b": 246
  },
  "hsl": {
    "h": 302.069,
    "s": 94.771,
    "l": 70
  },
  "oklch": {
    "l": 0.75134,
    "c": 0.23648,
    "h": 329
  },
  "luminance": 0.37471
}

Semantic roles & 50–950 ramp

primary
#FB6AF6
secondary
#CCF5CE
accent
#E60800
background
#FFFAFF
surface
#FFF3FF
border
#D7CDD7
text
#180F17
muted
#867F85

Preview Lab

Preview with #FB6AF6

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

Preview Lab → · Contrast checker → · Palette generator →

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