#FFAFF3#FFAFF3

#FFAFF3 is a very light, vivid purple. Relative luminance 0.584; OKLCH L 85.1% C 0.127 H 332.0°. Best body text is #000000 at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#FFAFF3
RGBrgb(255, 175, 243)
HSLhsl(309, 100%, 84%)
HSVhsv(309, 31%, 100%)
CMYKcmyk(0%, 31.4%, 4.7%, 0%)
CIE-LABlab(80.96, 39.44, -22.06)
CIE-LCHlch(80.96, 45.19, 330.79°)
OKLaboklab(85.14% 0.1117 -0.0593)
OKLCHoklch(85.14% 0.127 332)
XYZxyz(72.7466, 58.3940, 92.2159)
Luminance0.5839 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFAFF3 #AFFFBB
analogous
#E3AFFF #FFAFF3 #FFAFCB
triadic
#FFAFF3 #F3FFAF #AFF3FF
tetradic
#FFAFF3 #FFE3AF #AFFFBB #AFCBFF
square
#FFAFF3 #FFE3AF #AFFFBB #AFCBFF
split-complementary
#FFAFF3 #CBFFAF #AFFFE3
monochromatic
#FF35E1 #FF72EA #FFAFF3 #FFE0FA #FFE0FA

Accessibility & contrast

On white

1.66
#FFAFF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.68
#FFAFF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFAFF3
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFAFF3#FFFFFF#000000##000000
##FFAFF31.001.6612.6812.68
#FFFFFF1.661.0021.0021.00
#00000012.6821.001.001.00
##00000012.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#ADC2F6
Deuteranopia (green-blind)
#C1CDF0
Tritanopia (blue-blind)
#FFB3C7
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #ffaff3;
/* rgb */ color: rgb(255, 175, 243);
/* oklch */ color: oklch(85.1% 0.127 332.0);
Tailwind
colors: {
  custom: {
    50: '#ffc8f7',
    500: '#ffaff3',
    950: '#000000',
  },
}
SCSS
$custom: #ffaff3;
$custom-light: #ffc8f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ffaff3",
  "rgb": {
    "r": 255,
    "g": 175,
    "b": 243
  },
  "hsl": {
    "h": 309,
    "s": 100,
    "l": 84.314
  },
  "oklch": {
    "l": 0.85143,
    "c": 0.1265,
    "h": 332
  },
  "luminance": 0.58391
}

Semantic roles & 50–950 ramp

primary
#FFAFF3
secondary
#6DE57F
accent
#E62200
background
#FFFDFF
surface
#FFF9FE
border
#D7D2D6
text
#181317
muted
#868285

Preview Lab

Preview with #FFAFF3

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

Preview Lab → · Contrast checker → · Palette generator →

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