#F896FB#F896FB

#F896FB is a light, vivid purple. Relative luminance 0.487; OKLCH L 80.8% C 0.172 H 326.0°. Best body text is #000000 at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#F896FB
RGBrgb(248, 150, 251)
HSLhsl(298, 93%, 79%)
HSVhsv(298, 40%, 98%)
CMYKcmyk(1.2%, 40.2%, 0%, 1.6%)
CIE-LABlab(75.29, 51.57, -35.13)
CIE-LCHlch(75.29, 62.40, 325.74°)
OKLaboklab(80.79% 0.1421 -0.096)
OKLCHoklch(80.79% 0.172 326)
XYZxyz(67.0289, 48.7372, 97.1246)
Luminance0.4873 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F896FB #99FB96
analogous
#C596FB #F896FB #FB96CB
triadic
#F896FB #FBF896 #96FBF8
tetradic
#F896FB #FBC596 #99FB96 #96CBFB
square
#F896FB #FBC596 #99FB96 #96CBFB
split-complementary
#F896FB #CBFB96 #96FBC5
monochromatic
#F020F7 #F45BF9 #F896FB #FCD1FD #FDE2FE

Accessibility & contrast

On white

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

On black

10.75
#F896FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F896FB
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F896FB#FFFFFF#000000##000000
##F896FB1.001.9510.7510.75
#FFFFFF1.951.0021.0021.00
#00000010.7521.001.001.00
##00000010.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DB2FF
Deuteranopia (green-blind)
#A7BEF8
Tritanopia (blue-blind)
#FDA0BD
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #f896fb;
/* rgb */ color: rgb(248, 150, 251);
/* oklch */ color: oklch(80.8% 0.172 326.0);
Tailwind
colors: {
  custom: {
    50: '#fcb7fd',
    500: '#f896fb',
    950: '#000000',
  },
}
SCSS
$custom: #f896fb;
$custom-light: #fcb7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#f896fb",
  "rgb": {
    "r": 248,
    "g": 150,
    "b": 251
  },
  "hsl": {
    "h": 298.218,
    "s": 92.661,
    "l": 78.627
  },
  "oklch": {
    "l": 0.80789,
    "c": 0.17151,
    "h": 326
  },
  "luminance": 0.48734
}

Semantic roles & 50–950 ramp

primary
#F896FB
secondary
#D6F6D5
accent
#E60007
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#181117
muted
#868085

Preview Lab

Preview with #F896FB

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

Preview Lab → · Contrast checker → · Palette generator →

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