#F8A7FB#F8A7FB

#F8A7FB is a very light, vivid purple. Relative luminance 0.546; OKLCH L 83.4% C 0.143 H 325.5°. Best body text is #000000 at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#F8A7FB
RGBrgb(248, 167, 251)
HSLhsl(298, 91%, 82%)
HSVhsv(298, 33%, 98%)
CMYKcmyk(1.2%, 33.5%, 0%, 1.6%)
CIE-LABlab(78.79, 42.84, -29.74)
CIE-LCHlch(78.79, 52.15, 325.23°)
OKLaboklab(83.43% 0.1178 -0.0808)
OKLCHoklch(83.43% 0.143 325.5)
XYZxyz(69.9410, 54.5615, 98.0953)
Luminance0.5456 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8A7FB #AAFBA7
analogous
#CEA7FB #F8A7FB #FBA7D4
triadic
#F8A7FB #FBF8A7 #A7FBF8
tetradic
#F8A7FB #FBCEA7 #AAFBA7 #A7D4FB
square
#F8A7FB #FBCEA7 #AAFBA7 #A7D4FB
split-complementary
#F8A7FB #D4FBA7 #A7FBCE
monochromatic
#EF32F6 #F36CF8 #F8A7FB #FDE2FE #FDE2FE

Accessibility & contrast

On white

1.76
#F8A7FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.91
#F8A7FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8A7FB
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8A7FB#FFFFFF#000000##000000
##F8A7FB1.001.7611.9111.91
#FFFFFF1.761.0021.0021.00
#00000011.9121.001.001.00
##00000011.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A0BDFE
Deuteranopia (green-blind)
#B4C7F8
Tritanopia (blue-blind)
#FCAFC6
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #f8a7fb;
/* rgb */ color: rgb(248, 167, 251);
/* oklch */ color: oklch(83.4% 0.143 325.5);
Tailwind
colors: {
  custom: {
    50: '#fcc2fd',
    500: '#f8a7fb',
    950: '#000000',
  },
}
SCSS
$custom: #f8a7fb;
$custom-light: #fcc2fd;
$custom-dark: #000000;
JSON
{
  "hex": "#f8a7fb",
  "rgb": {
    "r": 248,
    "g": 167,
    "b": 251
  },
  "hsl": {
    "h": 297.857,
    "s": 91.304,
    "l": 81.961
  },
  "oklch": {
    "l": 0.83425,
    "c": 0.14288,
    "h": 325.5
  },
  "luminance": 0.54559
}

Semantic roles & 50–950 ramp

primary
#F8A7FB
secondary
#6DDE68
accent
#E60008
background
#FFFDFF
surface
#FFF9FF
border
#D7D2D7
text
#181217
muted
#868285

Preview Lab

Preview with #F8A7FB

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

Preview Lab → · Contrast checker → · Palette generator →

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