#F897F9#F897F9

#F897F9 is a light, vivid purple. Relative luminance 0.489; OKLCH L 80.9% C 0.168 H 326.6°. Best body text is #000000 at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#F897F9
RGBrgb(248, 151, 249)
HSLhsl(299, 89%, 78%)
HSVhsv(299, 39%, 98%)
CMYKcmyk(0.4%, 39.4%, 0%, 2.4%)
CIE-LABlab(75.41, 50.71, -33.86)
CIE-LCHlch(75.41, 60.97, 326.27°)
OKLaboklab(80.86% 0.1403 -0.0924)
OKLCHoklch(80.86% 0.168 326.6)
XYZxyz(66.8755, 48.9322, 95.5264)
Luminance0.4893 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F897F9 #98F997
analogous
#C797F9 #F897F9 #F997C9
triadic
#F897F9 #F9F897 #97F9F8
tetradic
#F897F9 #F9C797 #98F997 #97C9F9
square
#F897F9 #F9C797 #98F997 #97C9F9
split-complementary
#F897F9 #C9F997 #97F9C7
monochromatic
#F023F2 #F45DF6 #F897F9 #FCD1FC #FDE2FD

Accessibility & contrast

On white

1.95
#F897F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.79
#F897F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F897F9
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F897F9#FFFFFF#000000##000000
##F897F91.001.9510.7910.79
#FFFFFF1.951.0021.0021.00
#00000010.7921.001.001.00
##00000010.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f897f9;
/* rgb */ color: rgb(248, 151, 249);
/* oklch */ color: oklch(80.9% 0.168 326.6);
Tailwind
colors: {
  custom: {
    50: '#fcb8fb',
    500: '#f897f9',
    950: '#000000',
  },
}
SCSS
$custom: #f897f9;
$custom-light: #fcb8fb;
$custom-dark: #000000;
JSON
{
  "hex": "#f897f9",
  "rgb": {
    "r": 248,
    "g": 151,
    "b": 249
  },
  "hsl": {
    "h": 299.388,
    "s": 89.091,
    "l": 78.431
  },
  "oklch": {
    "l": 0.80855,
    "c": 0.16798,
    "h": 326.6
  },
  "luminance": 0.48929
}

Semantic roles & 50–950 ramp

primary
#F897F9
secondary
#D6F5D6
accent
#E60002
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#181117
muted
#868085

Preview Lab

Preview with #F897F9

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

Preview Lab → · Contrast checker → · Palette generator →

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