#F96AFB#F96AFB

#F96AFB is a light, highly saturated purple. Relative luminance 0.374; OKLCH L 75.1% C 0.239 H 327.1°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#F96AFB
RGBrgb(249, 106, 251)
HSLhsl(299, 95%, 70%)
HSVhsv(299, 58%, 98%)
CMYKcmyk(0.8%, 57.8%, 0%, 1.6%)
CIE-LABlab(67.59, 72.48, -47.14)
CIE-LCHlch(67.59, 86.46, 326.96°)
OKLaboklab(75.12% 0.201 -0.1301)
OKLCHoklch(75.12% 0.239 327.1)
XYZxyz(61.6325, 37.4166, 95.2239)
Luminance0.3741 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F96AFB #6CFB6A
analogous
#B06AFB #F96AFB #FB6AB5
triadic
#F96AFB #FBF96A #6AFBF9
tetradic
#F96AFB #FBB06A #6CFB6A #6AB5FB
square
#F96AFB #FBB06A #6CFB6A #6AB5FB
split-complementary
#F96AFB #B5FB6A #6AFBB0
monochromatic
#E106E4 #F72EF9 #F96AFB #FBA6FD #FEE1FE

Accessibility & contrast

On white

2.48
#F96AFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.48
#F96AFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F96AFB
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F96AFB#FFFFFF#000000##000000
##F96AFB1.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5899FF
Deuteranopia (green-blind)
#89ABF7
Tritanopia (blue-blind)
#FF7CA9
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #f96afb;
/* rgb */ color: rgb(249, 106, 251);
/* oklch */ color: oklch(75.1% 0.239 327.1);
Tailwind
colors: {
  custom: {
    50: '#fe9cfd',
    500: '#f96afb',
    950: '#000000',
  },
}
SCSS
$custom: #f96afb;
$custom-light: #fe9cfd;
$custom-dark: #000000;
JSON
{
  "hex": "#f96afb",
  "rgb": {
    "r": 249,
    "g": 106,
    "b": 251
  },
  "hsl": {
    "h": 299.172,
    "s": 94.771,
    "l": 70
  },
  "oklch": {
    "l": 0.75122,
    "c": 0.23943,
    "h": 327.1
  },
  "luminance": 0.37413
}

Semantic roles & 50–950 ramp

primary
#F96AFB
secondary
#CDF5CC
accent
#E60003
background
#FFFAFF
surface
#FFF3FF
border
#D7CDD7
text
#180F18
muted
#867F86

Preview Lab

Preview with #F96AFB

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

Preview Lab → · Contrast checker → · Palette generator →

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