#F98AF2#F98AF2

#F98AF2 is a light, vivid purple. Relative luminance 0.447; OKLCH L 78.8% C 0.184 H 329.5°. Best body text is #000000 at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#F98AF2
RGBrgb(249, 138, 242)
HSLhsl(304, 90%, 76%)
HSVhsv(304, 45%, 98%)
CMYKcmyk(0%, 44.6%, 2.8%, 2.4%)
CIE-LABlab(72.71, 56.27, -34.21)
CIE-LCHlch(72.71, 65.85, 328.70°)
OKLaboklab(78.77% 0.1582 -0.0933)
OKLCHoklch(78.77% 0.184 329.5)
XYZxyz(64.1816, 44.7310, 89.2405)
Luminance0.4473 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F98AF2 #8AF991
analogous
#C88AF9 #F98AF2 #F98ABA
triadic
#F98AF2 #F2F98A #8AF2F9
tetradic
#F98AF2 #F9C88A #8AF991 #8ABAF9
square
#F98AF2 #F9C88A #8AF991 #8ABAF9
split-complementary
#F98AF2 #BAF98A #8AF9C8
monochromatic
#F316E5 #F650EC #F98AF2 #FCC4F8 #FEE2FC

Accessibility & contrast

On white

2.11
#F98AF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.95
#F98AF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F98AF2
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F98AF2#FFFFFF#000000##000000
##F98AF21.002.119.959.95
#FFFFFF2.111.0021.0021.00
#0000009.9521.001.001.00
##0000009.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A9F6
Deuteranopia (green-blind)
#A3B8EF
Tritanopia (blue-blind)
#FF93B3
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #f98af2;
/* rgb */ color: rgb(249, 138, 242);
/* oklch */ color: oklch(78.8% 0.184 329.5);
Tailwind
colors: {
  custom: {
    50: '#fdaff6',
    500: '#f98af2',
    950: '#000000',
  },
}
SCSS
$custom: #f98af2;
$custom-light: #fdaff6;
$custom-dark: #000000;
JSON
{
  "hex": "#f98af2",
  "rgb": {
    "r": 249,
    "g": 138,
    "b": 242
  },
  "hsl": {
    "h": 303.784,
    "s": 90.244,
    "l": 75.882
  },
  "oklch": {
    "l": 0.78775,
    "c": 0.18368,
    "h": 329.5
  },
  "luminance": 0.44727
}

Semantic roles & 50–950 ramp

primary
#F98AF2
secondary
#D5F6D7
accent
#E60E00
background
#FFFBFF
surface
#FFF6FE
border
#D7D0D6
text
#181117
muted
#868085

Preview Lab

Preview with #F98AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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