#FFA2FB#FFA2FB

#FFA2FB is a very light, vivid purple. Relative luminance 0.541; OKLCH L 83.4% C 0.156 H 328.4°. Best body text is #000000 at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#FFA2FB
RGBrgb(255, 162, 251)
HSLhsl(303, 100%, 82%)
HSVhsv(303, 36%, 100%)
CMYKcmyk(0%, 36.5%, 1.6%, 0%)
CIE-LABlab(78.50, 47.55, -30.11)
CIE-LCHlch(78.50, 56.28, 327.66°)
OKLaboklab(83.38% 0.1328 -0.0818)
OKLCHoklch(83.38% 0.156 328.4)
XYZxyz(71.5717, 54.0688, 97.9144)
Luminance0.5407 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFA2FB #A2FFA6
analogous
#D5A2FF #FFA2FB #FFA2CD
triadic
#FFA2FB #FBFFA2 #A2FBFF
tetradic
#FFA2FB #FFD5A2 #A2FFA6 #A2CDFF
square
#FFA2FB #FFD5A2 #A2FFA6 #A2CDFF
split-complementary
#FFA2FB #CDFFA2 #A2FFD5
monochromatic
#FF28F6 #FF65F8 #FFA2FB #FFDFFE #FFE0FE

Accessibility & contrast

On white

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

On black

11.81
#FFA2FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFA2FB
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFA2FB#FFFFFF#000000##000000
##FFA2FB1.001.7811.8111.81
#FFFFFF1.781.0021.0021.00
#00000011.8121.001.001.00
##00000011.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9DBBFE
Deuteranopia (green-blind)
#B4C7F8
Tritanopia (blue-blind)
#FFAAC3
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #ffa2fb;
/* rgb */ color: rgb(255, 162, 251);
/* oklch */ color: oklch(83.4% 0.156 328.4);
Tailwind
colors: {
  custom: {
    50: '#ffbffd',
    500: '#ffa2fb',
    950: '#000000',
  },
}
SCSS
$custom: #ffa2fb;
$custom-light: #ffbffd;
$custom-dark: #000000;
JSON
{
  "hex": "#ffa2fb",
  "rgb": {
    "r": 255,
    "g": 162,
    "b": 251
  },
  "hsl": {
    "h": 302.581,
    "s": 100,
    "l": 81.765
  },
  "oklch": {
    "l": 0.83376,
    "c": 0.15592,
    "h": 328.4
  },
  "luminance": 0.54066
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FFA2FB

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

Preview Lab → · Contrast checker → · Palette generator →

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