#FFA2F7#FFA2F7

#FFA2F7 is a very light, vivid purple. Relative luminance 0.538; OKLCH L 83.2% C 0.152 H 329.9°. Best body text is #000000 at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#FFA2F7
RGBrgb(255, 162, 247)
HSLhsl(305, 100%, 82%)
HSVhsv(305, 36%, 100%)
CMYKcmyk(0%, 36.5%, 3.1%, 0%)
CIE-LABlab(78.36, 46.85, -28.18)
CIE-LCHlch(78.36, 54.67, 328.98°)
OKLaboklab(83.22% 0.1318 -0.0763)
OKLCHoklch(83.22% 0.152 329.9)
XYZxyz(70.9478, 53.8193, 94.6287)
Luminance0.5382 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFA2F7 #A2FFAA
analogous
#D9A2FF #FFA2F7 #FFA2C9
triadic
#FFA2F7 #F7FFA2 #A2F7FF
tetradic
#FFA2F7 #FFD9A2 #A2FFAA #A2C9FF
square
#FFA2F7 #FFD9A2 #A2FFAA #A2C9FF
split-complementary
#FFA2F7 #C9FFA2 #A2FFD9
monochromatic
#FF28EC #FF65F2 #FFA2F7 #FFDFFC #FFE0FC

Accessibility & contrast

On white

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

On black

11.76
#FFA2F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFA2F7
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFA2F7#FFFFFF#000000##000000
##FFA2F71.001.7911.7611.76
#FFFFFF1.791.0021.0021.00
#00000011.7621.001.001.00
##00000011.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9EBAFA
Deuteranopia (green-blind)
#B6C6F4
Tritanopia (blue-blind)
#FFA9C2
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #ffa2f7;
/* rgb */ color: rgb(255, 162, 247);
/* oklch */ color: oklch(83.2% 0.152 329.9);
Tailwind
colors: {
  custom: {
    50: '#ffbffa',
    500: '#ffa2f7',
    950: '#000000',
  },
}
SCSS
$custom: #ffa2f7;
$custom-light: #ffbffa;
$custom-dark: #000000;
JSON
{
  "hex": "#ffa2f7",
  "rgb": {
    "r": 255,
    "g": 162,
    "b": 247
  },
  "hsl": {
    "h": 305.161,
    "s": 100,
    "l": 81.765
  },
  "oklch": {
    "l": 0.83218,
    "c": 0.15229,
    "h": 329.9
  },
  "luminance": 0.53816
}

Semantic roles & 50–950 ramp

primary
#FFA2F7
secondary
#62E36D
accent
#E61400
background
#FFFDFF
surface
#FFF9FF
border
#D7D2D7
text
#181217
muted
#868285

Preview Lab

Preview with #FFA2F7

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

Preview Lab → · Contrast checker → · Palette generator →

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