#F98EF8#F98EF8

#F98EF8 is a light, vivid purple. Relative luminance 0.463; OKLCH L 79.6% C 0.182 H 327.5°. Best body text is #000000 at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#F98EF8
RGBrgb(249, 142, 248)
HSLhsl(301, 90%, 77%)
HSVhsv(301, 43%, 98%)
CMYKcmyk(0%, 43%, 0.4%, 2.4%)
CIE-LABlab(73.72, 55.34, -35.93)
CIE-LCHlch(73.72, 65.98, 327.01°)
OKLaboklab(79.6% 0.1538 -0.0982)
OKLCHoklch(79.6% 0.183 327.5)
XYZxyz(65.6820, 46.2663, 94.2593)
Luminance0.4626 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F98EF8 #8EF98F
analogous
#C58EF9 #F98EF8 #F98EC3
triadic
#F98EF8 #F8F98E #8EF8F9
tetradic
#F98EF8 #F9C58E #8EF98F #8EC3F9
square
#F98EF8 #F9C58E #8EF98F #8EC3F9
split-complementary
#F98EF8 #C3F98E #8EF9C5
monochromatic
#F31AF1 #F654F4 #F98EF8 #FCC8FC #FDE2FD

Accessibility & contrast

On white

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

On black

10.25
#F98EF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F98EF8
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F98EF8#FFFFFF#000000##000000
##F98EF81.002.0510.2510.25
#FFFFFF2.051.0021.0021.00
#00000010.2521.001.001.00
##00000010.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#86ACFC
Deuteranopia (green-blind)
#A3BAF5
Tritanopia (blue-blind)
#FF98B8
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #f98ef8;
/* rgb */ color: rgb(249, 142, 248);
/* oklch */ color: oklch(79.6% 0.182 327.5);
Tailwind
colors: {
  custom: {
    50: '#fdb2fb',
    500: '#f98ef8',
    950: '#000000',
  },
}
SCSS
$custom: #f98ef8;
$custom-light: #fdb2fb;
$custom-dark: #000000;
JSON
{
  "hex": "#f98ef8",
  "rgb": {
    "r": 249,
    "g": 142,
    "b": 248
  },
  "hsl": {
    "h": 300.561,
    "s": 89.916,
    "l": 76.667
  },
  "oklch": {
    "l": 0.79602,
    "c": 0.1825,
    "h": 327.5
  },
  "luminance": 0.46263
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F98EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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