#FFAFF6#FFAFF6

#FFAFF6 is a very light, vivid purple. Relative luminance 0.586; OKLCH L 85.3% C 0.129 H 330.6°. Best body text is #000000 at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#FFAFF6
RGBrgb(255, 175, 246)
HSLhsl(307, 100%, 84%)
HSVhsv(307, 31%, 100%)
CMYKcmyk(0%, 31.4%, 3.5%, 0%)
CIE-LABlab(81.06, 39.96, -23.51)
CIE-LCHlch(81.06, 46.37, 329.53°)
OKLaboklab(85.25% 0.1126 -0.0634)
OKLCHoklch(85.25% 0.129 330.6)
XYZxyz(73.2034, 58.5767, 94.6213)
Luminance0.5857 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFAFF6 #AFFFB8
analogous
#E0AFFF #FFAFF6 #FFAFCE
triadic
#FFAFF6 #F6FFAF #AFF6FF
tetradic
#FFAFF6 #FFE0AF #AFFFB8 #AFCEFF
square
#FFAFF6 #FFE0AF #AFFFB8 #AFCEFF
split-complementary
#FFAFF6 #CEFFAF #AFFFE0
monochromatic
#FF35E8 #FF72EF #FFAFF6 #FFE0FC #FFE0FC

Accessibility & contrast

On white

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

On black

12.71
#FFAFF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFAFF6
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFAFF6#FFFFFF#000000##000000
##FFAFF61.001.6512.7112.71
#FFFFFF1.651.0021.0021.00
#00000012.7121.001.001.00
##00000012.7121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ffaff6;
/* rgb */ color: rgb(255, 175, 246);
/* oklch */ color: oklch(85.3% 0.129 330.6);
Tailwind
colors: {
  custom: {
    50: '#ffc8f9',
    500: '#ffaff6',
    950: '#000000',
  },
}
SCSS
$custom: #ffaff6;
$custom-light: #ffc8f9;
$custom-dark: #000000;
JSON
{
  "hex": "#ffaff6",
  "rgb": {
    "r": 255,
    "g": 175,
    "b": 246
  },
  "hsl": {
    "h": 306.75,
    "s": 100,
    "l": 84.314
  },
  "oklch": {
    "l": 0.85253,
    "c": 0.12918,
    "h": 330.6
  },
  "luminance": 0.58574
}

Semantic roles & 50–950 ramp

primary
#FFAFF6
secondary
#6DE57B
accent
#E61A00
background
#FFFDFF
surface
#FFF9FF
border
#D7D2D7
text
#181317
muted
#868285

Preview Lab

Preview with #FFAFF6

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

Preview Lab → · Contrast checker → · Palette generator →

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