#F97AE7#F97AE7

#F97AE7 is a light, vivid purple. Relative luminance 0.398; OKLCH L 76.1% C 0.200 H 333.0°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#F97AE7
RGBrgb(249, 122, 231)
HSLhsl(309, 91%, 73%)
HSVhsv(309, 51%, 98%)
CMYKcmyk(0%, 51%, 7.2%, 2.4%)
CIE-LABlab(69.35, 62.10, -33.38)
CIE-LCHlch(69.35, 70.50, 331.74°)
OKLaboklab(76.13% 0.1781 -0.0908)
OKLCHoklch(76.13% 0.2 333)
XYZxyz(60.4501, 39.8323, 80.0903)
Luminance0.3983 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F97AE7 #7AF98C
analogous
#CB7AF9 #F97AE7 #F97AA7
triadic
#F97AE7 #E7F97A #7AE7F9
tetradic
#F97AE7 #F9CB7A #7AF98C #7AA7F9
square
#F97AE7 #F9CB7A #7AF98C #7AA7F9
split-complementary
#F97AE7 #A7F97A #7AF9CB
monochromatic
#EE0BCE #F63FDC #F97AE7 #FCB5F2 #FEE2FA

Accessibility & contrast

On white

2.34
#F97AE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.97
#F97AE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F97AE7
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F97AE7#FFFFFF#000000##000000
##F97AE71.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#779EEB
Deuteranopia (green-blind)
#9CB0E3
Tritanopia (blue-blind)
#FF82A6
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #f97ae7;
/* rgb */ color: rgb(249, 122, 231);
/* oklch */ color: oklch(76.1% 0.200 333.0);
Tailwind
colors: {
  custom: {
    50: '#fea5ef',
    500: '#f97ae7',
    950: '#000000',
  },
}
SCSS
$custom: #f97ae7;
$custom-light: #fea5ef;
$custom-dark: #000000;
JSON
{
  "hex": "#f97ae7",
  "rgb": {
    "r": 249,
    "g": 122,
    "b": 231
  },
  "hsl": {
    "h": 308.504,
    "s": 91.367,
    "l": 72.745
  },
  "oklch": {
    "l": 0.76132,
    "c": 0.19988,
    "h": 333
  },
  "luminance": 0.39828
}

Semantic roles & 50–950 ramp

primary
#F97AE7
secondary
#D5F6DA
accent
#E62100
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181016
muted
#867F84

Preview Lab

Preview with #F97AE7

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

Preview Lab → · Contrast checker → · Palette generator →

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