#F98EFA#F98EFA

#F98EFA is a light, vivid purple. Relative luminance 0.464; OKLCH L 79.7% C 0.184 H 326.8°. Best body text is #000000 at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#F98EFA
RGBrgb(249, 142, 250)
HSLhsl(299, 92%, 77%)
HSVhsv(299, 43%, 98%)
CMYKcmyk(0.4%, 43.2%, 0%, 2%)
CIE-LABlab(73.80, 55.69, -36.89)
CIE-LCHlch(73.80, 66.80, 326.48°)
OKLaboklab(79.69% 0.1542 -0.1009)
OKLCHoklch(79.69% 0.184 326.8)
XYZxyz(65.9940, 46.3911, 95.9022)
Luminance0.4639 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F98EFA #8FFA8E
analogous
#C38EFA #F98EFA #FA8EC5
triadic
#F98EFA #FAF98E #8EFAF9
tetradic
#F98EFA #FAC38E #8FFA8E #8EC5FA
square
#F98EFA #FAC38E #8FFA8E #8EC5FA
split-complementary
#F98EFA #C5FA8E #8EFAC3
monochromatic
#F319F5 #F653F7 #F98EFA #FCC9FD #FDE2FE

Accessibility & contrast

On white

2.04
#F98EFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.28
#F98EFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F98EFA
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F98EFA#FFFFFF#000000##000000
##F98EFA1.002.0410.2810.28
#FFFFFF2.041.0021.0021.00
#00000010.2821.001.001.00
##00000010.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#85ADFE
Deuteranopia (green-blind)
#A2BAF7
Tritanopia (blue-blind)
#FF99B8
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #f98efa;
/* rgb */ color: rgb(249, 142, 250);
/* oklch */ color: oklch(79.7% 0.184 326.8);
Tailwind
colors: {
  custom: {
    50: '#fdb2fc',
    500: '#f98efa',
    950: '#000000',
  },
}
SCSS
$custom: #f98efa;
$custom-light: #fdb2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#f98efa",
  "rgb": {
    "r": 249,
    "g": 142,
    "b": 250
  },
  "hsl": {
    "h": 299.444,
    "s": 91.525,
    "l": 76.863
  },
  "oklch": {
    "l": 0.79688,
    "c": 0.18431,
    "h": 326.8
  },
  "luminance": 0.46388
}

Semantic roles & 50–950 ramp

primary
#F98EFA
secondary
#D5F6D5
accent
#E60002
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#181117
muted
#868085

Preview Lab

Preview with #F98EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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