#F8AFFC#F8AFFC

#F8AFFC is a very light, vivid purple. Relative luminance 0.576; OKLCH L 84.8% C 0.130 H 324.9°. Best body text is #000000 at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#F8AFFC
RGBrgb(248, 175, 252)
HSLhsl(297, 93%, 84%)
HSVhsv(297, 31%, 99%)
CMYKcmyk(1.6%, 30.6%, 0%, 1.2%)
CIE-LABlab(80.54, 38.84, -27.59)
CIE-LCHlch(80.54, 47.64, 324.62°)
OKLaboklab(84.77% 0.1065 -0.0748)
OKLCHoklch(84.77% 0.13 324.9)
XYZxyz(71.6102, 57.6470, 99.4314)
Luminance0.5765 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8AFFC #B3FCAF
analogous
#D1AFFC #F8AFFC #FCAFD9
triadic
#F8AFFC #FCF8AF #AFFCF8
tetradic
#F8AFFC #FCD1AF #B3FCAF #AFD9FC
square
#F8AFFC #FCD1AF #B3FCAF #AFD9FC
split-complementary
#F8AFFC #D9FCAF #AFFCD1
monochromatic
#EE39F8 #F374FA #F8AFFC #FCE2FE #FCE2FE

Accessibility & contrast

On white

1.68
#F8AFFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.53
#F8AFFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8AFFC
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8AFFC#FFFFFF#000000##000000
##F8AFFC1.001.6812.5312.53
#FFFFFF1.681.0021.0021.00
#00000012.5321.001.001.00
##00000012.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9C2FF
Deuteranopia (green-blind)
#BACBF9
Tritanopia (blue-blind)
#FCB6CB
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #f8affc;
/* rgb */ color: rgb(248, 175, 252);
/* oklch */ color: oklch(84.8% 0.130 324.9);
Tailwind
colors: {
  custom: {
    50: '#fbc8fd',
    500: '#f8affc',
    950: '#000000',
  },
}
SCSS
$custom: #f8affc;
$custom-light: #fbc8fd;
$custom-dark: #000000;
JSON
{
  "hex": "#f8affc",
  "rgb": {
    "r": 248,
    "g": 175,
    "b": 252
  },
  "hsl": {
    "h": 296.883,
    "s": 92.771,
    "l": 83.725
  },
  "oklch": {
    "l": 0.84767,
    "c": 0.13013,
    "h": 324.9
  },
  "luminance": 0.57645
}

Semantic roles & 50–950 ramp

primary
#F8AFFC
secondary
#75E06F
accent
#E6000C
background
#FFFDFF
surface
#FFF9FF
border
#D7D2D7
text
#171317
muted
#858285

Preview Lab

Preview with #F8AFFC

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

Preview Lab → · Contrast checker → · Palette generator →

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