#F98DEC#F98DEC

#F98DEC is a light, vivid purple. Relative luminance 0.452; OKLCH L 79.0% C 0.174 H 331.6°. Best body text is #000000 at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#F98DEC
RGBrgb(249, 141, 236)
HSLhsl(307, 90%, 76%)
HSVhsv(307, 43%, 98%)
CMYKcmyk(0%, 43.4%, 5.2%, 2.4%)
CIE-LABlab(73.06, 53.77, -30.41)
CIE-LCHlch(73.06, 61.77, 330.51°)
OKLaboklab(78.95% 0.1528 -0.0825)
OKLCHoklch(78.95% 0.174 331.6)
XYZxyz(63.7316, 45.2492, 84.7177)
Luminance0.4525 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F98DEC #8DF99A
analogous
#D08DF9 #F98DEC #F98DB6
triadic
#F98DEC #ECF98D #8DECF9
tetradic
#F98DEC #F9D08D #8DF99A #8DB6F9
square
#F98DEC #F9D08D #8DF99A #8DB6F9
split-complementary
#F98DEC #B6F98D #8DF9D0
monochromatic
#F319D9 #F653E2 #F98DEC #FCC7F6 #FDE2FA

Accessibility & contrast

On white

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

On black

10.05
#F98DEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F98DEC
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F98DEC#FFFFFF#000000##000000
##F98DEC1.002.0910.0510.05
#FFFFFF2.091.0021.0021.00
#00000010.0521.001.001.00
##00000010.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AAAEF
Deuteranopia (green-blind)
#A7B9E9
Tritanopia (blue-blind)
#FF94B2
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #f98dec;
/* rgb */ color: rgb(249, 141, 236);
/* oklch */ color: oklch(79.0% 0.174 331.6);
Tailwind
colors: {
  custom: {
    50: '#fdb1f2',
    500: '#f98dec',
    950: '#000000',
  },
}
SCSS
$custom: #f98dec;
$custom-light: #fdb1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#f98dec",
  "rgb": {
    "r": 249,
    "g": 141,
    "b": 236
  },
  "hsl": {
    "h": 307.222,
    "s": 90,
    "l": 76.471
  },
  "oklch": {
    "l": 0.78953,
    "c": 0.17364,
    "h": 331.6
  },
  "luminance": 0.45246
}

Semantic roles & 50–950 ramp

primary
#F98DEC
secondary
#D5F6D9
accent
#E61C00
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#181117
muted
#868085

Preview Lab

Preview with #F98DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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