#F98CF7#F98CF7

#F98CF7 is a light, vivid purple. Relative luminance 0.456; OKLCH L 79.3% C 0.185 H 327.8°. Best body text is #000000 at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#F98CF7
RGBrgb(249, 140, 247)
HSLhsl(301, 90%, 76%)
HSVhsv(301, 44%, 98%)
CMYKcmyk(0%, 43.8%, 0.8%, 2.4%)
CIE-LABlab(73.29, 56.15, -36.04)
CIE-LCHlch(73.29, 66.72, 327.31°)
OKLaboklab(79.27% 0.1564 -0.0985)
OKLCHoklch(79.27% 0.185 327.8)
XYZxyz(65.2324, 45.6146, 93.3461)
Luminance0.4561 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F98CF7 #8CF98E
analogous
#C58CF9 #F98CF7 #F98CC1
triadic
#F98CF7 #F7F98C #8CF7F9
tetradic
#F98CF7 #F9C58C #8CF98E #8CC1F9
square
#F98CF7 #F9C58C #8CF98E #8CC1F9
split-complementary
#F98CF7 #C1F98C #8CF9C5
monochromatic
#F318EF #F652F3 #F98CF7 #FCC6FB #FDE2FD

Accessibility & contrast

On white

2.07
#F98CF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.12
#F98CF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F98CF7
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F98CF7#FFFFFF#000000##000000
##F98CF71.002.0710.1210.12
#FFFFFF2.071.0021.0021.00
#00000010.1221.001.001.00
##00000010.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#84ABFB
Deuteranopia (green-blind)
#A2B9F4
Tritanopia (blue-blind)
#FF96B6
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #f98cf7;
/* rgb */ color: rgb(249, 140, 247);
/* oklch */ color: oklch(79.3% 0.185 327.8);
Tailwind
colors: {
  custom: {
    50: '#fdb0fa',
    500: '#f98cf7',
    950: '#000000',
  },
}
SCSS
$custom: #f98cf7;
$custom-light: #fdb0fa;
$custom-dark: #000000;
JSON
{
  "hex": "#f98cf7",
  "rgb": {
    "r": 249,
    "g": 140,
    "b": 247
  },
  "hsl": {
    "h": 301.101,
    "s": 90.083,
    "l": 76.275
  },
  "oklch": {
    "l": 0.79273,
    "c": 0.18485,
    "h": 327.8
  },
  "luminance": 0.45611
}

Semantic roles & 50–950 ramp

primary
#F98CF7
secondary
#D5F6D6
accent
#E60400
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#181117
muted
#868085

Preview Lab

Preview with #F98CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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