#F98FF2#F98FF2

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

Color values

HEX#F98FF2
RGBrgb(249, 143, 242)
HSLhsl(304, 90%, 77%)
HSVhsv(304, 43%, 98%)
CMYKcmyk(0%, 42.6%, 2.8%, 2.4%)
CIE-LABlab(73.67, 53.80, -32.73)
CIE-LCHlch(73.67, 62.97, 328.69°)
OKLaboklab(79.49% 0.1512 -0.0891)
OKLCHoklch(79.49% 0.176 329.5)
XYZxyz(64.9155, 46.1988, 89.4851)
Luminance0.4620 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F98FF2 #8FF996
analogous
#CB8FF9 #F98FF2 #F98FBD
triadic
#F98FF2 #F2F98F #8FF2F9
tetradic
#F98FF2 #F9CB8F #8FF996 #8FBDF9
square
#F98FF2 #F9CB8F #8FF996 #8FBDF9
split-complementary
#F98FF2 #BDF98F #8FF9CB
monochromatic
#F31BE5 #F655EB #F98FF2 #FCC9F9 #FDE2FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F98FF2#FFFFFF#000000##000000
##F98FF21.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)
#89ACF5
Deuteranopia (green-blind)
#A6BAEF
Tritanopia (blue-blind)
#FF98B5
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #f98ff2;
/* rgb */ color: rgb(249, 143, 242);
/* oklch */ color: oklch(79.5% 0.176 329.5);
Tailwind
colors: {
  custom: {
    50: '#fdb2f6',
    500: '#f98ff2',
    950: '#000000',
  },
}
SCSS
$custom: #f98ff2;
$custom-light: #fdb2f6;
$custom-dark: #000000;
JSON
{
  "hex": "#f98ff2",
  "rgb": {
    "r": 249,
    "g": 143,
    "b": 242
  },
  "hsl": {
    "h": 303.962,
    "s": 89.831,
    "l": 76.863
  },
  "oklch": {
    "l": 0.79492,
    "c": 0.17553,
    "h": 329.5
  },
  "luminance": 0.46195
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F98FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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