#F98EF5#F98EF5

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

Color values

HEX#F98EF5
RGBrgb(249, 142, 245)
HSLhsl(302, 90%, 77%)
HSVhsv(302, 43%, 98%)
CMYKcmyk(0%, 43%, 1.6%, 2.4%)
CIE-LABlab(73.60, 54.81, -34.48)
CIE-LCHlch(73.60, 64.76, 327.83°)
OKLaboklab(79.47% 0.1533 -0.0941)
OKLCHoklch(79.47% 0.18 328.5)
XYZxyz(65.2203, 46.0816, 91.8278)
Luminance0.4608 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F98EF5 #8EF992
analogous
#C88EF9 #F98EF5 #F98EC0
triadic
#F98EF5 #F5F98E #8EF5F9
tetradic
#F98EF5 #F9C88E #8EF992 #8EC0F9
square
#F98EF5 #F9C88E #8EF992 #8EC0F9
split-complementary
#F98EF5 #C0F98E #8EF9C8
monochromatic
#F31AEB #F654F0 #F98EF5 #FCC8FA #FDE2FC

Accessibility & contrast

On white

2.06
#F98EF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.22
#F98EF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F98EF5
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F98EF5#FFFFFF#000000##000000
##F98EF51.002.0610.2210.22
#FFFFFF2.061.0021.0021.00
#00000010.2221.001.001.00
##00000010.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#87ACF9
Deuteranopia (green-blind)
#A4BAF2
Tritanopia (blue-blind)
#FF98B6
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #f98ef5;
/* rgb */ color: rgb(249, 142, 245);
/* oklch */ color: oklch(79.5% 0.180 328.5);
Tailwind
colors: {
  custom: {
    50: '#fdb2f8',
    500: '#f98ef5',
    950: '#000000',
  },
}
SCSS
$custom: #f98ef5;
$custom-light: #fdb2f8;
$custom-dark: #000000;
JSON
{
  "hex": "#f98ef5",
  "rgb": {
    "r": 249,
    "g": 142,
    "b": 245
  },
  "hsl": {
    "h": 302.243,
    "s": 89.916,
    "l": 76.667
  },
  "oklch": {
    "l": 0.79473,
    "c": 0.17981,
    "h": 328.5
  },
  "luminance": 0.46078
}

Semantic roles & 50–950 ramp

primary
#F98EF5
secondary
#D5F6D7
accent
#E60900
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#181117
muted
#868085

Preview Lab

Preview with #F98EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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