#F98AFE#F98AFE

#F98AFE is a light, vivid purple. Relative luminance 0.455; OKLCH L 79.3% C 0.194 H 325.6°. Best body text is #000000 at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#F98AFE
RGBrgb(249, 138, 254)
HSLhsl(297, 98%, 77%)
HSVhsv(297, 46%, 100%)
CMYKcmyk(2%, 45.7%, 0%, 0.4%)
CIE-LABlab(73.20, 58.36, -39.99)
CIE-LCHlch(73.20, 70.74, 325.58°)
OKLaboklab(79.3% 0.1604 -0.1097)
OKLCHoklch(79.3% 0.194 325.6)
XYZxyz(66.0433, 45.4757, 99.0456)
Luminance0.4547 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F98AFE #8FFE8A
analogous
#BF8AFE #F98AFE #FE8AC9
triadic
#F98AFE #FEF98A #8AFEF9
tetradic
#F98AFE #FEBF8A #8FFE8A #8AC9FE
square
#F98AFE #FEBF8A #8FFE8A #8AC9FE
split-complementary
#F98AFE #C9FE8A #8AFEBF
monochromatic
#F311FD #F64DFD #F98AFE #FCC7FF #FDE1FF

Accessibility & contrast

On white

2.08
#F98AFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.09
#F98AFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F98AFE
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F98AFE#FFFFFF#000000##000000
##F98AFE1.002.0810.0910.09
#FFFFFF2.081.0021.0021.00
#00000010.0921.001.001.00
##00000010.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EABFF
Deuteranopia (green-blind)
#9EB9FA
Tritanopia (blue-blind)
#FE97B8
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #f98afe;
/* rgb */ color: rgb(249, 138, 254);
/* oklch */ color: oklch(79.3% 0.194 325.6);
Tailwind
colors: {
  custom: {
    50: '#fdafff',
    500: '#f98afe',
    950: '#000000',
  },
}
SCSS
$custom: #f98afe;
$custom-light: #fdafff;
$custom-dark: #000000;
JSON
{
  "hex": "#f98afe",
  "rgb": {
    "r": 249,
    "g": 138,
    "b": 254
  },
  "hsl": {
    "h": 297.414,
    "s": 98.305,
    "l": 76.863
  },
  "oklch": {
    "l": 0.793,
    "c": 0.19436,
    "h": 325.6
  },
  "luminance": 0.45472
}

Semantic roles & 50–950 ramp

primary
#F98AFE
secondary
#D5F7D4
accent
#E6000A
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#181118
muted
#868086

Preview Lab

Preview with #F98AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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