#FA7BFB#FA7BFB

#FA7BFB is a light, highly saturated purple. Relative luminance 0.415; OKLCH L 77.3% C 0.216 H 327.1°. Best body text is #000000 at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#FA7BFB
RGBrgb(250, 123, 251)
HSLhsl(300, 94%, 73%)
HSVhsv(300, 51%, 98%)
CMYKcmyk(0.4%, 51%, 0%, 1.6%)
CIE-LABlab(70.50, 65.23, -42.57)
CIE-LCHlch(70.50, 77.89, 326.87°)
OKLaboklab(77.28% 0.181 -0.117)
OKLCHoklch(77.28% 0.216 327.1)
XYZxyz(63.9188, 41.4586, 95.8836)
Luminance0.4145 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FA7BFB #7CFB7B
analogous
#BA7BFB #FA7BFB #FB7BBC
triadic
#FA7BFB #FBFA7B #7BFBFA
tetradic
#FA7BFB #FBBA7B #7CFB7B #7BBCFB
square
#FA7BFB #FBBA7B #7CFB7B #7BBCFB
split-complementary
#FA7BFB #BCFB7B #7BFBBA
monochromatic
#F207F4 #F840F9 #FA7BFB #FCB6FD #FEE1FE

Accessibility & contrast

On white

2.26
#FA7BFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.29
#FA7BFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FA7BFB
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FA7BFB#FFFFFF#000000##000000
##FA7BFB1.002.269.299.29
#FFFFFF2.261.0021.0021.00
#0000009.2921.001.001.00
##0000009.2921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fa7bfb;
/* rgb */ color: rgb(250, 123, 251);
/* oklch */ color: oklch(77.3% 0.216 327.1);
Tailwind
colors: {
  custom: {
    50: '#ffa6fd',
    500: '#fa7bfb',
    950: '#000000',
  },
}
SCSS
$custom: #fa7bfb;
$custom-light: #ffa6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#fa7bfb",
  "rgb": {
    "r": 250,
    "g": 123,
    "b": 251
  },
  "hsl": {
    "h": 299.531,
    "s": 94.118,
    "l": 73.333
  },
  "oklch": {
    "l": 0.7728,
    "c": 0.21553,
    "h": 327.1
  },
  "luminance": 0.41455
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FA7BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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