#FE98FD#FE98FD

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

Color values

HEX#FE98FD
RGBrgb(254, 152, 253)
HSLhsl(301, 98%, 80%)
HSVhsv(301, 40%, 100%)
CMYKcmyk(0%, 40.2%, 0.4%, 0.4%)
CIE-LABlab(76.45, 52.68, -34.36)
CIE-LCHlch(76.45, 62.89, 326.88°)
OKLaboklab(81.83% 0.1464 -0.0937)
OKLCHoklch(81.83% 0.174 327.4)
XYZxyz(69.8296, 50.6224, 99.0024)
Luminance0.5062 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FE98FD #98FE99
analogous
#CC98FE #FE98FD #FE98CA
triadic
#FE98FD #FDFE98 #98FDFE
tetradic
#FE98FD #FECC98 #98FE99 #98CAFE
square
#FE98FD #FECC98 #98FE99 #98CAFE
split-complementary
#FE98FD #CAFE98 #98FECC
monochromatic
#FD1FFB #FD5BFC #FE98FD #FFD5FE #FFE1FE

Accessibility & contrast

On white

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

On black

11.12
#FE98FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FE98FD
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FE98FD#FFFFFF#000000##000000
##FE98FD1.001.8911.1211.12
#FFFFFF1.891.0021.0021.00
#00000011.1221.001.001.00
##00000011.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#90B4FF
Deuteranopia (green-blind)
#ACC1FA
Tritanopia (blue-blind)
#FFA2BF
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #fe98fd;
/* rgb */ color: rgb(254, 152, 253);
/* oklch */ color: oklch(81.8% 0.174 327.4);
Tailwind
colors: {
  custom: {
    50: '#ffb8fe',
    500: '#fe98fd',
    950: '#000000',
  },
}
SCSS
$custom: #fe98fd;
$custom-light: #ffb8fe;
$custom-dark: #000000;
JSON
{
  "hex": "#fe98fd",
  "rgb": {
    "r": 254,
    "g": 152,
    "b": 253
  },
  "hsl": {
    "h": 300.588,
    "s": 98.077,
    "l": 79.608
  },
  "oklch": {
    "l": 0.81834,
    "c": 0.17379,
    "h": 327.4
  },
  "luminance": 0.50619
}

Semantic roles & 50–950 ramp

primary
#FE98FD
secondary
#5AE05B
accent
#E60200
background
#FFFDFF
surface
#FFF8FF
border
#D7D1D7
text
#181218
muted
#868286

Preview Lab

Preview with #FE98FD

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

Preview Lab → · Contrast checker → · Palette generator →

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