#FB6AF5#FB6AF5

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

Color values

HEX#FB6AF5
RGBrgb(251, 106, 245)
HSLhsl(302, 95%, 70%)
HSVhsv(302, 58%, 98%)
CMYKcmyk(0%, 57.8%, 2.4%, 1.6%)
CIE-LABlab(67.59, 71.99, -43.83)
CIE-LCHlch(67.59, 84.28, 328.66°)
OKLaboklab(75.09% 0.2026 -0.1205)
OKLCHoklch(75.09% 0.236 329.3)
XYZxyz(61.4185, 37.4139, 90.3552)
Luminance0.3741 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB6AF5 #6AFB70
analogous
#B96AFB #FB6AF5 #FB6AAC
triadic
#FB6AF5 #F5FB6A #6AF5FB
tetradic
#FB6AF5 #FBB96A #6AFB70 #6AACFB
square
#FB6AF5 #FBB96A #6AFB70 #6AACFB
split-complementary
#FB6AF5 #ACFB6A #6AFBB9
monochromatic
#E406DB #F92EF1 #FB6AF5 #FDA6F9 #FEE1FD

Accessibility & contrast

On white

2.48
#FB6AF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.48
#FB6AF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB6AF5
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB6AF5#FFFFFF#000000##000000
##FB6AF51.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E98F9
Deuteranopia (green-blind)
#8EACF1
Tritanopia (blue-blind)
#FF7AA6
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #fb6af5;
/* rgb */ color: rgb(251, 106, 245);
/* oklch */ color: oklch(75.1% 0.236 329.3);
Tailwind
colors: {
  custom: {
    50: '#ff9cf9',
    500: '#fb6af5',
    950: '#000000',
  },
}
SCSS
$custom: #fb6af5;
$custom-light: #ff9cf9;
$custom-dark: #000000;
JSON
{
  "hex": "#fb6af5",
  "rgb": {
    "r": 251,
    "g": 106,
    "b": 245
  },
  "hsl": {
    "h": 302.483,
    "s": 94.771,
    "l": 70
  },
  "oklch": {
    "l": 0.75086,
    "c": 0.23569,
    "h": 329.3
  },
  "luminance": 0.3741
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FB6AF5

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

Preview Lab → · Contrast checker → · Palette generator →

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