#FF98FE#FF98FE

#FF98FE is a light, vivid purple. Relative luminance 0.509; OKLCH L 82.0% C 0.175 H 327.4°. Best body text is #000000 at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#FF98FE
RGBrgb(255, 152, 254)
HSLhsl(301, 100%, 80%)
HSVhsv(301, 40%, 100%)
CMYKcmyk(0%, 40.4%, 0.4%, 0%)
CIE-LABlab(76.60, 53.15, -34.65)
CIE-LCHlch(76.60, 63.45, 326.89°)
OKLaboklab(81.99% 0.1477 -0.0945)
OKLCHoklch(81.99% 0.175 327.4)
XYZxyz(70.3563, 50.8755, 99.8607)
Luminance0.5087 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF98FE #98FF99
analogous
#CD98FF #FF98FE #FF98CA
triadic
#FF98FE #FEFF98 #98FEFF
tetradic
#FF98FE #FFCD98 #98FF99 #98CAFF
square
#FF98FE #FFCD98 #98FF99 #98CAFF
split-complementary
#FF98FE #CAFF98 #98FFCD
monochromatic
#FF1EFD #FF5BFD #FF98FE #FFD5FF #FFE0FF

Accessibility & contrast

On white

1.88
#FF98FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.17
#FF98FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF98FE
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF98FE#FFFFFF#000000##000000
##FF98FE1.001.8811.1711.17
#FFFFFF1.881.0021.0021.00
#00000011.1721.001.001.00
##00000011.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ff98fe;
/* rgb */ color: rgb(255, 152, 254);
/* oklch */ color: oklch(82.0% 0.175 327.4);
Tailwind
colors: {
  custom: {
    50: '#ffb8ff',
    500: '#ff98fe',
    950: '#000000',
  },
}
SCSS
$custom: #ff98fe;
$custom-light: #ffb8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ff98fe",
  "rgb": {
    "r": 255,
    "g": 152,
    "b": 254
  },
  "hsl": {
    "h": 300.583,
    "s": 100,
    "l": 79.804
  },
  "oklch": {
    "l": 0.81987,
    "c": 0.17533,
    "h": 327.4
  },
  "luminance": 0.50872
}

Semantic roles & 50–950 ramp

primary
#FF98FE
secondary
#59E25B
accent
#E60200
background
#FFFDFF
surface
#FFF8FF
border
#D7D1D7
text
#181218
muted
#868286

Preview Lab

Preview with #FF98FE

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

Preview Lab → · Contrast checker → · Palette generator →

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