#FFAAF3#FFAAF3

#FFAAF3 is a very light, vivid purple. Relative luminance 0.565; OKLCH L 84.3% C 0.135 H 331.8°. Best body text is #000000 at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#FFAAF3
RGBrgb(255, 170, 243)
HSLhsl(308, 100%, 83%)
HSVhsv(308, 33%, 100%)
CMYKcmyk(0%, 33.3%, 4.7%, 0%)
CIE-LABlab(79.89, 42.04, -23.68)
CIE-LCHlch(79.89, 48.25, 330.61°)
OKLaboklab(84.33% 0.1191 -0.0638)
OKLCHoklch(84.33% 0.135 331.8)
XYZxyz(71.7915, 56.4836, 91.8975)
Luminance0.5648 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFAAF3 #AAFFB6
analogous
#E0AAFF #FFAAF3 #FFAAC8
triadic
#FFAAF3 #F3FFAA #AAF3FF
tetradic
#FFAAF3 #FFE0AA #AAFFB6 #AAC8FF
square
#FFAAF3 #FFE0AA #AAFFB6 #AAC8FF
split-complementary
#FFAAF3 #C8FFAA #AAFFE0
monochromatic
#FF30E2 #FF6DEA #FFAAF3 #FFE0FB #FFE0FB

Accessibility & contrast

On white

1.71
#FFAAF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.30
#FFAAF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFAAF3
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFAAF3#FFFFFF#000000##000000
##FFAAF31.001.7112.3012.30
#FFFFFF1.711.0021.0021.00
#00000012.3021.001.001.00
##00000012.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8BFF6
Deuteranopia (green-blind)
#BDCAF0
Tritanopia (blue-blind)
#FFAFC4
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #ffaaf3;
/* rgb */ color: rgb(255, 170, 243);
/* oklch */ color: oklch(84.3% 0.135 331.8);
Tailwind
colors: {
  custom: {
    50: '#ffc4f7',
    500: '#ffaaf3',
    950: '#000000',
  },
}
SCSS
$custom: #ffaaf3;
$custom-light: #ffc4f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ffaaf3",
  "rgb": {
    "r": 255,
    "g": 170,
    "b": 243
  },
  "hsl": {
    "h": 308.471,
    "s": 100,
    "l": 83.333
  },
  "oklch": {
    "l": 0.84331,
    "c": 0.1351,
    "h": 331.8
  },
  "luminance": 0.56481
}

Semantic roles & 50–950 ramp

primary
#FFAAF3
secondary
#69E47A
accent
#E62000
background
#FFFDFF
surface
#FFF9FE
border
#D7D2D6
text
#181317
muted
#868285

Preview Lab

Preview with #FFAAF3

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

Preview Lab → · Contrast checker → · Palette generator →

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