#FF98FC#FF98FC

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

Color values

HEX#FF98FC
RGBrgb(255, 152, 252)
HSLhsl(302, 100%, 80%)
HSVhsv(302, 40%, 100%)
CMYKcmyk(0%, 40.4%, 1.2%, 0%)
CIE-LABlab(76.53, 52.79, -33.69)
CIE-LCHlch(76.53, 62.63, 327.45°)
OKLaboklab(81.9% 0.1472 -0.0918)
OKLCHoklch(81.9% 0.174 328.1)
XYZxyz(70.0377, 50.7481, 98.1828)
Luminance0.5074 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF98FC #98FF9B
analogous
#CF98FF #FF98FC #FF98C8
triadic
#FF98FC #FCFF98 #98FCFF
tetradic
#FF98FC #FFCF98 #98FF9B #98C8FF
square
#FF98FC #FFCF98 #98FF9B #98C8FF
split-complementary
#FF98FC #C8FF98 #98FFCF
monochromatic
#FF1EF8 #FF5BFA #FF98FC #FFD5FE #FFE0FE

Accessibility & contrast

On white

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

On black

11.15
#FF98FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF98FC
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF98FC#FFFFFF#000000##000000
##FF98FC1.001.8811.1511.15
#FFFFFF1.881.0021.0021.00
#00000011.1521.001.001.00
##00000011.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ff98fc;
/* rgb */ color: rgb(255, 152, 252);
/* oklch */ color: oklch(81.9% 0.174 328.1);
Tailwind
colors: {
  custom: {
    50: '#ffb8fd',
    500: '#ff98fc',
    950: '#000000',
  },
}
SCSS
$custom: #ff98fc;
$custom-light: #ffb8fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ff98fc",
  "rgb": {
    "r": 255,
    "g": 152,
    "b": 252
  },
  "hsl": {
    "h": 301.748,
    "s": 100,
    "l": 79.804
  },
  "oklch": {
    "l": 0.81904,
    "c": 0.17352,
    "h": 328.1
  },
  "luminance": 0.50745
}

Semantic roles & 50–950 ramp

primary
#FF98FC
secondary
#59E25D
accent
#E60700
background
#FFFDFF
surface
#FFF8FF
border
#D7D1D7
text
#181217
muted
#868285

Preview Lab

Preview with #FF98FC

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

Preview Lab → · Contrast checker → · Palette generator →

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