#F98CF2#F98CF2

#F98CF2 is a light, vivid purple. Relative luminance 0.453; OKLCH L 79.1% C 0.180 H 329.5°. Best body text is #000000 at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#F98CF2
RGBrgb(249, 140, 242)
HSLhsl(304, 90%, 76%)
HSVhsv(304, 44%, 98%)
CMYKcmyk(0%, 43.8%, 2.8%, 2.4%)
CIE-LABlab(73.10, 55.29, -33.62)
CIE-LCHlch(73.10, 64.71, 328.69°)
OKLaboklab(79.06% 0.1555 -0.0916)
OKLCHoklch(79.06% 0.18 329.5)
XYZxyz(64.4712, 45.3101, 89.3370)
Luminance0.4531 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F98CF2 #8CF993
analogous
#CA8CF9 #F98CF2 #F98CBC
triadic
#F98CF2 #F2F98C #8CF2F9
tetradic
#F98CF2 #F9CA8C #8CF993 #8CBCF9
square
#F98CF2 #F9CA8C #8CF993 #8CBCF9
split-complementary
#F98CF2 #BCF98C #8CF9CA
monochromatic
#F318E5 #F652EB #F98CF2 #FCC6F9 #FDE2FC

Accessibility & contrast

On white

2.09
#F98CF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.06
#F98CF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F98CF2
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F98CF2#FFFFFF#000000##000000
##F98CF21.002.0910.0610.06
#FFFFFF2.091.0021.0021.00
#00000010.0621.001.001.00
##00000010.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#86AAF6
Deuteranopia (green-blind)
#A4B9EF
Tritanopia (blue-blind)
#FF95B4
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #f98cf2;
/* rgb */ color: rgb(249, 140, 242);
/* oklch */ color: oklch(79.1% 0.180 329.5);
Tailwind
colors: {
  custom: {
    50: '#fdb0f6',
    500: '#f98cf2',
    950: '#000000',
  },
}
SCSS
$custom: #f98cf2;
$custom-light: #fdb0f6;
$custom-dark: #000000;
JSON
{
  "hex": "#f98cf2",
  "rgb": {
    "r": 249,
    "g": 140,
    "b": 242
  },
  "hsl": {
    "h": 303.853,
    "s": 90.083,
    "l": 76.275
  },
  "oklch": {
    "l": 0.79059,
    "c": 0.18044,
    "h": 329.5
  },
  "luminance": 0.45307
}

Semantic roles & 50–950 ramp

primary
#F98CF2
secondary
#D5F6D7
accent
#E60F00
background
#FFFBFF
surface
#FFF6FE
border
#D7D0D6
text
#181117
muted
#868085

Preview Lab

Preview with #F98CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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