#FFA1FB#FFA1FB

#FFA1FB is a very light, vivid purple. Relative luminance 0.537; OKLCH L 83.2% C 0.158 H 328.4°. Best body text is #000000 at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#FFA1FB
RGBrgb(255, 161, 251)
HSLhsl(303, 100%, 82%)
HSVhsv(303, 37%, 100%)
CMYKcmyk(0%, 36.9%, 1.6%, 0%)
CIE-LABlab(78.30, 48.06, -30.43)
CIE-LCHlch(78.30, 56.88, 327.66°)
OKLaboklab(83.22% 0.1342 -0.0826)
OKLCHoklch(83.22% 0.158 328.4)
XYZxyz(71.3962, 53.7179, 97.8559)
Luminance0.5372 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFA1FB #A1FFA5
analogous
#D4A1FF #FFA1FB #FFA1CC
triadic
#FFA1FB #FBFFA1 #A1FBFF
tetradic
#FFA1FB #FFD4A1 #A1FFA5 #A1CCFF
square
#FFA1FB #FFD4A1 #A1FFA5 #A1CCFF
split-complementary
#FFA1FB #CCFFA1 #A1FFD4
monochromatic
#FF27F6 #FF64F8 #FFA1FB #FFDEFE #FFE0FE

Accessibility & contrast

On white

1.79
#FFA1FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.74
#FFA1FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFA1FB
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFA1FB#FFFFFF#000000##000000
##FFA1FB1.001.7911.7411.74
#FFFFFF1.791.0021.0021.00
#00000011.7421.001.001.00
##00000011.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BBAFE
Deuteranopia (green-blind)
#B4C6F8
Tritanopia (blue-blind)
#FFA9C3
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #ffa1fb;
/* rgb */ color: rgb(255, 161, 251);
/* oklch */ color: oklch(83.2% 0.158 328.4);
Tailwind
colors: {
  custom: {
    50: '#ffbefd',
    500: '#ffa1fb',
    950: '#000000',
  },
}
SCSS
$custom: #ffa1fb;
$custom-light: #ffbefd;
$custom-dark: #000000;
JSON
{
  "hex": "#ffa1fb",
  "rgb": {
    "r": 255,
    "g": 161,
    "b": 251
  },
  "hsl": {
    "h": 302.553,
    "s": 100,
    "l": 81.569
  },
  "oklch": {
    "l": 0.83222,
    "c": 0.1576,
    "h": 328.4
  },
  "luminance": 0.53715
}

Semantic roles & 50–950 ramp

primary
#FFA1FB
secondary
#61E367
accent
#E60A00
background
#FFFDFF
surface
#FFF9FF
border
#D7D2D7
text
#181217
muted
#868285

Preview Lab

Preview with #FFA1FB

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

Preview Lab → · Contrast checker → · Palette generator →

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