#FFAFF7#FFAFF7

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

Color values

HEX#FFAFF7
RGBrgb(255, 175, 247)
HSLhsl(306, 100%, 84%)
HSVhsv(306, 31%, 100%)
CMYKcmyk(0%, 31.4%, 3.1%, 0%)
CIE-LABlab(81.09, 40.14, -24.00)
CIE-LCHlch(81.09, 46.77, 329.12°)
OKLaboklab(85.29% 0.1128 -0.0647)
OKLCHoklch(85.29% 0.13 330.2)
XYZxyz(73.3573, 58.6383, 95.4319)
Luminance0.5864 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFAFF7 #AFFFB7
analogous
#DFAFFF #FFAFF7 #FFAFCF
triadic
#FFAFF7 #F7FFAF #AFF7FF
tetradic
#FFAFF7 #FFDFAF #AFFFB7 #AFCFFF
square
#FFAFF7 #FFDFAF #AFFFB7 #AFCFFF
split-complementary
#FFAFF7 #CFFFAF #AFFFDF
monochromatic
#FF35EB #FF72F1 #FFAFF7 #FFE0FC #FFE0FC

Accessibility & contrast

On white

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

On black

12.73
#FFAFF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFAFF7
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFAFF7#FFFFFF#000000##000000
##FFAFF71.001.6512.7312.73
#FFFFFF1.651.0021.0021.00
#00000012.7321.001.001.00
##00000012.7321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ffaff7;
/* rgb */ color: rgb(255, 175, 247);
/* oklch */ color: oklch(85.3% 0.130 330.2);
Tailwind
colors: {
  custom: {
    50: '#ffc8fa',
    500: '#ffaff7',
    950: '#000000',
  },
}
SCSS
$custom: #ffaff7;
$custom-light: #ffc8fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ffaff7",
  "rgb": {
    "r": 255,
    "g": 175,
    "b": 247
  },
  "hsl": {
    "h": 306,
    "s": 100,
    "l": 84.314
  },
  "oklch": {
    "l": 0.8529,
    "c": 0.13008,
    "h": 330.2
  },
  "luminance": 0.58635
}

Semantic roles & 50–950 ramp

primary
#FFAFF7
secondary
#6DE579
accent
#E61700
background
#FFFDFF
surface
#FFF9FF
border
#D7D2D7
text
#181317
muted
#868285

Preview Lab

Preview with #FFAFF7

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

Preview Lab → · Contrast checker → · Palette generator →

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