#F98AF7#F98AF7

#F98AF7 is a light, vivid purple. Relative luminance 0.450; OKLCH L 79.0% C 0.188 H 327.8°. Best body text is #000000 at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#F98AF7
RGBrgb(249, 138, 247)
HSLhsl(301, 90%, 76%)
HSVhsv(301, 45%, 98%)
CMYKcmyk(0%, 44.6%, 0.8%, 2.4%)
CIE-LABlab(72.92, 57.13, -36.63)
CIE-LCHlch(72.92, 67.86, 327.34°)
OKLaboklab(78.99% 0.1592 -0.1001)
OKLCHoklch(78.99% 0.188 327.8)
XYZxyz(64.9428, 45.0355, 93.2496)
Luminance0.4503 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F98AF7 #8AF98C
analogous
#C38AF9 #F98AF7 #F98ABF
triadic
#F98AF7 #F7F98A #8AF7F9
tetradic
#F98AF7 #F9C38A #8AF98C #8ABFF9
square
#F98AF7 #F9C38A #8AF98C #8ABFF9
split-complementary
#F98AF7 #BFF98A #8AF9C3
monochromatic
#F316EF #F650F3 #F98AF7 #FCC4FB #FEE2FD

Accessibility & contrast

On white

2.10
#F98AF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.01
#F98AF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F98AF7
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F98AF7#FFFFFF#000000##000000
##F98AF71.002.1010.0110.01
#FFFFFF2.101.0021.0021.00
#00000010.0121.001.001.00
##00000010.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#81AAFB
Deuteranopia (green-blind)
#A1B8F4
Tritanopia (blue-blind)
#FF95B5
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #f98af7;
/* rgb */ color: rgb(249, 138, 247);
/* oklch */ color: oklch(79.0% 0.188 327.8);
Tailwind
colors: {
  custom: {
    50: '#fdaffa',
    500: '#f98af7',
    950: '#000000',
  },
}
SCSS
$custom: #f98af7;
$custom-light: #fdaffa;
$custom-dark: #000000;
JSON
{
  "hex": "#f98af7",
  "rgb": {
    "r": 249,
    "g": 138,
    "b": 247
  },
  "hsl": {
    "h": 301.081,
    "s": 90.244,
    "l": 75.882
  },
  "oklch": {
    "l": 0.7899,
    "c": 0.18807,
    "h": 327.8
  },
  "luminance": 0.45032
}

Semantic roles & 50–950 ramp

primary
#F98AF7
secondary
#D5F6D6
accent
#E60400
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#181117
muted
#868085

Preview Lab

Preview with #F98AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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