#F98CE7#F98CE7

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

Color values

HEX#F98CE7
RGBrgb(249, 140, 231)
HSLhsl(310, 90%, 76%)
HSVhsv(310, 44%, 98%)
CMYKcmyk(0%, 43.8%, 7.2%, 2.4%)
CIE-LABlab(72.67, 53.43, -28.26)
CIE-LCHlch(72.67, 60.45, 332.13°)
OKLaboklab(78.61% 0.1531 -0.0764)
OKLCHoklch(78.61% 0.171 333.5)
XYZxyz(62.8685, 44.6691, 80.8964)
Luminance0.4466 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F98CE7 #8CF99E
analogous
#D58CF9 #F98CE7 #F98CB1
triadic
#F98CE7 #E7F98C #8CE7F9
tetradic
#F98CE7 #F9D58C #8CF99E #8CB1F9
square
#F98CE7 #F9D58C #8CF99E #8CB1F9
split-complementary
#F98CE7 #B1F98C #8CF9D5
monochromatic
#F318CF #F652DB #F98CE7 #FCC6F3 #FDE2F9

Accessibility & contrast

On white

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

On black

9.93
#F98CE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F98CE7
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F98CE7#FFFFFF#000000##000000
##F98CE71.002.119.939.93
#FFFFFF2.111.0021.0021.00
#0000009.9321.001.001.00
##0000009.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f98ce7;
/* rgb */ color: rgb(249, 140, 231);
/* oklch */ color: oklch(78.6% 0.171 333.5);
Tailwind
colors: {
  custom: {
    50: '#fdb0ee',
    500: '#f98ce7',
    950: '#000000',
  },
}
SCSS
$custom: #f98ce7;
$custom-light: #fdb0ee;
$custom-dark: #000000;
JSON
{
  "hex": "#f98ce7",
  "rgb": {
    "r": 249,
    "g": 140,
    "b": 231
  },
  "hsl": {
    "h": 309.908,
    "s": 90.083,
    "l": 76.275
  },
  "oklch": {
    "l": 0.78605,
    "c": 0.17111,
    "h": 333.5
  },
  "luminance": 0.44665
}

Semantic roles & 50–950 ramp

primary
#F98CE7
secondary
#D5F6DB
accent
#E62600
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#181116
muted
#868084

Preview Lab

Preview with #F98CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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