#FFA1FE#FFA1FE

#FFA1FE is a very light, vivid purple. Relative luminance 0.539; OKLCH L 83.3% C 0.160 H 327.3°. Best body text is #000000 at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#FFA1FE
RGBrgb(255, 161, 254)
HSLhsl(301, 100%, 82%)
HSVhsv(301, 37%, 100%)
CMYKcmyk(0%, 36.9%, 0.4%, 0%)
CIE-LABlab(78.41, 48.59, -31.87)
CIE-LCHlch(78.41, 58.11, 326.74°)
OKLaboklab(83.34% 0.1349 -0.0867)
OKLCHoklch(83.34% 0.16 327.3)
XYZxyz(71.8729, 53.9086, 100.3662)
Luminance0.5391 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFA1FE #A1FFA2
analogous
#D1A1FF #FFA1FE #FFA1CF
triadic
#FFA1FE #FEFFA1 #A1FEFF
tetradic
#FFA1FE #FFD1A1 #A1FFA2 #A1CFFF
square
#FFA1FE #FFD1A1 #A1FFA2 #A1CFFF
split-complementary
#FFA1FE #CFFFA1 #A1FFD1
monochromatic
#FF27FD #FF64FD #FFA1FE #FFDEFF #FFE0FF

Accessibility & contrast

On white

1.78
#FFA1FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.78
#FFA1FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFA1FE
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFA1FE#FFFFFF#000000##000000
##FFA1FE1.001.7811.7811.78
#FFFFFF1.781.0021.0021.00
#00000011.7821.001.001.00
##00000011.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9ABAFF
Deuteranopia (green-blind)
#B3C6FB
Tritanopia (blue-blind)
#FFAAC4
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #ffa1fe;
/* rgb */ color: rgb(255, 161, 254);
/* oklch */ color: oklch(83.3% 0.160 327.3);
Tailwind
colors: {
  custom: {
    50: '#ffbeff',
    500: '#ffa1fe',
    950: '#000000',
  },
}
SCSS
$custom: #ffa1fe;
$custom-light: #ffbeff;
$custom-dark: #000000;
JSON
{
  "hex": "#ffa1fe",
  "rgb": {
    "r": 255,
    "g": 161,
    "b": 254
  },
  "hsl": {
    "h": 300.638,
    "s": 100,
    "l": 81.569
  },
  "oklch": {
    "l": 0.83342,
    "c": 0.16036,
    "h": 327.3
  },
  "luminance": 0.53905
}

Semantic roles & 50–950 ramp

primary
#FFA1FE
secondary
#61E362
accent
#E60200
background
#FFFDFF
surface
#FFF9FF
border
#D7D2D7
text
#181218
muted
#868286

Preview Lab

Preview with #FFA1FE

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

Preview Lab → · Contrast checker → · Palette generator →

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