#9B98FA#9B98FA

#9B98FA is a light, vivid blue. Relative luminance 0.363; OKLCH L 72.3% C 0.141 H 283.7°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#9B98FA
RGBrgb(155, 152, 250)
HSLhsl(242, 91%, 79%)
HSVhsv(242, 39%, 98%)
CMYKcmyk(38%, 39.2%, 0%, 2%)
CIE-LABlab(66.77, 24.07, -48.56)
CIE-LCHlch(66.77, 54.19, 296.37°)
OKLaboklab(72.28% 0.0333 -0.1365)
OKLCHoklch(72.28% 0.141 283.7)
XYZxyz(41.9962, 36.3257, 95.2228)
Luminance0.3633 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B98FA #F7FA98
analogous
#98C6FA #9B98FA #CC98FA
triadic
#9B98FA #FA9B98 #98FA9B
tetradic
#9B98FA #FA98C6 #F7FA98 #98FACC
square
#9B98FA #FA98C6 #F7FA98 #98FACC
split-complementary
#9B98FA #FACC98 #C6FA98
monochromatic
#2A23F4 #625EF7 #9B98FA #D4D2FD #E3E2FE

Accessibility & contrast

On white

2.54
#9B98FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#9B98FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9B98FA
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B98FA#FFFFFF#000000##000000
##9B98FA1.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A6FE
Deuteranopia (green-blind)
#739FF8
Tritanopia (blue-blind)
#80ABBD
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9b98fa;
/* rgb */ color: rgb(155, 152, 250);
/* oklch */ color: oklch(72.3% 0.141 283.7);
Tailwind
colors: {
  custom: {
    50: '#bcb6fc',
    500: '#9b98fa',
    950: '#000000',
  },
}
SCSS
$custom: #9b98fa;
$custom-light: #bcb6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#9b98fa",
  "rgb": {
    "r": 155,
    "g": 152,
    "b": 250
  },
  "hsl": {
    "h": 241.837,
    "s": 90.741,
    "l": 78.824
  },
  "oklch": {
    "l": 0.72281,
    "c": 0.1405,
    "h": 283.7
  },
  "luminance": 0.36327
}

Semantic roles & 50–950 ramp

primary
#9B98FA
secondary
#F5F6D5
accent
#E600DE
background
#FBFBFF
surface
#F7F6FF
border
#D0D0D7
text
#121117
muted
#818085

Preview Lab

Preview with #9B98FA

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

Preview Lab → · Contrast checker → · Palette generator →

#9B98FA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva