#FB98EE#FB98EE

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

Color values

HEX#FB98EE
RGBrgb(251, 152, 238)
HSLhsl(308, 93%, 79%)
HSVhsv(308, 39%, 98%)
CMYKcmyk(0%, 39.4%, 5.2%, 1.6%)
CIE-LABlab(75.54, 49.19, -27.66)
CIE-LCHlch(75.54, 56.43, 330.65°)
OKLaboklab(80.89% 0.1397 -0.0748)
OKLCHoklch(80.89% 0.158 331.8)
XYZxyz(66.4439, 49.1421, 86.8579)
Luminance0.4914 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB98EE #98FBA5
analogous
#D798FB #FB98EE #FB98BD
triadic
#FB98EE #EEFB98 #98EEFB
tetradic
#FB98EE #FBD798 #98FBA5 #98BDFB
square
#FB98EE #FBD798 #98FBA5 #98BDFB
split-complementary
#FB98EE #BDFB98 #98FBD7
monochromatic
#F622DB #F95DE4 #FB98EE #FDD3F8 #FEE2FA

Accessibility & contrast

On white

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

On black

10.83
#FB98EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB98EE
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB98EE#FFFFFF#000000##000000
##FB98EE1.001.9410.8310.83
#FFFFFF1.941.0021.0021.00
#00000010.8321.001.001.00
##00000010.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#95B1F1
Deuteranopia (green-blind)
#AFBFEB
Tritanopia (blue-blind)
#FF9EB8
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #fb98ee;
/* rgb */ color: rgb(251, 152, 238);
/* oklch */ color: oklch(80.9% 0.158 331.8);
Tailwind
colors: {
  custom: {
    50: '#feb8f3',
    500: '#fb98ee',
    950: '#000000',
  },
}
SCSS
$custom: #fb98ee;
$custom-light: #feb8f3;
$custom-dark: #000000;
JSON
{
  "hex": "#fb98ee",
  "rgb": {
    "r": 251,
    "g": 152,
    "b": 238
  },
  "hsl": {
    "h": 307.879,
    "s": 92.523,
    "l": 79.02
  },
  "oklch": {
    "l": 0.80891,
    "c": 0.15846,
    "h": 331.8
  },
  "luminance": 0.49139
}

Semantic roles & 50–950 ramp

primary
#FB98EE
secondary
#D5F6D9
accent
#E61E00
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#181117
muted
#868085

Preview Lab

Preview with #FB98EE

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

Preview Lab → · Contrast checker → · Palette generator →

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