#F97AFF#F97AFF

#F97AFF is a light, highly saturated purple. Relative luminance 0.413; OKLCH L 77.2% C 0.220 H 325.7°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#F97AFF
RGBrgb(249, 122, 255)
HSLhsl(297, 100%, 74%)
HSVhsv(297, 52%, 100%)
CMYKcmyk(2.4%, 52.2%, 0%, 0%)
CIE-LABlab(70.37, 66.12, -44.95)
CIE-LCHlch(70.37, 79.95, 325.79°)
OKLaboklab(77.22% 0.1817 -0.1239)
OKLCHoklch(77.22% 0.22 325.7)
XYZxyz(64.0751, 41.2823, 99.1816)
Luminance0.4128 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F97AFF #80FF7A
analogous
#B77AFF #F97AFF #FF7AC3
triadic
#F97AFF #FFF97A #7AFFF9
tetradic
#F97AFF #FFB77A #80FF7A #7AC3FF
square
#F97AFF #FFB77A #80FF7A #7AC3FF
split-complementary
#F97AFF #C3FF7A #7AFFB7
monochromatic
#F300FF #F63DFF #F97AFF #FCB7FF #FEE0FF

Accessibility & contrast

On white

2.27
#F97AFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.26
#F97AFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F97AFF
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F97AFF#FFFFFF#000000##000000
##F97AFF1.002.279.269.26
#FFFFFF2.271.0021.0021.00
#0000009.2621.001.001.00
##0000009.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6AA2FF
Deuteranopia (green-blind)
#92B2FB
Tritanopia (blue-blind)
#FF8AB2
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #f97aff;
/* rgb */ color: rgb(249, 122, 255);
/* oklch */ color: oklch(77.2% 0.220 325.7);
Tailwind
colors: {
  custom: {
    50: '#fea5ff',
    500: '#f97aff',
    950: '#000000',
  },
}
SCSS
$custom: #f97aff;
$custom-light: #fea5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#f97aff",
  "rgb": {
    "r": 249,
    "g": 122,
    "b": 255
  },
  "hsl": {
    "h": 297.293,
    "s": 100,
    "l": 73.922
  },
  "oklch": {
    "l": 0.77221,
    "c": 0.21992,
    "h": 325.7
  },
  "luminance": 0.41279
}

Semantic roles & 50–950 ramp

primary
#F97AFF
secondary
#D5F7D4
accent
#E6000A
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181018
muted
#867F86

Preview Lab

Preview with #F97AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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