#F98BF5#F98BF5

#F98BF5 is a light, vivid purple. Relative luminance 0.452; OKLCH L 79.0% C 0.185 H 328.5°. Best body text is #000000 at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#F98BF5
RGBrgb(249, 139, 245)
HSLhsl(302, 90%, 76%)
HSVhsv(302, 44%, 98%)
CMYKcmyk(0%, 44.2%, 1.6%, 2.4%)
CIE-LABlab(73.02, 56.29, -35.37)
CIE-LCHlch(73.02, 66.48, 327.86°)
OKLaboklab(79.05% 0.1574 -0.0966)
OKLCHoklch(79.05% 0.185 328.5)
XYZxyz(64.7800, 45.2009, 91.6810)
Luminance0.4520 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F98BF5 #8BF98F
analogous
#C68BF9 #F98BF5 #F98BBE
triadic
#F98BF5 #F5F98B #8BF5F9
tetradic
#F98BF5 #F9C68B #8BF98F #8BBEF9
square
#F98BF5 #F9C68B #8BF98F #8BBEF9
split-complementary
#F98BF5 #BEF98B #8BF9C6
monochromatic
#F317EB #F651F0 #F98BF5 #FCC5FA #FDE2FC

Accessibility & contrast

On white

2.09
#F98BF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.04
#F98BF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F98BF5
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F98BF5#FFFFFF#000000##000000
##F98BF51.002.0910.0410.04
#FFFFFF2.091.0021.0021.00
#00000010.0421.001.001.00
##00000010.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#84AAF9
Deuteranopia (green-blind)
#A2B9F2
Tritanopia (blue-blind)
#FF95B5
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #f98bf5;
/* rgb */ color: rgb(249, 139, 245);
/* oklch */ color: oklch(79.0% 0.185 328.5);
Tailwind
colors: {
  custom: {
    50: '#fdb0f8',
    500: '#f98bf5',
    950: '#000000',
  },
}
SCSS
$custom: #f98bf5;
$custom-light: #fdb0f8;
$custom-dark: #000000;
JSON
{
  "hex": "#f98bf5",
  "rgb": {
    "r": 249,
    "g": 139,
    "b": 245
  },
  "hsl": {
    "h": 302.182,
    "s": 90.164,
    "l": 76.078
  },
  "oklch": {
    "l": 0.79045,
    "c": 0.1847,
    "h": 328.5
  },
  "luminance": 0.45198
}

Semantic roles & 50–950 ramp

primary
#F98BF5
secondary
#D5F6D7
accent
#E60800
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#181117
muted
#868085

Preview Lab

Preview with #F98BF5

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

Preview Lab → · Contrast checker → · Palette generator →

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