#F98CE8#F98CE8

#F98CE8 is a light, vivid purple. Relative luminance 0.447; OKLCH L 78.6% C 0.172 H 333.1°. Best body text is #000000 at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#F98CE8
RGBrgb(249, 140, 232)
HSLhsl(309, 90%, 76%)
HSVhsv(309, 44%, 98%)
CMYKcmyk(0%, 43.8%, 6.8%, 2.4%)
CIE-LABlab(72.71, 53.60, -28.75)
CIE-LCHlch(72.71, 60.82, 331.79°)
OKLaboklab(78.65% 0.1533 -0.0778)
OKLCHoklch(78.65% 0.172 333.1)
XYZxyz(63.0102, 44.7257, 81.6423)
Luminance0.4472 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F98CE8 #8CF99D
analogous
#D48CF9 #F98CE8 #F98CB2
triadic
#F98CE8 #E8F98C #8CE8F9
tetradic
#F98CE8 #F9D48C #8CF99D #8CB2F9
square
#F98CE8 #F9D48C #8CF99D #8CB2F9
split-complementary
#F98CE8 #B2F98C #8CF9D4
monochromatic
#F318D1 #F652DC #F98CE8 #FCC6F4 #FDE2F9

Accessibility & contrast

On white

2.11
#F98CE8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.94
#F98CE8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F98CE8
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F98CE8#FFFFFF#000000##000000
##F98CE81.002.119.949.94
#FFFFFF2.111.0021.0021.00
#0000009.9421.001.001.00
##0000009.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AA9EB
Deuteranopia (green-blind)
#A8B8E5
Tritanopia (blue-blind)
#FF92AF
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #f98ce8;
/* rgb */ color: rgb(249, 140, 232);
/* oklch */ color: oklch(78.6% 0.172 333.1);
Tailwind
colors: {
  custom: {
    50: '#fdb0ef',
    500: '#f98ce8',
    950: '#000000',
  },
}
SCSS
$custom: #f98ce8;
$custom-light: #fdb0ef;
$custom-dark: #000000;
JSON
{
  "hex": "#f98ce8",
  "rgb": {
    "r": 249,
    "g": 140,
    "b": 232
  },
  "hsl": {
    "h": 309.358,
    "s": 90.083,
    "l": 76.275
  },
  "oklch": {
    "l": 0.78645,
    "c": 0.17194,
    "h": 333.1
  },
  "luminance": 0.44722
}

Semantic roles & 50–950 ramp

primary
#F98CE8
secondary
#D5F6DA
accent
#E62400
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#181116
muted
#868084

Preview Lab

Preview with #F98CE8

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

Preview Lab → · Contrast checker → · Palette generator →

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