#FF98FA#FF98FA

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

Color values

HEX#FF98FA
RGBrgb(255, 152, 250)
HSLhsl(303, 100%, 80%)
HSVhsv(303, 40%, 100%)
CMYKcmyk(0%, 40.4%, 2%, 0%)
CIE-LABlab(76.45, 52.45, -32.73)
CIE-LCHlch(76.45, 61.82, 328.03°)
OKLaboklab(81.82% 0.1468 -0.0891)
OKLCHoklch(81.82% 0.172 328.8)
XYZxyz(69.7225, 50.6220, 96.5224)
Luminance0.5062 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF98FA #98FF9D
analogous
#D198FF #FF98FA #FF98C6
triadic
#FF98FA #FAFF98 #98FAFF
tetradic
#FF98FA #FFD198 #98FF9D #98C6FF
square
#FF98FA #FFD198 #98FF9D #98C6FF
split-complementary
#FF98FA #C6FF98 #98FFD1
monochromatic
#FF1EF4 #FF5BF7 #FF98FA #FFD5FD #FFE0FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FF98FA#FFFFFF#000000##000000
##FF98FA1.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)
#92B4FE
Deuteranopia (green-blind)
#ADC2F7
Tritanopia (blue-blind)
#FFA1BE
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #ff98fa;
/* rgb */ color: rgb(255, 152, 250);
/* oklch */ color: oklch(81.8% 0.172 328.8);
Tailwind
colors: {
  custom: {
    50: '#ffb8fc',
    500: '#ff98fa',
    950: '#000000',
  },
}
SCSS
$custom: #ff98fa;
$custom-light: #ffb8fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ff98fa",
  "rgb": {
    "r": 255,
    "g": 152,
    "b": 250
  },
  "hsl": {
    "h": 302.913,
    "s": 100,
    "l": 79.804
  },
  "oklch": {
    "l": 0.81821,
    "c": 0.17172,
    "h": 328.8
  },
  "luminance": 0.50619
}

Semantic roles & 50–950 ramp

primary
#FF98FA
secondary
#59E260
accent
#E60B00
background
#FFFDFF
surface
#FFF8FF
border
#D7D1D7
text
#181217
muted
#868285

Preview Lab

Preview with #FF98FA

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

Preview Lab → · Contrast checker → · Palette generator →

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