#FFAFF5#FFAFF5

#FFAFF5 is a very light, vivid purple. Relative luminance 0.585; OKLCH L 85.2% C 0.128 H 331.1°. Best body text is #000000 at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#FFAFF5
RGBrgb(255, 175, 245)
HSLhsl(308, 100%, 84%)
HSVhsv(308, 31%, 100%)
CMYKcmyk(0%, 31.4%, 3.9%, 0%)
CIE-LABlab(81.02, 39.79, -23.03)
CIE-LCHlch(81.02, 45.97, 329.94°)
OKLaboklab(85.22% 0.1123 -0.062)
OKLCHoklch(85.22% 0.128 331.1)
XYZxyz(73.0503, 58.5155, 93.8152)
Luminance0.5851 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFAFF5 #AFFFB9
analogous
#E1AFFF #FFAFF5 #FFAFCD
triadic
#FFAFF5 #F5FFAF #AFF5FF
tetradic
#FFAFF5 #FFE1AF #AFFFB9 #AFCDFF
square
#FFAFF5 #FFE1AF #AFFFB9 #AFCDFF
split-complementary
#FFAFF5 #CDFFAF #AFFFE1
monochromatic
#FF35E6 #FF72ED #FFAFF5 #FFE0FB #FFE0FB

Accessibility & contrast

On white

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

On black

12.70
#FFAFF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFAFF5
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFAFF5#FFFFFF#000000##000000
##FFAFF51.001.6512.7012.70
#FFFFFF1.651.0021.0021.00
#00000012.7021.001.001.00
##00000012.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#ADC2F8
Deuteranopia (green-blind)
#C0CDF2
Tritanopia (blue-blind)
#FFB4C8
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #ffaff5;
/* rgb */ color: rgb(255, 175, 245);
/* oklch */ color: oklch(85.2% 0.128 331.1);
Tailwind
colors: {
  custom: {
    50: '#ffc8f8',
    500: '#ffaff5',
    950: '#000000',
  },
}
SCSS
$custom: #ffaff5;
$custom-light: #ffc8f8;
$custom-dark: #000000;
JSON
{
  "hex": "#ffaff5",
  "rgb": {
    "r": 255,
    "g": 175,
    "b": 245
  },
  "hsl": {
    "h": 307.5,
    "s": 100,
    "l": 84.314
  },
  "oklch": {
    "l": 0.85216,
    "c": 0.12828,
    "h": 331.1
  },
  "luminance": 0.58513
}

Semantic roles & 50–950 ramp

primary
#FFAFF5
secondary
#6DE57C
accent
#E61D00
background
#FFFDFF
surface
#FFF9FF
border
#D7D2D7
text
#181317
muted
#868285

Preview Lab

Preview with #FFAFF5

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

Preview Lab → · Contrast checker → · Palette generator →

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