#F98EF2#F98EF2

#F98EF2 is a light, vivid purple. Relative luminance 0.459; OKLCH L 79.3% C 0.177 H 329.5°. Best body text is #000000 at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#F98EF2
RGBrgb(249, 142, 242)
HSLhsl(304, 90%, 77%)
HSVhsv(304, 43%, 98%)
CMYKcmyk(0%, 43%, 2.8%, 2.4%)
CIE-LABlab(73.48, 54.30, -33.03)
CIE-LCHlch(73.48, 63.55, 328.69°)
OKLaboklab(79.35% 0.1527 -0.0899)
OKLCHoklch(79.35% 0.177 329.5)
XYZxyz(64.7661, 45.8999, 89.4353)
Luminance0.4590 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F98EF2 #8EF995
analogous
#CB8EF9 #F98EF2 #F98EBD
triadic
#F98EF2 #F2F98E #8EF2F9
tetradic
#F98EF2 #F9CB8E #8EF995 #8EBDF9
square
#F98EF2 #F9CB8E #8EF995 #8EBDF9
split-complementary
#F98EF2 #BDF98E #8EF9CB
monochromatic
#F31AE5 #F654EB #F98EF2 #FCC8F9 #FDE2FC

Accessibility & contrast

On white

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

On black

10.18
#F98EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F98EF2
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F98EF2#FFFFFF#000000##000000
##F98EF21.002.0610.1810.18
#FFFFFF2.061.0021.0021.00
#00000010.1821.001.001.00
##00000010.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#88ABF6
Deuteranopia (green-blind)
#A5BAEF
Tritanopia (blue-blind)
#FF97B5
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #f98ef2;
/* rgb */ color: rgb(249, 142, 242);
/* oklch */ color: oklch(79.3% 0.177 329.5);
Tailwind
colors: {
  custom: {
    50: '#fdb2f6',
    500: '#f98ef2',
    950: '#000000',
  },
}
SCSS
$custom: #f98ef2;
$custom-light: #fdb2f6;
$custom-dark: #000000;
JSON
{
  "hex": "#f98ef2",
  "rgb": {
    "r": 249,
    "g": 142,
    "b": 242
  },
  "hsl": {
    "h": 303.925,
    "s": 89.916,
    "l": 76.667
  },
  "oklch": {
    "l": 0.79347,
    "c": 0.17718,
    "h": 329.5
  },
  "luminance": 0.45897
}

Semantic roles & 50–950 ramp

primary
#F98EF2
secondary
#D5F6D8
accent
#E60F00
background
#FFFBFF
surface
#FFF6FE
border
#D7D0D6
text
#181117
muted
#868085

Preview Lab

Preview with #F98EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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