#FFAFF9#FFAFF9

#FFAFF9 is a very light, vivid purple. Relative luminance 0.588; OKLCH L 85.4% C 0.132 H 329.3°. Best body text is #000000 at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#FFAFF9
RGBrgb(255, 175, 249)
HSLhsl(305, 100%, 84%)
HSVhsv(305, 31%, 100%)
CMYKcmyk(0%, 31.4%, 2.4%, 0%)
CIE-LABlab(81.16, 40.49, -24.97)
CIE-LCHlch(81.16, 47.57, 328.34°)
OKLaboklab(85.36% 0.1134 -0.0674)
OKLCHoklch(85.36% 0.132 329.3)
XYZxyz(73.6675, 58.7624, 97.0660)
Luminance0.5876 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFAFF9 #AFFFB5
analogous
#DDAFFF #FFAFF9 #FFAFD1
triadic
#FFAFF9 #F9FFAF #AFF9FF
tetradic
#FFAFF9 #FFDDAF #AFFFB5 #AFD1FF
square
#FFAFF9 #FFDDAF #AFFFB5 #AFD1FF
split-complementary
#FFAFF9 #D1FFAF #AFFFDD
monochromatic
#FF35F0 #FF72F4 #FFAFF9 #FFE0FD #FFE0FD

Accessibility & contrast

On white

1.65
#FFAFF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.75
#FFAFF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFAFF9
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFAFF9#FFFFFF#000000##000000
##FFAFF91.001.6512.7512.75
#FFFFFF1.651.0021.0021.00
#00000012.7521.001.001.00
##00000012.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#ABC3FC
Deuteranopia (green-blind)
#BFCDF6
Tritanopia (blue-blind)
#FFB5CA
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #ffaff9;
/* rgb */ color: rgb(255, 175, 249);
/* oklch */ color: oklch(85.4% 0.132 329.3);
Tailwind
colors: {
  custom: {
    50: '#ffc8fb',
    500: '#ffaff9',
    950: '#000000',
  },
}
SCSS
$custom: #ffaff9;
$custom-light: #ffc8fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ffaff9",
  "rgb": {
    "r": 255,
    "g": 175,
    "b": 249
  },
  "hsl": {
    "h": 304.5,
    "s": 100,
    "l": 84.314
  },
  "oklch": {
    "l": 0.85364,
    "c": 0.13192,
    "h": 329.3
  },
  "luminance": 0.58759
}

Semantic roles & 50–950 ramp

primary
#FFAFF9
secondary
#6DE576
accent
#E61100
background
#FFFDFF
surface
#FFF9FF
border
#D7D2D7
text
#181317
muted
#868285

Preview Lab

Preview with #FFAFF9

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

Preview Lab → · Contrast checker → · Palette generator →

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