#FB98ED#FB98ED

#FB98ED is a light, vivid purple. Relative luminance 0.491; OKLCH L 80.9% C 0.158 H 332.2°. Best body text is #000000 at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#FB98ED
RGBrgb(251, 152, 237)
HSLhsl(308, 93%, 79%)
HSVhsv(308, 39%, 98%)
CMYKcmyk(0%, 39.4%, 5.6%, 1.6%)
CIE-LABlab(75.50, 49.02, -27.17)
CIE-LCHlch(75.50, 56.04, 331.00°)
OKLaboklab(80.85% 0.1394 -0.0735)
OKLCHoklch(80.85% 0.158 332.2)
XYZxyz(66.2974, 49.0835, 86.0863)
Luminance0.4908 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB98ED #98FBA6
analogous
#D898FB #FB98ED #FB98BC
triadic
#FB98ED #EDFB98 #98EDFB
tetradic
#FB98ED #FBD898 #98FBA6 #98BCFB
square
#FB98ED #FBD898 #98FBA6 #98BCFB
split-complementary
#FB98ED #BCFB98 #98FBD8
monochromatic
#F622D8 #F95DE3 #FB98ED #FDD3F7 #FEE2FA

Accessibility & contrast

On white

1.94
#FB98ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.82
#FB98ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB98ED
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB98ED#FFFFFF#000000##000000
##FB98ED1.001.9410.8210.82
#FFFFFF1.941.0021.0021.00
#00000010.8221.001.001.00
##00000010.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#96B1F0
Deuteranopia (green-blind)
#B0BFEA
Tritanopia (blue-blind)
#FF9EB8
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #fb98ed;
/* rgb */ color: rgb(251, 152, 237);
/* oklch */ color: oklch(80.9% 0.158 332.2);
Tailwind
colors: {
  custom: {
    50: '#feb8f3',
    500: '#fb98ed',
    950: '#000000',
  },
}
SCSS
$custom: #fb98ed;
$custom-light: #feb8f3;
$custom-dark: #000000;
JSON
{
  "hex": "#fb98ed",
  "rgb": {
    "r": 251,
    "g": 152,
    "b": 237
  },
  "hsl": {
    "h": 308.485,
    "s": 92.523,
    "l": 79.02
  },
  "oklch": {
    "l": 0.80852,
    "c": 0.1576,
    "h": 332.2
  },
  "luminance": 0.4908
}

Semantic roles & 50–950 ramp

primary
#FB98ED
secondary
#D5F6DA
accent
#E62000
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#181117
muted
#868085

Preview Lab

Preview with #FB98ED

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

Preview Lab → · Contrast checker → · Palette generator →

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