#FE98FA#FE98FA

#FE98FA is a light, vivid purple. Relative luminance 0.504; OKLCH L 81.7% C 0.171 H 328.4°. Best body text is #000000 at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#FE98FA
RGBrgb(254, 152, 250)
HSLhsl(302, 98%, 80%)
HSVhsv(302, 40%, 100%)
CMYKcmyk(0%, 40.2%, 1.6%, 0.4%)
CIE-LABlab(76.33, 52.15, -32.92)
CIE-LCHlch(76.33, 61.67, 327.74°)
OKLaboklab(81.71% 0.1457 -0.0896)
OKLCHoklch(81.71% 0.171 328.4)
XYZxyz(69.3555, 50.4328, 96.5052)
Luminance0.5043 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FE98FA #98FE9C
analogous
#CF98FE #FE98FA #FE98C7
triadic
#FE98FA #FAFE98 #98FAFE
tetradic
#FE98FA #FECF98 #98FE9C #98C7FE
square
#FE98FA #FECF98 #98FE9C #98C7FE
split-complementary
#FE98FA #C7FE98 #98FECF
monochromatic
#FD1FF4 #FD5BF7 #FE98FA #FFD5FD #FFE1FE

Accessibility & contrast

On white

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

On black

11.09
#FE98FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FE98FA
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FE98FA#FFFFFF#000000##000000
##FE98FA1.001.8911.0911.09
#FFFFFF1.891.0021.0021.00
#00000011.0921.001.001.00
##00000011.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#92B4FE
Deuteranopia (green-blind)
#ADC1F7
Tritanopia (blue-blind)
#FFA1BE
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #fe98fa;
/* rgb */ color: rgb(254, 152, 250);
/* oklch */ color: oklch(81.7% 0.171 328.4);
Tailwind
colors: {
  custom: {
    50: '#ffb8fc',
    500: '#fe98fa',
    950: '#000000',
  },
}
SCSS
$custom: #fe98fa;
$custom-light: #ffb8fc;
$custom-dark: #000000;
JSON
{
  "hex": "#fe98fa",
  "rgb": {
    "r": 254,
    "g": 152,
    "b": 250
  },
  "hsl": {
    "h": 302.353,
    "s": 98.077,
    "l": 79.608
  },
  "oklch": {
    "l": 0.8171,
    "c": 0.17107,
    "h": 328.4
  },
  "luminance": 0.50429
}

Semantic roles & 50–950 ramp

primary
#FE98FA
secondary
#5AE05F
accent
#E60900
background
#FFFDFF
surface
#FFF8FF
border
#D7D1D7
text
#181217
muted
#868285

Preview Lab

Preview with #FE98FA

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

Preview Lab → · Contrast checker → · Palette generator →

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