#FB7AF9#FB7AF9

#FB7AF9 is a light, highly saturated purple. Relative luminance 0.413; OKLCH L 77.2% C 0.216 H 328.0°. Best body text is #000000 at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#FB7AF9
RGBrgb(251, 122, 249)
HSLhsl(301, 94%, 73%)
HSVhsv(301, 51%, 98%)
CMYKcmyk(0%, 51.4%, 0.8%, 1.6%)
CIE-LABlab(70.37, 65.62, -41.67)
CIE-LCHlch(70.37, 77.73, 327.58°)
OKLaboklab(77.18% 0.1831 -0.1144)
OKLCHoklch(77.18% 0.216 328)
XYZxyz(63.8411, 41.2716, 94.2077)
Luminance0.4127 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7AF9 #7AFB7C
analogous
#BC7AFB #FB7AF9 #FB7AB8
triadic
#FB7AF9 #F9FB7A #7AF9FB
tetradic
#FB7AF9 #FBBC7A #7AFB7C #7AB8FB
square
#FB7AF9 #FBBC7A #7AFB7C #7AB8FB
split-complementary
#FB7AF9 #B8FB7A #7AFBBC
monochromatic
#F307F0 #F93FF6 #FB7AF9 #FDB5FC #FEE1FE

Accessibility & contrast

On white

2.27
#FB7AF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.25
#FB7AF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7AF9
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7AF9#FFFFFF#000000##000000
##FB7AF91.002.279.259.25
#FFFFFF2.271.0021.0021.00
#0000009.2521.001.001.00
##0000009.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA1FD
Deuteranopia (green-blind)
#96B2F5
Tritanopia (blue-blind)
#FF88AF
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #fb7af9;
/* rgb */ color: rgb(251, 122, 249);
/* oklch */ color: oklch(77.2% 0.216 328.0);
Tailwind
colors: {
  custom: {
    50: '#ffa5fb',
    500: '#fb7af9',
    950: '#000000',
  },
}
SCSS
$custom: #fb7af9;
$custom-light: #ffa5fb;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7af9",
  "rgb": {
    "r": 251,
    "g": 122,
    "b": 249
  },
  "hsl": {
    "h": 300.93,
    "s": 94.161,
    "l": 73.137
  },
  "oklch": {
    "l": 0.77183,
    "c": 0.21591,
    "h": 328
  },
  "luminance": 0.41268
}

Semantic roles & 50–950 ramp

primary
#FB7AF9
secondary
#D5F6D5
accent
#E60400
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181017
muted
#867F85

Preview Lab

Preview with #FB7AF9

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

Preview Lab → · Contrast checker → · Palette generator →

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