#FF98EF#FF98EF

#FF98EF is a light, vivid purple. Relative luminance 0.499; OKLCH L 81.4% C 0.162 H 332.8°. Best body text is #000000 at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#FF98EF
RGBrgb(255, 152, 239)
HSLhsl(309, 100%, 80%)
HSVhsv(309, 40%, 100%)
CMYKcmyk(0%, 40.4%, 6.3%, 0%)
CIE-LABlab(76.04, 50.57, -27.40)
CIE-LCHlch(76.04, 57.52, 331.55°)
OKLaboklab(81.38% 0.1443 -0.074)
OKLCHoklch(81.38% 0.162 332.8)
XYZxyz(68.0477, 49.9521, 87.7021)
Luminance0.4995 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF98EF #98FFA8
analogous
#DB98FF #FF98EF #FF98BC
triadic
#FF98EF #EFFF98 #98EFFF
tetradic
#FF98EF #FFDB98 #98FFA8 #98BCFF
square
#FF98EF #FFDB98 #98FFA8 #98BCFF
split-complementary
#FF98EF #BCFF98 #98FFDB
monochromatic
#FF1EDC #FF5BE5 #FF98EF #FFD5F9 #FFE0FA

Accessibility & contrast

On white

1.91
#FF98EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.99
#FF98EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF98EF
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF98EF#FFFFFF#000000##000000
##FF98EF1.001.9110.9910.99
#FFFFFF1.911.0021.0021.00
#00000010.9921.001.001.00
##00000010.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#96B2F2
Deuteranopia (green-blind)
#B1C1EC
Tritanopia (blue-blind)
#FF9EB9
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #ff98ef;
/* rgb */ color: rgb(255, 152, 239);
/* oklch */ color: oklch(81.4% 0.162 332.8);
Tailwind
colors: {
  custom: {
    50: '#ffb8f4',
    500: '#ff98ef',
    950: '#000000',
  },
}
SCSS
$custom: #ff98ef;
$custom-light: #ffb8f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ff98ef",
  "rgb": {
    "r": 255,
    "g": 152,
    "b": 239
  },
  "hsl": {
    "h": 309.32,
    "s": 100,
    "l": 79.804
  },
  "oklch": {
    "l": 0.81379,
    "c": 0.16218,
    "h": 332.8
  },
  "luminance": 0.49948
}

Semantic roles & 50–950 ramp

primary
#FF98EF
secondary
#D4F7D9
accent
#E62400
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#181217
muted
#868185

Preview Lab

Preview with #FF98EF

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

Preview Lab → · Contrast checker → · Palette generator →

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