#FF98FD#FF98FD

#FF98FD is a light, vivid purple. Relative luminance 0.508; OKLCH L 81.9% C 0.174 H 327.7°. Best body text is #000000 at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#FF98FD
RGBrgb(255, 152, 253)
HSLhsl(301, 100%, 80%)
HSVhsv(301, 40%, 100%)
CMYKcmyk(0%, 40.4%, 0.8%, 0%)
CIE-LABlab(76.56, 52.97, -34.17)
CIE-LCHlch(76.56, 63.04, 327.17°)
OKLaboklab(81.95% 0.1475 -0.0932)
OKLCHoklch(81.95% 0.174 327.7)
XYZxyz(70.1966, 50.8117, 99.0196)
Luminance0.5081 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF98FD #98FF9A
analogous
#CE98FF #FF98FD #FF98CA
triadic
#FF98FD #FDFF98 #98FDFF
tetradic
#FF98FD #FFCE98 #98FF9A #98CAFF
square
#FF98FD #FFCE98 #98FF9A #98CAFF
split-complementary
#FF98FD #CAFF98 #98FFCE
monochromatic
#FF1EFB #FF5BFC #FF98FD #FFD5FE #FFE0FE

Accessibility & contrast

On white

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

On black

11.16
#FF98FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF98FD
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF98FD#FFFFFF#000000##000000
##FF98FD1.001.8811.1611.16
#FFFFFF1.881.0021.0021.00
#00000011.1621.001.001.00
##00000011.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#91B4FF
Deuteranopia (green-blind)
#ACC2FA
Tritanopia (blue-blind)
#FFA1BF
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #ff98fd;
/* rgb */ color: rgb(255, 152, 253);
/* oklch */ color: oklch(81.9% 0.174 327.7);
Tailwind
colors: {
  custom: {
    50: '#ffb8fe',
    500: '#ff98fd',
    950: '#000000',
  },
}
SCSS
$custom: #ff98fd;
$custom-light: #ffb8fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ff98fd",
  "rgb": {
    "r": 255,
    "g": 152,
    "b": 253
  },
  "hsl": {
    "h": 301.165,
    "s": 100,
    "l": 79.804
  },
  "oklch": {
    "l": 0.81946,
    "c": 0.17442,
    "h": 327.7
  },
  "luminance": 0.50808
}

Semantic roles & 50–950 ramp

primary
#FF98FD
secondary
#59E25C
accent
#E60400
background
#FFFDFF
surface
#FFF8FF
border
#D7D1D7
text
#181218
muted
#868286

Preview Lab

Preview with #FF98FD

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

Preview Lab → · Contrast checker → · Palette generator →

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