#FB7AFF#FB7AFF

#FB7AFF is a light, highly saturated purple. Relative luminance 0.416; OKLCH L 77.5% C 0.221 H 326.3°. Best body text is #000000 at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#FB7AFF
RGBrgb(251, 122, 255)
HSLhsl(298, 100%, 74%)
HSVhsv(298, 52%, 100%)
CMYKcmyk(1.6%, 52.2%, 0%, 0%)
CIE-LABlab(70.63, 66.64, -44.53)
CIE-LCHlch(70.63, 80.15, 326.25°)
OKLaboklab(77.46% 0.1839 -0.1226)
OKLCHoklch(77.46% 0.221 326.3)
XYZxyz(64.7919, 41.6519, 99.2152)
Luminance0.4165 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7AFF #7EFF7A
analogous
#B97AFF #FB7AFF #FF7AC1
triadic
#FB7AFF #FFFB7A #7AFFFB
tetradic
#FB7AFF #FFB97A #7EFF7A #7AC1FF
square
#FB7AFF #FFB97A #7EFF7A #7AC1FF
split-complementary
#FB7AFF #C1FF7A #7AFFB9
monochromatic
#F700FF #F93DFF #FB7AFF #FDB7FF #FEE0FF

Accessibility & contrast

On white

2.25
#FB7AFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.33
#FB7AFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7AFF
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7AFF#FFFFFF#000000##000000
##FB7AFF1.002.259.339.33
#FFFFFF2.251.0021.0021.00
#0000009.3321.001.001.00
##0000009.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6BA2FF
Deuteranopia (green-blind)
#93B3FB
Tritanopia (blue-blind)
#FF8AB2
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #fb7aff;
/* rgb */ color: rgb(251, 122, 255);
/* oklch */ color: oklch(77.5% 0.221 326.3);
Tailwind
colors: {
  custom: {
    50: '#ffa6ff',
    500: '#fb7aff',
    950: '#000000',
  },
}
SCSS
$custom: #fb7aff;
$custom-light: #ffa6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7aff",
  "rgb": {
    "r": 251,
    "g": 122,
    "b": 255
  },
  "hsl": {
    "h": 298.195,
    "s": 100,
    "l": 73.922
  },
  "oklch": {
    "l": 0.77464,
    "c": 0.22102,
    "h": 326.3
  },
  "luminance": 0.41648
}

Semantic roles & 50–950 ramp

primary
#FB7AFF
secondary
#D5F7D4
accent
#E60007
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181018
muted
#867F86

Preview Lab

Preview with #FB7AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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