#F98BF2#F98BF2

#F98BF2 is a light, vivid purple. Relative luminance 0.450; OKLCH L 78.9% C 0.182 H 329.5°. Best body text is #000000 at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#F98BF2
RGBrgb(249, 139, 242)
HSLhsl(304, 90%, 76%)
HSVhsv(304, 44%, 98%)
CMYKcmyk(0%, 44.2%, 2.8%, 2.4%)
CIE-LABlab(72.90, 55.78, -33.92)
CIE-LCHlch(72.90, 65.28, 328.70°)
OKLaboklab(78.92% 0.1569 -0.0924)
OKLCHoklch(78.92% 0.182 329.5)
XYZxyz(64.3257, 45.0192, 89.2885)
Luminance0.4502 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F98BF2 #8BF992
analogous
#C98BF9 #F98BF2 #F98BBB
triadic
#F98BF2 #F2F98B #8BF2F9
tetradic
#F98BF2 #F9C98B #8BF992 #8BBBF9
square
#F98BF2 #F9C98B #8BF992 #8BBBF9
split-complementary
#F98BF2 #BBF98B #8BF9C9
monochromatic
#F317E5 #F651EB #F98BF2 #FCC5F9 #FDE2FC

Accessibility & contrast

On white

2.10
#F98BF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.00
#F98BF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F98BF2
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F98BF2#FFFFFF#000000##000000
##F98BF21.002.1010.0010.00
#FFFFFF2.101.0021.0021.00
#00000010.0021.001.001.00
##00000010.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#85AAF6
Deuteranopia (green-blind)
#A3B8EF
Tritanopia (blue-blind)
#FF94B3
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #f98bf2;
/* rgb */ color: rgb(249, 139, 242);
/* oklch */ color: oklch(78.9% 0.182 329.5);
Tailwind
colors: {
  custom: {
    50: '#fdb0f6',
    500: '#f98bf2',
    950: '#000000',
  },
}
SCSS
$custom: #f98bf2;
$custom-light: #fdb0f6;
$custom-dark: #000000;
JSON
{
  "hex": "#f98bf2",
  "rgb": {
    "r": 249,
    "g": 139,
    "b": 242
  },
  "hsl": {
    "h": 303.818,
    "s": 90.164,
    "l": 76.078
  },
  "oklch": {
    "l": 0.78917,
    "c": 0.18206,
    "h": 329.5
  },
  "luminance": 0.45016
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F98BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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