#FE98FB#FE98FB

#FE98FB is a light, vivid purple. Relative luminance 0.505; OKLCH L 81.8% C 0.172 H 328.1°. Best body text is #000000 at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#FE98FB
RGBrgb(254, 152, 251)
HSLhsl(302, 98%, 80%)
HSVhsv(302, 40%, 100%)
CMYKcmyk(0%, 40.2%, 1.2%, 0.4%)
CIE-LABlab(76.37, 52.33, -33.40)
CIE-LCHlch(76.37, 62.08, 327.45°)
OKLaboklab(81.75% 0.1459 -0.091)
OKLCHoklch(81.75% 0.172 328.1)
XYZxyz(69.5127, 50.4957, 97.3332)
Luminance0.5049 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FE98FB #98FE9B
analogous
#CE98FE #FE98FB #FE98C8
triadic
#FE98FB #FBFE98 #98FBFE
tetradic
#FE98FB #FECE98 #98FE9B #98C8FE
square
#FE98FB #FECE98 #98FE9B #98C8FE
split-complementary
#FE98FB #C8FE98 #98FECE
monochromatic
#FD1FF6 #FD5BF9 #FE98FB #FFD5FD #FFE1FE

Accessibility & contrast

On white

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

On black

11.10
#FE98FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FE98FB
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FE98FB#FFFFFF#000000##000000
##FE98FB1.001.8911.1011.10
#FFFFFF1.891.0021.0021.00
#00000011.1021.001.001.00
##00000011.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fe98fb;
/* rgb */ color: rgb(254, 152, 251);
/* oklch */ color: oklch(81.8% 0.172 328.1);
Tailwind
colors: {
  custom: {
    50: '#ffb8fd',
    500: '#fe98fb',
    950: '#000000',
  },
}
SCSS
$custom: #fe98fb;
$custom-light: #ffb8fd;
$custom-dark: #000000;
JSON
{
  "hex": "#fe98fb",
  "rgb": {
    "r": 254,
    "g": 152,
    "b": 251
  },
  "hsl": {
    "h": 301.765,
    "s": 98.077,
    "l": 79.608
  },
  "oklch": {
    "l": 0.81751,
    "c": 0.17196,
    "h": 328.1
  },
  "luminance": 0.50492
}

Semantic roles & 50–950 ramp

primary
#FE98FB
secondary
#5AE05E
accent
#E60700
background
#FFFDFF
surface
#FFF8FF
border
#D7D1D7
text
#181217
muted
#868285

Preview Lab

Preview with #FE98FB

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

Preview Lab → · Contrast checker → · Palette generator →

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