#9898FB#9898FB

#9898FB is a light, vivid blue. Relative luminance 0.361; OKLCH L 72.1% C 0.142 H 282.2°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#9898FB
RGBrgb(152, 152, 251)
HSLhsl(240, 93%, 79%)
HSVhsv(240, 39%, 98%)
CMYKcmyk(39.4%, 39.4%, 0%, 1.6%)
CIE-LABlab(66.59, 23.58, -49.39)
CIE-LCHlch(66.59, 54.73, 295.52°)
OKLaboklab(72.11% 0.0302 -0.139)
OKLCHoklch(72.11% 0.142 282.2)
XYZxyz(41.5847, 36.0953, 96.0241)
Luminance0.3610 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9898FB #FBFB98
analogous
#98CAFB #9898FB #CA98FB
triadic
#9898FB #FB9898 #98FB98
tetradic
#9898FB #FB98CA #FBFB98 #98FBCA
square
#9898FB #FB98CA #FBFB98 #98FBCA
split-complementary
#9898FB #FBCA98 #CAFB98
monochromatic
#2222F6 #5D5DF9 #9898FB #D3D3FD #E2E2FE

Accessibility & contrast

On white

2.55
#9898FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#9898FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9898FB
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9898FB#FFFFFF#000000##000000
##9898FB1.002.558.228.22
#FFFFFF2.551.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A5FF
Deuteranopia (green-blind)
#719FF9
Tritanopia (blue-blind)
#7BACBD
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9898fb;
/* rgb */ color: rgb(152, 152, 251);
/* oklch */ color: oklch(72.1% 0.142 282.2);
Tailwind
colors: {
  custom: {
    50: '#bab6fd',
    500: '#9898fb',
    950: '#000000',
  },
}
SCSS
$custom: #9898fb;
$custom-light: #bab6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#9898fb",
  "rgb": {
    "r": 152,
    "g": 152,
    "b": 251
  },
  "hsl": {
    "h": 240,
    "s": 92.523,
    "l": 79.02
  },
  "oklch": {
    "l": 0.72107,
    "c": 0.14224,
    "h": 282.2
  },
  "luminance": 0.36097
}

Semantic roles & 50–950 ramp

primary
#9898FB
secondary
#F6F6D5
accent
#E600E5
background
#FBFBFF
surface
#F7F6FF
border
#D0D0D7
text
#121117
muted
#818085

Preview Lab

Preview with #9898FB

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

Preview Lab → · Contrast checker → · Palette generator →

#9898FB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva