#F98DFD#F98DFD

#F98DFD is a light, vivid purple. Relative luminance 0.463; OKLCH L 79.7% C 0.189 H 325.9°. Best body text is #000000 at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#F98DFD
RGBrgb(249, 141, 253)
HSLhsl(298, 97%, 77%)
HSVhsv(298, 44%, 99%)
CMYKcmyk(1.6%, 44.3%, 0%, 0.8%)
CIE-LABlab(73.73, 56.71, -38.62)
CIE-LCHlch(73.73, 68.62, 325.74°)
OKLaboklab(79.68% 0.1562 -0.1059)
OKLCHoklch(79.68% 0.189 325.9)
XYZxyz(66.3200, 46.2845, 98.3499)
Luminance0.4628 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F98DFD #91FD8D
analogous
#C18DFD #F98DFD #FD8DC9
triadic
#F98DFD #FDF98D #8DFDF9
tetradic
#F98DFD #FDC18D #91FD8D #8DC9FD
square
#F98DFD #FDC18D #91FD8D #8DC9FD
split-complementary
#F98DFD #C9FD8D #8DFDC1
monochromatic
#F315FB #F651FC #F98DFD #FCC9FE #FDE1FE

Accessibility & contrast

On white

2.05
#F98DFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.26
#F98DFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F98DFD
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F98DFD#FFFFFF#000000##000000
##F98DFD1.002.0510.2610.26
#FFFFFF2.051.0021.0021.00
#00000010.2621.001.001.00
##00000010.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#82ADFF
Deuteranopia (green-blind)
#A0BAFA
Tritanopia (blue-blind)
#FE99B9
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #f98dfd;
/* rgb */ color: rgb(249, 141, 253);
/* oklch */ color: oklch(79.7% 0.189 325.9);
Tailwind
colors: {
  custom: {
    50: '#fdb1fe',
    500: '#f98dfd',
    950: '#000000',
  },
}
SCSS
$custom: #f98dfd;
$custom-light: #fdb1fe;
$custom-dark: #000000;
JSON
{
  "hex": "#f98dfd",
  "rgb": {
    "r": 249,
    "g": 141,
    "b": 253
  },
  "hsl": {
    "h": 297.857,
    "s": 96.552,
    "l": 77.255
  },
  "oklch": {
    "l": 0.79677,
    "c": 0.18866,
    "h": 325.9
  },
  "luminance": 0.46281
}

Semantic roles & 50–950 ramp

primary
#F98DFD
secondary
#D5F7D4
accent
#E60008
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#181118
muted
#868086

Preview Lab

Preview with #F98DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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