#F897FA#F897FA

#F897FA is a light, vivid purple. Relative luminance 0.490; OKLCH L 80.9% C 0.169 H 326.3°. Best body text is #000000 at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#F897FA
RGBrgb(248, 151, 250)
HSLhsl(299, 91%, 79%)
HSVhsv(299, 40%, 98%)
CMYKcmyk(0.8%, 39.6%, 0%, 2%)
CIE-LABlab(75.45, 50.89, -34.34)
CIE-LCHlch(75.45, 61.39, 325.99°)
OKLaboklab(80.9% 0.1405 -0.0938)
OKLCHoklch(80.9% 0.169 326.3)
XYZxyz(67.0319, 48.9948, 96.3500)
Luminance0.4899 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F897FA #99FA97
analogous
#C697FA #F897FA #FA97CA
triadic
#F897FA #FAF897 #97FAF8
tetradic
#F897FA #FAC697 #99FA97 #97CAFA
square
#F897FA #FAC697 #99FA97 #97CAFA
split-complementary
#F897FA #CAFA97 #97FAC6
monochromatic
#F022F4 #F45DF7 #F897FA #FCD1FD #FDE2FE

Accessibility & contrast

On white

1.94
#F897FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.80
#F897FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F897FA
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F897FA#FFFFFF#000000##000000
##F897FA1.001.9410.8010.80
#FFFFFF1.941.0021.0021.00
#00000010.8021.001.001.00
##00000010.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FB2FE
Deuteranopia (green-blind)
#A8BEF7
Tritanopia (blue-blind)
#FDA1BD
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #f897fa;
/* rgb */ color: rgb(248, 151, 250);
/* oklch */ color: oklch(80.9% 0.169 326.3);
Tailwind
colors: {
  custom: {
    50: '#fcb8fc',
    500: '#f897fa',
    950: '#000000',
  },
}
SCSS
$custom: #f897fa;
$custom-light: #fcb8fc;
$custom-dark: #000000;
JSON
{
  "hex": "#f897fa",
  "rgb": {
    "r": 248,
    "g": 151,
    "b": 250
  },
  "hsl": {
    "h": 298.788,
    "s": 90.826,
    "l": 78.627
  },
  "oklch": {
    "l": 0.80897,
    "c": 0.16891,
    "h": 326.3
  },
  "luminance": 0.48992
}

Semantic roles & 50–950 ramp

primary
#F897FA
secondary
#D6F6D5
accent
#E60005
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#181117
muted
#868085

Preview Lab

Preview with #F897FA

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

Preview Lab → · Contrast checker → · Palette generator →

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