#FF98F2#FF98F2

#FF98F2 is a light, vivid purple. Relative luminance 0.501; OKLCH L 81.5% C 0.165 H 331.7°. Best body text is #000000 at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#FF98F2
RGBrgb(255, 152, 242)
HSLhsl(308, 100%, 80%)
HSVhsv(308, 40%, 100%)
CMYKcmyk(0%, 40.4%, 5.1%, 0%)
CIE-LABlab(76.15, 51.08, -28.86)
CIE-LCHlch(76.15, 58.67, 330.53°)
OKLaboklab(81.5% 0.145 -0.0781)
OKLCHoklch(81.5% 0.165 331.7)
XYZxyz(68.4946, 50.1308, 90.0556)
Luminance0.5013 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF98F2 #98FFA5
analogous
#D998FF #FF98F2 #FF98BE
triadic
#FF98F2 #F2FF98 #98F2FF
tetradic
#FF98F2 #FFD998 #98FFA5 #98BEFF
square
#FF98F2 #FFD998 #98FFA5 #98BEFF
split-complementary
#FF98F2 #BEFF98 #98FFD9
monochromatic
#FF1EE3 #FF5BEA #FF98F2 #FFD5FA #FFE0FB

Accessibility & contrast

On white

1.90
#FF98F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.03
#FF98F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF98F2
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF98F2#FFFFFF#000000##000000
##FF98F21.001.9011.0311.03
#FFFFFF1.901.0021.0021.00
#00000011.0321.001.001.00
##00000011.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#95B3F5
Deuteranopia (green-blind)
#B0C1EF
Tritanopia (blue-blind)
#FF9FBA
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #ff98f2;
/* rgb */ color: rgb(255, 152, 242);
/* oklch */ color: oklch(81.5% 0.165 331.7);
Tailwind
colors: {
  custom: {
    50: '#ffb8f6',
    500: '#ff98f2',
    950: '#000000',
  },
}
SCSS
$custom: #ff98f2;
$custom-light: #ffb8f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ff98f2",
  "rgb": {
    "r": 255,
    "g": 152,
    "b": 242
  },
  "hsl": {
    "h": 307.573,
    "s": 100,
    "l": 79.804
  },
  "oklch": {
    "l": 0.81498,
    "c": 0.16473,
    "h": 331.7
  },
  "luminance": 0.50127
}

Semantic roles & 50–950 ramp

primary
#FF98F2
secondary
#59E26B
accent
#E61D00
background
#FFFDFF
surface
#FFF8FE
border
#D7D1D6
text
#181217
muted
#868285

Preview Lab

Preview with #FF98F2

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

Preview Lab → · Contrast checker → · Palette generator →

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