#F8ABFA#F8ABFA

#F8ABFA is a very light, vivid purple. Relative luminance 0.560; OKLCH L 84.0% C 0.135 H 325.8°. Best body text is #000000 at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#F8ABFA
RGBrgb(248, 171, 250)
HSLhsl(298, 89%, 83%)
HSVhsv(298, 32%, 98%)
CMYKcmyk(0.8%, 31.6%, 0%, 2%)
CIE-LABlab(79.61, 40.57, -27.94)
CIE-LCHlch(79.61, 49.26, 325.44°)
OKLaboklab(84.03% 0.1118 -0.0758)
OKLCHoklch(84.03% 0.135 325.8)
XYZxyz(70.5280, 55.9869, 97.5154)
Luminance0.5598 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8ABFA #ADFAAB
analogous
#D0ABFA #F8ABFA #FAABD4
triadic
#F8ABFA #FAF8AB #ABFAF8
tetradic
#F8ABFA #FAD0AB #ADFAAB #ABD4FA
square
#F8ABFA #FAD0AB #ADFAAB #ABD4FA
split-complementary
#F8ABFA #D4FAAB #ABFAD0
monochromatic
#EE37F3 #F371F7 #F8ABFA #FDE2FD #FDE2FD

Accessibility & contrast

On white

1.72
#F8ABFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.20
#F8ABFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8ABFA
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8ABFA#FFFFFF#000000##000000
##F8ABFA1.001.7212.2012.20
#FFFFFF1.721.0021.0021.00
#00000012.2021.001.001.00
##00000012.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5BFFD
Deuteranopia (green-blind)
#B8C9F7
Tritanopia (blue-blind)
#FCB2C8
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #f8abfa;
/* rgb */ color: rgb(248, 171, 250);
/* oklch */ color: oklch(84.0% 0.135 325.8);
Tailwind
colors: {
  custom: {
    50: '#fbc5fc',
    500: '#f8abfa',
    950: '#000000',
  },
}
SCSS
$custom: #f8abfa;
$custom-light: #fbc5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#f8abfa",
  "rgb": {
    "r": 248,
    "g": 171,
    "b": 250
  },
  "hsl": {
    "h": 298.481,
    "s": 88.764,
    "l": 82.549
  },
  "oklch": {
    "l": 0.84033,
    "c": 0.13505,
    "h": 325.8
  },
  "luminance": 0.55984
}

Semantic roles & 50–950 ramp

primary
#F8ABFA
secondary
#6FDD6C
accent
#E50006
background
#FFFDFF
surface
#FFF9FF
border
#D7D2D7
text
#171317
muted
#858285

Preview Lab

Preview with #F8ABFA

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

Preview Lab → · Contrast checker → · Palette generator →

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