#FB7AF0#FB7AF0

#FB7AF0 is a light, highly saturated purple. Relative luminance 0.407; OKLCH L 76.8% C 0.208 H 330.7°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#FB7AF0
RGBrgb(251, 122, 240)
HSLhsl(305, 94%, 73%)
HSVhsv(305, 51%, 98%)
CMYKcmyk(0%, 51.4%, 4.4%, 1.6%)
CIE-LABlab(69.98, 64.12, -37.34)
CIE-LCHlch(69.98, 74.19, 329.79°)
OKLaboklab(76.77% 0.1818 -0.102)
OKLCHoklch(76.77% 0.208 330.7)
XYZxyz(62.4709, 40.7235, 86.9912)
Luminance0.4072 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7AF0 #7AFB85
analogous
#C57AFB #FB7AF0 #FB7AAF
triadic
#FB7AF0 #F0FB7A #7AF0FB
tetradic
#FB7AF0 #FBC57A #7AFB85 #7AAFFB
square
#FB7AF0 #FBC57A #7AFB85 #7AAFFB
split-complementary
#FB7AF0 #AFFB7A #7AFBC5
monochromatic
#F307DF #F93FE9 #FB7AF0 #FDB5F7 #FEE1FC

Accessibility & contrast

On white

2.30
#FB7AF0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.14
#FB7AF0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7AF0
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7AF0#FFFFFF#000000##000000
##FB7AF01.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A0F4
Deuteranopia (green-blind)
#9AB1EC
Tritanopia (blue-blind)
#FF85AA
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #fb7af0;
/* rgb */ color: rgb(251, 122, 240);
/* oklch */ color: oklch(76.8% 0.208 330.7);
Tailwind
colors: {
  custom: {
    50: '#ffa5f5',
    500: '#fb7af0',
    950: '#000000',
  },
}
SCSS
$custom: #fb7af0;
$custom-light: #ffa5f5;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7af0",
  "rgb": {
    "r": 251,
    "g": 122,
    "b": 240
  },
  "hsl": {
    "h": 305.116,
    "s": 94.161,
    "l": 73.137
  },
  "oklch": {
    "l": 0.76774,
    "c": 0.20842,
    "h": 330.7
  },
  "luminance": 0.4072
}

Semantic roles & 50–950 ramp

primary
#FB7AF0
secondary
#D5F6D8
accent
#E61400
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181017
muted
#867F85

Preview Lab

Preview with #FB7AF0

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

Preview Lab → · Contrast checker → · Palette generator →

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