#FB98EF#FB98EF

#FB98EF is a light, vivid purple. Relative luminance 0.492; OKLCH L 80.9% C 0.159 H 331.4°. Best body text is #000000 at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#FB98EF
RGBrgb(251, 152, 239)
HSLhsl(307, 93%, 79%)
HSVhsv(307, 39%, 98%)
CMYKcmyk(0%, 39.4%, 4.8%, 1.6%)
CIE-LABlab(75.58, 49.36, -28.15)
CIE-LCHlch(75.58, 56.82, 330.30°)
OKLaboklab(80.93% 0.1399 -0.0762)
OKLCHoklch(80.93% 0.159 331.4)
XYZxyz(66.5912, 49.2011, 87.6338)
Luminance0.4920 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB98EF #98FBA4
analogous
#D698FB #FB98EF #FB98BE
triadic
#FB98EF #EFFB98 #98EFFB
tetradic
#FB98EF #FBD698 #98FBA4 #98BEFB
square
#FB98EF #FBD698 #98FBA4 #98BEFB
split-complementary
#FB98EF #BEFB98 #98FBD6
monochromatic
#F622DD #F95DE6 #FB98EF #FDD3F8 #FEE2FA

Accessibility & contrast

On white

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

On black

10.84
#FB98EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB98EF
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB98EF#FFFFFF#000000##000000
##FB98EF1.001.9410.8410.84
#FFFFFF1.941.0021.0021.00
#00000010.8421.001.001.00
##00000010.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#95B2F2
Deuteranopia (green-blind)
#AFBFEC
Tritanopia (blue-blind)
#FF9EB9
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #fb98ef;
/* rgb */ color: rgb(251, 152, 239);
/* oklch */ color: oklch(80.9% 0.159 331.4);
Tailwind
colors: {
  custom: {
    50: '#feb8f4',
    500: '#fb98ef',
    950: '#000000',
  },
}
SCSS
$custom: #fb98ef;
$custom-light: #feb8f4;
$custom-dark: #000000;
JSON
{
  "hex": "#fb98ef",
  "rgb": {
    "r": 251,
    "g": 152,
    "b": 239
  },
  "hsl": {
    "h": 307.273,
    "s": 92.523,
    "l": 79.02
  },
  "oklch": {
    "l": 0.80931,
    "c": 0.15932,
    "h": 331.4
  },
  "luminance": 0.49198
}

Semantic roles & 50–950 ramp

primary
#FB98EF
secondary
#D5F6D9
accent
#E61C00
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#181117
muted
#868085

Preview Lab

Preview with #FB98EF

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

Preview Lab → · Contrast checker → · Palette generator →

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