#F98EF6#F98EF6

#F98EF6 is a light, vivid purple. Relative luminance 0.461; OKLCH L 79.5% C 0.181 H 328.1°. Best body text is #000000 at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#F98EF6
RGBrgb(249, 142, 246)
HSLhsl(302, 90%, 77%)
HSVhsv(302, 43%, 98%)
CMYKcmyk(0%, 43%, 1.2%, 2.4%)
CIE-LABlab(73.64, 54.99, -34.96)
CIE-LCHlch(73.64, 65.16, 327.55°)
OKLaboklab(79.52% 0.1535 -0.0954)
OKLCHoklch(79.52% 0.181 328.1)
XYZxyz(65.3734, 46.1429, 92.6339)
Luminance0.4614 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F98EF6 #8EF991
analogous
#C78EF9 #F98EF6 #F98EC1
triadic
#F98EF6 #F6F98E #8EF6F9
tetradic
#F98EF6 #F9C78E #8EF991 #8EC1F9
square
#F98EF6 #F9C78E #8EF991 #8EC1F9
split-complementary
#F98EF6 #C1F98E #8EF9C7
monochromatic
#F31AED #F654F1 #F98EF6 #FCC8FB #FDE2FD

Accessibility & contrast

On white

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

On black

10.23
#F98EF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F98EF6
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F98EF6#FFFFFF#000000##000000
##F98EF61.002.0510.2310.23
#FFFFFF2.051.0021.0021.00
#00000010.2321.001.001.00
##00000010.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#86ACFA
Deuteranopia (green-blind)
#A4BAF3
Tritanopia (blue-blind)
#FF98B7
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #f98ef6;
/* rgb */ color: rgb(249, 142, 246);
/* oklch */ color: oklch(79.5% 0.181 328.1);
Tailwind
colors: {
  custom: {
    50: '#fdb2f9',
    500: '#f98ef6',
    950: '#000000',
  },
}
SCSS
$custom: #f98ef6;
$custom-light: #fdb2f9;
$custom-dark: #000000;
JSON
{
  "hex": "#f98ef6",
  "rgb": {
    "r": 249,
    "g": 142,
    "b": 246
  },
  "hsl": {
    "h": 301.682,
    "s": 89.916,
    "l": 76.667
  },
  "oklch": {
    "l": 0.79516,
    "c": 0.1807,
    "h": 328.1
  },
  "luminance": 0.4614
}

Semantic roles & 50–950 ramp

primary
#F98EF6
secondary
#D5F6D6
accent
#E60600
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#181117
muted
#868085

Preview Lab

Preview with #F98EF6

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

Preview Lab → · Contrast checker → · Palette generator →

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