#FB7AF5#FB7AF5

#FB7AF5 is a light, highly saturated purple. Relative luminance 0.410; OKLCH L 77.0% C 0.213 H 329.2°. Best body text is #000000 at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#FB7AF5
RGBrgb(251, 122, 245)
HSLhsl(303, 94%, 73%)
HSVhsv(303, 51%, 98%)
CMYKcmyk(0%, 51.4%, 2.4%, 1.6%)
CIE-LABlab(70.19, 64.94, -39.75)
CIE-LCHlch(70.19, 76.14, 328.53°)
OKLaboklab(77% 0.1825 -0.1089)
OKLCHoklch(77% 0.213 329.2)
XYZxyz(63.2239, 41.0247, 90.9569)
Luminance0.4102 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7AF5 #7AFB80
analogous
#C17AFB #FB7AF5 #FB7AB4
triadic
#FB7AF5 #F5FB7A #7AF5FB
tetradic
#FB7AF5 #FBC17A #7AFB80 #7AB4FB
square
#FB7AF5 #FBC17A #7AFB80 #7AB4FB
split-complementary
#FB7AF5 #B4FB7A #7AFBC1
monochromatic
#F307E8 #F93FF1 #FB7AF5 #FDB5F9 #FEE1FD

Accessibility & contrast

On white

2.28
#FB7AF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.20
#FB7AF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7AF5
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7AF5#FFFFFF#000000##000000
##FB7AF51.002.289.209.20
#FFFFFF2.281.0021.0021.00
#0000009.2021.001.001.00
##0000009.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A1F9
Deuteranopia (green-blind)
#98B2F1
Tritanopia (blue-blind)
#FF86AD
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #fb7af5;
/* rgb */ color: rgb(251, 122, 245);
/* oklch */ color: oklch(77.0% 0.213 329.2);
Tailwind
colors: {
  custom: {
    50: '#ffa5f9',
    500: '#fb7af5',
    950: '#000000',
  },
}
SCSS
$custom: #fb7af5;
$custom-light: #ffa5f9;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7af5",
  "rgb": {
    "r": 251,
    "g": 122,
    "b": 245
  },
  "hsl": {
    "h": 302.791,
    "s": 94.161,
    "l": 73.137
  },
  "oklch": {
    "l": 0.76999,
    "c": 0.21255,
    "h": 329.2
  },
  "luminance": 0.41021
}

Semantic roles & 50–950 ramp

primary
#FB7AF5
secondary
#D5F6D6
accent
#E60B00
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181017
muted
#867F85

Preview Lab

Preview with #FB7AF5

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

Preview Lab → · Contrast checker → · Palette generator →

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