#FB9AFA#FB9AFA

#FB9AFA is a light, vivid purple. Relative luminance 0.505; OKLCH L 81.7% C 0.166 H 327.3°. Best body text is #000000 at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#FB9AFA
RGBrgb(251, 154, 250)
HSLhsl(301, 92%, 79%)
HSVhsv(301, 39%, 98%)
CMYKcmyk(0%, 38.6%, 0.4%, 1.6%)
CIE-LABlab(76.39, 50.25, -32.86)
CIE-LCHlch(76.39, 60.04, 326.82°)
OKLaboklab(81.68% 0.1396 -0.0895)
OKLCHoklch(81.68% 0.166 327.3)
XYZxyz(68.5933, 50.5257, 96.5633)
Luminance0.5052 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB9AFA #9AFB9B
analogous
#CC9AFB #FB9AFA #FB9AC9
triadic
#FB9AFA #FAFB9A #9AFAFB
tetradic
#FB9AFA #FBCC9A #9AFB9B #9AC9FB
square
#FB9AFA #FBCC9A #9AFB9B #9AC9FB
split-complementary
#FB9AFA #C9FB9A #9AFBCC
monochromatic
#F624F4 #F95FF7 #FB9AFA #FDD5FD #FEE2FE

Accessibility & contrast

On white

1.89
#FB9AFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.10
#FB9AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB9AFA
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB9AFA#FFFFFF#000000##000000
##FB9AFA1.001.8911.1011.10
#FFFFFF1.891.0021.0021.00
#00000011.1021.001.001.00
##00000011.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#93B5FD
Deuteranopia (green-blind)
#ACC1F7
Tritanopia (blue-blind)
#FFA3BF
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #fb9afa;
/* rgb */ color: rgb(251, 154, 250);
/* oklch */ color: oklch(81.7% 0.166 327.3);
Tailwind
colors: {
  custom: {
    50: '#febafc',
    500: '#fb9afa',
    950: '#000000',
  },
}
SCSS
$custom: #fb9afa;
$custom-light: #febafc;
$custom-dark: #000000;
JSON
{
  "hex": "#fb9afa",
  "rgb": {
    "r": 251,
    "g": 154,
    "b": 250
  },
  "hsl": {
    "h": 300.619,
    "s": 92.381,
    "l": 79.412
  },
  "oklch": {
    "l": 0.81678,
    "c": 0.1658,
    "h": 327.3
  },
  "luminance": 0.50523
}

Semantic roles & 50–950 ramp

primary
#FB9AFA
secondary
#5DDC5E
accent
#E60200
background
#FFFDFF
surface
#FFF8FF
border
#D7D1D7
text
#181217
muted
#868285

Preview Lab

Preview with #FB9AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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