#FA7AFB#FA7AFB

#FA7AFB is a light, highly saturated purple. Relative luminance 0.412; OKLCH L 77.2% C 0.217 H 327.1°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#FA7AFB
RGBrgb(250, 122, 251)
HSLhsl(300, 94%, 73%)
HSVhsv(300, 51%, 98%)
CMYKcmyk(0.4%, 51.4%, 0%, 1.6%)
CIE-LABlab(70.32, 65.69, -42.84)
CIE-LCHlch(70.32, 78.43, 326.89°)
OKLaboklab(77.15% 0.1823 -0.1178)
OKLCHoklch(77.15% 0.217 327.1)
XYZxyz(63.7954, 41.2117, 95.8425)
Luminance0.4121 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FA7AFB #7BFB7A
analogous
#B97AFB #FA7AFB #FB7ABB
triadic
#FA7AFB #FBFA7A #7AFBFA
tetradic
#FA7AFB #FBB97A #7BFB7A #7ABBFB
square
#FA7AFB #FBB97A #7BFB7A #7ABBFB
split-complementary
#FA7AFB #BBFB7A #7AFBB9
monochromatic
#F107F3 #F83FF9 #FA7AFB #FCB5FD #FEE1FE

Accessibility & contrast

On white

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

On black

9.24
#FA7AFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FA7AFB
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FA7AFB#FFFFFF#000000##000000
##FA7AFB1.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6DA1FF
Deuteranopia (green-blind)
#95B2F7
Tritanopia (blue-blind)
#FF89B0
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #fa7afb;
/* rgb */ color: rgb(250, 122, 251);
/* oklch */ color: oklch(77.2% 0.217 327.1);
Tailwind
colors: {
  custom: {
    50: '#ffa5fd',
    500: '#fa7afb',
    950: '#000000',
  },
}
SCSS
$custom: #fa7afb;
$custom-light: #ffa5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#fa7afb",
  "rgb": {
    "r": 250,
    "g": 122,
    "b": 251
  },
  "hsl": {
    "h": 299.535,
    "s": 94.161,
    "l": 73.137
  },
  "oklch": {
    "l": 0.77154,
    "c": 0.21703,
    "h": 327.1
  },
  "luminance": 0.41208
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FA7AFB

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

Preview Lab → · Contrast checker → · Palette generator →

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