#F97AEF#F97AEF

#F97AEF is a light, highly saturated purple. Relative luminance 0.403; OKLCH L 76.5% C 0.206 H 330.4°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#F97AEF
RGBrgb(249, 122, 239)
HSLhsl(305, 91%, 73%)
HSVhsv(305, 51%, 98%)
CMYKcmyk(0%, 51%, 4%, 2.4%)
CIE-LABlab(69.68, 63.41, -37.28)
CIE-LCHlch(69.68, 73.55, 329.55°)
OKLaboklab(76.48% 0.1795 -0.1019)
OKLCHoklch(76.48% 0.206 330.4)
XYZxyz(61.6059, 40.2946, 86.1774)
Luminance0.4029 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F97AEF #7AF984
analogous
#C37AF9 #F97AEF #F97AB0
triadic
#F97AEF #EFF97A #7AEFF9
tetradic
#F97AEF #F9C37A #7AF984 #7AB0F9
square
#F97AEF #F9C37A #7AF984 #7AB0F9
split-complementary
#F97AEF #B0F97A #7AF9C3
monochromatic
#EE0BDC #F63FE8 #F97AEF #FCB5F6 #FEE2FB

Accessibility & contrast

On white

2.32
#F97AEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.06
#F97AEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F97AEF
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F97AEF#FFFFFF#000000##000000
##F97AEF1.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#739FF3
Deuteranopia (green-blind)
#99B1EB
Tritanopia (blue-blind)
#FF85AA
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #f97aef;
/* rgb */ color: rgb(249, 122, 239);
/* oklch */ color: oklch(76.5% 0.206 330.4);
Tailwind
colors: {
  custom: {
    50: '#fea5f4',
    500: '#f97aef',
    950: '#000000',
  },
}
SCSS
$custom: #f97aef;
$custom-light: #fea5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#f97aef",
  "rgb": {
    "r": 249,
    "g": 122,
    "b": 239
  },
  "hsl": {
    "h": 304.724,
    "s": 91.367,
    "l": 72.745
  },
  "oklch": {
    "l": 0.76482,
    "c": 0.20636,
    "h": 330.4
  },
  "luminance": 0.40291
}

Semantic roles & 50–950 ramp

primary
#F97AEF
secondary
#D5F6D8
accent
#E61200
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181017
muted
#867F85

Preview Lab

Preview with #F97AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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