#FFAFF8#FFAFF8

#FFAFF8 is a very light, vivid purple. Relative luminance 0.587; OKLCH L 85.3% C 0.131 H 329.7°. Best body text is #000000 at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#FFAFF8
RGBrgb(255, 175, 248)
HSLhsl(305, 100%, 84%)
HSVhsv(305, 31%, 100%)
CMYKcmyk(0%, 31.4%, 2.7%, 0%)
CIE-LABlab(81.13, 40.31, -24.48)
CIE-LCHlch(81.13, 47.17, 328.73°)
OKLaboklab(85.33% 0.1131 -0.0661)
OKLCHoklch(85.33% 0.131 329.7)
XYZxyz(73.5120, 58.7001, 96.2467)
Luminance0.5870 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFAFF8 #AFFFB6
analogous
#DEAFFF #FFAFF8 #FFAFD0
triadic
#FFAFF8 #F8FFAF #AFF8FF
tetradic
#FFAFF8 #FFDEAF #AFFFB6 #AFD0FF
square
#FFAFF8 #FFDEAF #AFFFB6 #AFD0FF
split-complementary
#FFAFF8 #D0FFAF #AFFFDE
monochromatic
#FF35ED #FF72F3 #FFAFF8 #FFE0FC #FFE0FC

Accessibility & contrast

On white

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

On black

12.74
#FFAFF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFAFF8
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFAFF8#FFFFFF#000000##000000
##FFAFF81.001.6512.7412.74
#FFFFFF1.651.0021.0021.00
#00000012.7421.001.001.00
##00000012.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#ACC3FB
Deuteranopia (green-blind)
#BFCDF5
Tritanopia (blue-blind)
#FFB4C9
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #ffaff8;
/* rgb */ color: rgb(255, 175, 248);
/* oklch */ color: oklch(85.3% 0.131 329.7);
Tailwind
colors: {
  custom: {
    50: '#ffc8fa',
    500: '#ffaff8',
    950: '#000000',
  },
}
SCSS
$custom: #ffaff8;
$custom-light: #ffc8fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ffaff8",
  "rgb": {
    "r": 255,
    "g": 175,
    "b": 248
  },
  "hsl": {
    "h": 305.25,
    "s": 100,
    "l": 84.314
  },
  "oklch": {
    "l": 0.85327,
    "c": 0.131,
    "h": 329.7
  },
  "luminance": 0.58697
}

Semantic roles & 50–950 ramp

primary
#FFAFF8
secondary
#6DE577
accent
#E61400
background
#FFFDFF
surface
#FFF9FF
border
#D7D2D7
text
#181317
muted
#868285

Preview Lab

Preview with #FFAFF8

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

Preview Lab → · Contrast checker → · Palette generator →

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