#FB98EC#FB98EC

#FB98EC is a light, vivid purple. Relative luminance 0.490; OKLCH L 80.8% C 0.157 H 332.6°. Best body text is #000000 at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#FB98EC
RGBrgb(251, 152, 236)
HSLhsl(309, 93%, 79%)
HSVhsv(309, 39%, 98%)
CMYKcmyk(0%, 39.4%, 6%, 1.6%)
CIE-LABlab(75.47, 48.85, -26.68)
CIE-LCHlch(75.47, 55.66, 331.35°)
OKLaboklab(80.81% 0.1392 -0.0721)
OKLCHoklch(80.81% 0.157 332.6)
XYZxyz(66.1517, 49.0253, 85.3190)
Luminance0.4902 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB98EC #98FBA7
analogous
#D998FB #FB98EC #FB98BB
triadic
#FB98EC #ECFB98 #98ECFB
tetradic
#FB98EC #FBD998 #98FBA7 #98BBFB
square
#FB98EC #FBD998 #98FBA7 #98BBFB
split-complementary
#FB98EC #BBFB98 #98FBD9
monochromatic
#F622D6 #F95DE1 #FB98EC #FDD3F7 #FEE2FA

Accessibility & contrast

On white

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

On black

10.80
#FB98EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB98EC
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB98EC#FFFFFF#000000##000000
##FB98EC1.001.9410.8010.80
#FFFFFF1.941.0021.0021.00
#00000010.8021.001.001.00
##00000010.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fb98ec;
/* rgb */ color: rgb(251, 152, 236);
/* oklch */ color: oklch(80.8% 0.157 332.6);
Tailwind
colors: {
  custom: {
    50: '#feb8f2',
    500: '#fb98ec',
    950: '#000000',
  },
}
SCSS
$custom: #fb98ec;
$custom-light: #feb8f2;
$custom-dark: #000000;
JSON
{
  "hex": "#fb98ec",
  "rgb": {
    "r": 251,
    "g": 152,
    "b": 236
  },
  "hsl": {
    "h": 309.091,
    "s": 92.523,
    "l": 79.02
  },
  "oklch": {
    "l": 0.80812,
    "c": 0.15675,
    "h": 332.6
  },
  "luminance": 0.49022
}

Semantic roles & 50–950 ramp

primary
#FB98EC
secondary
#D5F6DA
accent
#E62300
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#181117
muted
#868085

Preview Lab

Preview with #FB98EC

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

Preview Lab → · Contrast checker → · Palette generator →

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