#F98EF7#F98EF7

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

Color values

HEX#F98EF7
RGBrgb(249, 142, 247)
HSLhsl(301, 90%, 77%)
HSVhsv(301, 43%, 98%)
CMYKcmyk(0%, 43%, 0.8%, 2.4%)
CIE-LABlab(73.68, 55.16, -35.44)
CIE-LCHlch(73.68, 65.57, 327.28°)
OKLaboklab(79.56% 0.1537 -0.0968)
OKLCHoklch(79.56% 0.182 327.8)
XYZxyz(65.5273, 46.2044, 93.4444)
Luminance0.4620 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F98EF7 #8EF990
analogous
#C58EF9 #F98EF7 #F98EC2
triadic
#F98EF7 #F7F98E #8EF7F9
tetradic
#F98EF7 #F9C58E #8EF990 #8EC2F9
square
#F98EF7 #F9C58E #8EF990 #8EC2F9
split-complementary
#F98EF7 #C2F98E #8EF9C5
monochromatic
#F31AEF #F654F3 #F98EF7 #FCC8FB #FDE2FD

Accessibility & contrast

On white

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

On black

10.24
#F98EF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F98EF7
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F98EF7#FFFFFF#000000##000000
##F98EF71.002.0510.2410.24
#FFFFFF2.051.0021.0021.00
#00000010.2421.001.001.00
##00000010.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f98ef7;
/* rgb */ color: rgb(249, 142, 247);
/* oklch */ color: oklch(79.6% 0.182 327.8);
Tailwind
colors: {
  custom: {
    50: '#fdb2fa',
    500: '#f98ef7',
    950: '#000000',
  },
}
SCSS
$custom: #f98ef7;
$custom-light: #fdb2fa;
$custom-dark: #000000;
JSON
{
  "hex": "#f98ef7",
  "rgb": {
    "r": 249,
    "g": 142,
    "b": 247
  },
  "hsl": {
    "h": 301.121,
    "s": 89.916,
    "l": 76.667
  },
  "oklch": {
    "l": 0.79559,
    "c": 0.18161,
    "h": 327.8
  },
  "luminance": 0.46201
}

Semantic roles & 50–950 ramp

primary
#F98EF7
secondary
#D5F6D6
accent
#E60400
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#181117
muted
#868085

Preview Lab

Preview with #F98EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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