#FF98FB#FF98FB

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

Color values

HEX#FF98FB
RGBrgb(255, 152, 251)
HSLhsl(302, 100%, 80%)
HSVhsv(302, 40%, 100%)
CMYKcmyk(0%, 40.4%, 1.6%, 0%)
CIE-LABlab(76.49, 52.62, -33.21)
CIE-LCHlch(76.49, 62.23, 327.74°)
OKLaboklab(81.86% 0.147 -0.0904)
OKLCHoklch(81.86% 0.173 328.4)
XYZxyz(69.8797, 50.6849, 97.3504)
Luminance0.5068 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF98FB #98FF9C
analogous
#D098FF #FF98FB #FF98C8
triadic
#FF98FB #FBFF98 #98FBFF
tetradic
#FF98FB #FFD098 #98FF9C #98C8FF
square
#FF98FB #FFD098 #98FF9C #98C8FF
split-complementary
#FF98FB #C8FF98 #98FFD0
monochromatic
#FF1EF6 #FF5BF9 #FF98FB #FFD5FD #FFE0FE

Accessibility & contrast

On white

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

On black

11.14
#FF98FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF98FB
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF98FB#FFFFFF#000000##000000
##FF98FB1.001.8911.1411.14
#FFFFFF1.891.0021.0021.00
#00000011.1421.001.001.00
##00000011.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ff98fb;
/* rgb */ color: rgb(255, 152, 251);
/* oklch */ color: oklch(81.9% 0.173 328.4);
Tailwind
colors: {
  custom: {
    50: '#ffb8fd',
    500: '#ff98fb',
    950: '#000000',
  },
}
SCSS
$custom: #ff98fb;
$custom-light: #ffb8fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ff98fb",
  "rgb": {
    "r": 255,
    "g": 152,
    "b": 251
  },
  "hsl": {
    "h": 302.33,
    "s": 100,
    "l": 79.804
  },
  "oklch": {
    "l": 0.81862,
    "c": 0.17262,
    "h": 328.4
  },
  "luminance": 0.50682
}

Semantic roles & 50–950 ramp

primary
#FF98FB
secondary
#59E25F
accent
#E60900
background
#FFFDFF
surface
#FFF8FF
border
#D7D1D7
text
#181217
muted
#868285

Preview Lab

Preview with #FF98FB

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

Preview Lab → · Contrast checker → · Palette generator →

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