#F98CF8#F98CF8

#F98CF8 is a light, vivid purple. Relative luminance 0.457; OKLCH L 79.3% C 0.186 H 327.5°. Best body text is #000000 at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#F98CF8
RGBrgb(249, 140, 248)
HSLhsl(301, 90%, 76%)
HSVhsv(301, 44%, 98%)
CMYKcmyk(0%, 43.8%, 0.4%, 2.4%)
CIE-LABlab(73.34, 56.32, -36.52)
CIE-LCHlch(73.34, 67.13, 327.04°)
OKLaboklab(79.32% 0.1566 -0.0998)
OKLCHoklch(79.32% 0.186 327.5)
XYZxyz(65.3871, 45.6765, 94.1610)
Luminance0.4567 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F98CF8 #8CF98D
analogous
#C48CF9 #F98CF8 #F98CC2
triadic
#F98CF8 #F8F98C #8CF8F9
tetradic
#F98CF8 #F9C48C #8CF98D #8CC2F9
square
#F98CF8 #F9C48C #8CF98D #8CC2F9
split-complementary
#F98CF8 #C2F98C #8CF9C4
monochromatic
#F318F1 #F652F4 #F98CF8 #FCC6FC #FDE2FD

Accessibility & contrast

On white

2.07
#F98CF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.13
#F98CF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F98CF8
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F98CF8#FFFFFF#000000##000000
##F98CF81.002.0710.1310.13
#FFFFFF2.071.0021.0021.00
#00000010.1321.001.001.00
##00000010.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#83ABFC
Deuteranopia (green-blind)
#A2B9F5
Tritanopia (blue-blind)
#FF97B7
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #f98cf8;
/* rgb */ color: rgb(249, 140, 248);
/* oklch */ color: oklch(79.3% 0.186 327.5);
Tailwind
colors: {
  custom: {
    50: '#fdb0fb',
    500: '#f98cf8',
    950: '#000000',
  },
}
SCSS
$custom: #f98cf8;
$custom-light: #fdb0fb;
$custom-dark: #000000;
JSON
{
  "hex": "#f98cf8",
  "rgb": {
    "r": 249,
    "g": 140,
    "b": 248
  },
  "hsl": {
    "h": 300.55,
    "s": 90.083,
    "l": 76.275
  },
  "oklch": {
    "l": 0.79316,
    "c": 0.18574,
    "h": 327.5
  },
  "luminance": 0.45673
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F98CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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