#FFAFF4#FFAFF4

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

Color values

HEX#FFAFF4
RGBrgb(255, 175, 244)
HSLhsl(308, 100%, 84%)
HSVhsv(308, 31%, 100%)
CMYKcmyk(0%, 31.4%, 4.3%, 0%)
CIE-LABlab(80.99, 39.62, -22.54)
CIE-LCHlch(80.99, 45.58, 330.36°)
OKLaboklab(85.18% 0.112 -0.0607)
OKLCHoklch(85.18% 0.127 331.6)
XYZxyz(72.8981, 58.4546, 93.0134)
Luminance0.5845 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFAFF4 #AFFFBA
analogous
#E2AFFF #FFAFF4 #FFAFCC
triadic
#FFAFF4 #F4FFAF #AFF4FF
tetradic
#FFAFF4 #FFE2AF #AFFFBA #AFCCFF
square
#FFAFF4 #FFE2AF #AFFFBA #AFCCFF
split-complementary
#FFAFF4 #CCFFAF #AFFFE2
monochromatic
#FF35E3 #FF72EC #FFAFF4 #FFE0FB #FFE0FB

Accessibility & contrast

On white

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

On black

12.69
#FFAFF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFAFF4
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFAFF4#FFFFFF#000000##000000
##FFAFF41.001.6512.6912.69
#FFFFFF1.651.0021.0021.00
#00000012.6921.001.001.00
##00000012.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ffaff4;
/* rgb */ color: rgb(255, 175, 244);
/* oklch */ color: oklch(85.2% 0.127 331.6);
Tailwind
colors: {
  custom: {
    50: '#ffc8f7',
    500: '#ffaff4',
    950: '#000000',
  },
}
SCSS
$custom: #ffaff4;
$custom-light: #ffc8f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ffaff4",
  "rgb": {
    "r": 255,
    "g": 175,
    "b": 244
  },
  "hsl": {
    "h": 308.25,
    "s": 100,
    "l": 84.314
  },
  "oklch": {
    "l": 0.85179,
    "c": 0.12739,
    "h": 331.6
  },
  "luminance": 0.58452
}

Semantic roles & 50–950 ramp

primary
#FFAFF4
secondary
#6DE57E
accent
#E62000
background
#FFFDFF
surface
#FFF9FE
border
#D7D2D6
text
#181317
muted
#868285

Preview Lab

Preview with #FFAFF4

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

Preview Lab → · Contrast checker → · Palette generator →

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