#F98AF8#F98AF8

#F98AF8 is a light, vivid purple. Relative luminance 0.451; OKLCH L 79.0% C 0.189 H 327.5°. Best body text is #000000 at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#F98AF8
RGBrgb(249, 138, 248)
HSLhsl(301, 90%, 76%)
HSVhsv(301, 45%, 98%)
CMYKcmyk(0%, 44.6%, 0.4%, 2.4%)
CIE-LABlab(72.96, 57.31, -37.11)
CIE-LCHlch(72.96, 68.27, 327.07°)
OKLaboklab(79.03% 0.1594 -0.1015)
OKLCHoklch(79.03% 0.189 327.5)
XYZxyz(65.0975, 45.0974, 94.0645)
Luminance0.4509 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F98AF8 #8AF98B
analogous
#C28AF9 #F98AF8 #F98AC0
triadic
#F98AF8 #F8F98A #8AF8F9
tetradic
#F98AF8 #F9C28A #8AF98B #8AC0F9
square
#F98AF8 #F9C28A #8AF98B #8AC0F9
split-complementary
#F98AF8 #C0F98A #8AF9C2
monochromatic
#F316F1 #F650F5 #F98AF8 #FCC4FB #FEE2FD

Accessibility & contrast

On white

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

On black

10.02
#F98AF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F98AF8
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F98AF8#FFFFFF#000000##000000
##F98AF81.002.1010.0210.02
#FFFFFF2.101.0021.0021.00
#00000010.0221.001.001.00
##00000010.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#81AAFC
Deuteranopia (green-blind)
#A0B8F5
Tritanopia (blue-blind)
#FF95B6
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #f98af8;
/* rgb */ color: rgb(249, 138, 248);
/* oklch */ color: oklch(79.0% 0.189 327.5);
Tailwind
colors: {
  custom: {
    50: '#fdaffb',
    500: '#f98af8',
    950: '#000000',
  },
}
SCSS
$custom: #f98af8;
$custom-light: #fdaffb;
$custom-dark: #000000;
JSON
{
  "hex": "#f98af8",
  "rgb": {
    "r": 249,
    "g": 138,
    "b": 248
  },
  "hsl": {
    "h": 300.541,
    "s": 90.244,
    "l": 75.882
  },
  "oklch": {
    "l": 0.79034,
    "c": 0.18897,
    "h": 327.5
  },
  "luminance": 0.45094
}

Semantic roles & 50–950 ramp

primary
#F98AF8
secondary
#D5F6D6
accent
#E60200
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#181117
muted
#868085

Preview Lab

Preview with #F98AF8

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

Preview Lab → · Contrast checker → · Palette generator →

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