#F97AFA#F97AFA

#F97AFA is a light, highly saturated purple. Relative luminance 0.410; OKLCH L 77.0% C 0.216 H 327.1°. Best body text is #000000 at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#F97AFA
RGBrgb(249, 122, 250)
HSLhsl(300, 93%, 73%)
HSVhsv(300, 51%, 98%)
CMYKcmyk(0.4%, 51.2%, 0%, 2%)
CIE-LABlab(70.15, 65.26, -42.57)
CIE-LCHlch(70.15, 77.92, 326.88°)
OKLaboklab(76.99% 0.1811 -0.117)
OKLCHoklch(76.99% 0.216 327.1)
XYZxyz(63.2807, 40.9645, 94.9977)
Luminance0.4096 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F97AFA #7BFA7A
analogous
#B97AFA #F97AFA #FA7ABB
triadic
#F97AFA #FAF97A #7AFAF9
tetradic
#F97AFA #FAB97A #7BFA7A #7ABBFA
square
#F97AFA #FAB97A #7BFA7A #7ABBFA
split-complementary
#F97AFA #BBFA7A #7AFAB9
monochromatic
#EF09F1 #F63FF8 #F97AFA #FCB5FC #FEE2FE

Accessibility & contrast

On white

2.28
#F97AFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.19
#F97AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F97AFA
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F97AFA#FFFFFF#000000##000000
##F97AFA1.002.289.199.19
#FFFFFF2.281.0021.0021.00
#0000009.1921.001.001.00
##0000009.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6DA1FE
Deuteranopia (green-blind)
#94B1F6
Tritanopia (blue-blind)
#FF88AF
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #f97afa;
/* rgb */ color: rgb(249, 122, 250);
/* oklch */ color: oklch(77.0% 0.216 327.1);
Tailwind
colors: {
  custom: {
    50: '#fea5fc',
    500: '#f97afa',
    950: '#000000',
  },
}
SCSS
$custom: #f97afa;
$custom-light: #fea5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#f97afa",
  "rgb": {
    "r": 249,
    "g": 122,
    "b": 250
  },
  "hsl": {
    "h": 299.531,
    "s": 92.754,
    "l": 72.941
  },
  "oklch": {
    "l": 0.76985,
    "c": 0.2156,
    "h": 327.1
  },
  "luminance": 0.40961
}

Semantic roles & 50–950 ramp

primary
#F97AFA
secondary
#D5F6D5
accent
#E60002
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181017
muted
#867F85

Preview Lab

Preview with #F97AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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