#FE98FC#FE98FC

#FE98FC is a light, vivid purple. Relative luminance 0.506; OKLCH L 81.8% C 0.173 H 327.7°. Best body text is #000000 at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#FE98FC
RGBrgb(254, 152, 252)
HSLhsl(301, 98%, 80%)
HSVhsv(301, 40%, 100%)
CMYKcmyk(0%, 40.2%, 0.8%, 0.4%)
CIE-LABlab(76.41, 52.50, -33.88)
CIE-LCHlch(76.41, 62.48, 327.16°)
OKLaboklab(81.79% 0.1461 -0.0924)
OKLCHoklch(81.79% 0.173 327.7)
XYZxyz(69.6707, 50.5589, 98.1656)
Luminance0.5056 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FE98FC #98FE9A
analogous
#CD98FE #FE98FC #FE98C9
triadic
#FE98FC #FCFE98 #98FCFE
tetradic
#FE98FC #FECD98 #98FE9A #98C9FE
square
#FE98FC #FECD98 #98FE9A #98C9FE
split-complementary
#FE98FC #C9FE98 #98FECD
monochromatic
#FD1FF8 #FD5BFA #FE98FC #FFD5FE #FFE1FE

Accessibility & contrast

On white

1.89
#FE98FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.11
#FE98FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FE98FC
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FE98FC#FFFFFF#000000##000000
##FE98FC1.001.8911.1111.11
#FFFFFF1.891.0021.0021.00
#00000011.1121.001.001.00
##00000011.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#91B4FF
Deuteranopia (green-blind)
#ACC1F9
Tritanopia (blue-blind)
#FFA1BE
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #fe98fc;
/* rgb */ color: rgb(254, 152, 252);
/* oklch */ color: oklch(81.8% 0.173 327.7);
Tailwind
colors: {
  custom: {
    50: '#ffb8fd',
    500: '#fe98fc',
    950: '#000000',
  },
}
SCSS
$custom: #fe98fc;
$custom-light: #ffb8fd;
$custom-dark: #000000;
JSON
{
  "hex": "#fe98fc",
  "rgb": {
    "r": 254,
    "g": 152,
    "b": 252
  },
  "hsl": {
    "h": 301.176,
    "s": 98.077,
    "l": 79.608
  },
  "oklch": {
    "l": 0.81793,
    "c": 0.17288,
    "h": 327.7
  },
  "luminance": 0.50556
}

Semantic roles & 50–950 ramp

primary
#FE98FC
secondary
#5AE05D
accent
#E60400
background
#FFFDFF
surface
#FFF8FF
border
#D7D1D7
text
#181217
muted
#868285

Preview Lab

Preview with #FE98FC

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

Preview Lab → · Contrast checker → · Palette generator →

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