#F898FA#F898FA

#F898FA is a light, vivid purple. Relative luminance 0.493; OKLCH L 81.0% C 0.167 H 326.3°. Best body text is #000000 at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#F898FA
RGBrgb(248, 152, 250)
HSLhsl(299, 91%, 79%)
HSVhsv(299, 39%, 98%)
CMYKcmyk(0.8%, 39.2%, 0%, 2%)
CIE-LABlab(75.65, 50.38, -34.03)
CIE-LCHlch(75.65, 60.80, 325.96°)
OKLaboklab(81.05% 0.1391 -0.0929)
OKLCHoklch(81.05% 0.167 326.3)
XYZxyz(67.1935, 49.3180, 96.4039)
Luminance0.4931 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F898FA #9AFA98
analogous
#C798FA #F898FA #FA98CB
triadic
#F898FA #FAF898 #98FAF8
tetradic
#F898FA #FAC798 #9AFA98 #98CBFA
square
#F898FA #FAC798 #9AFA98 #98CBFA
split-complementary
#F898FA #CBFA98 #98FAC7
monochromatic
#F023F4 #F45EF7 #F898FA #FCD2FD #FDE2FE

Accessibility & contrast

On white

1.93
#F898FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.86
#F898FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F898FA
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F898FA#FFFFFF#000000##000000
##F898FA1.001.9310.8610.86
#FFFFFF1.931.0021.0021.00
#00000010.8621.001.001.00
##00000010.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#90B3FE
Deuteranopia (green-blind)
#A9BFF7
Tritanopia (blue-blind)
#FDA2BE
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #f898fa;
/* rgb */ color: rgb(248, 152, 250);
/* oklch */ color: oklch(81.0% 0.167 326.3);
Tailwind
colors: {
  custom: {
    50: '#fcb8fc',
    500: '#f898fa',
    950: '#000000',
  },
}
SCSS
$custom: #f898fa;
$custom-light: #fcb8fc;
$custom-dark: #000000;
JSON
{
  "hex": "#f898fa",
  "rgb": {
    "r": 248,
    "g": 152,
    "b": 250
  },
  "hsl": {
    "h": 298.776,
    "s": 90.741,
    "l": 78.824
  },
  "oklch": {
    "l": 0.81047,
    "c": 0.16725,
    "h": 326.3
  },
  "luminance": 0.49315
}

Semantic roles & 50–950 ramp

primary
#F898FA
secondary
#D6F6D5
accent
#E60005
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#181217
muted
#868185

Preview Lab

Preview with #F898FA

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

Preview Lab → · Contrast checker → · Palette generator →

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