#9D98E8#9D98E8

#9D98E8 is a light, moderate blue. Relative luminance 0.355; OKLCH L 71.5% C 0.115 H 286.0°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#9D98E8
RGBrgb(157, 152, 232)
HSLhsl(244, 63%, 75%)
HSVhsv(244, 34%, 91%)
CMYKcmyk(32.3%, 34.5%, 0%, 9%)
CIE-LABlab(66.10, 19.87, -39.73)
CIE-LCHlch(66.10, 44.42, 296.57°)
OKLaboklab(71.54% 0.0317 -0.1109)
OKLCHoklch(71.54% 0.115 286)
XYZxyz(39.6945, 35.4497, 81.0794)
Luminance0.3545 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D98E8 #E3E898
analogous
#98BBE8 #9D98E8 #C598E8
triadic
#9D98E8 #E89D98 #98E89D
tetradic
#9D98E8 #E898BB #E3E898 #98E8C5
square
#9D98E8 #E898BB #E3E898 #98E8C5
split-complementary
#9D98E8 #E8C598 #BBE898
monochromatic
#3E34D2 #6D66DD #9D98E8 #CDCAF3 #E7E6F9

Accessibility & contrast

On white

2.60
#9D98E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#9D98E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D98E8
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D98E8#FFFFFF#000000##000000
##9D98E81.002.608.098.09
#FFFFFF2.601.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A3EB
Deuteranopia (green-blind)
#7E9EE6
Tritanopia (blue-blind)
#8AA7B5
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9d98e8;
/* rgb */ color: rgb(157, 152, 232);
/* oklch */ color: oklch(71.5% 0.115 286.0);
Tailwind
colors: {
  custom: {
    50: '#bcb6ef',
    500: '#9d98e8',
    950: '#000000',
  },
}
SCSS
$custom: #9d98e8;
$custom-light: #bcb6ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9d98e8",
  "rgb": {
    "r": 157,
    "g": 152,
    "b": 232
  },
  "hsl": {
    "h": 243.75,
    "s": 63.492,
    "l": 75.294
  },
  "oklch": {
    "l": 0.71536,
    "c": 0.11531,
    "h": 286
  },
  "luminance": 0.35451
}

Semantic roles & 50–950 ramp

primary
#9D98E8
secondary
#EFF1DA
accent
#CB1AC0
background
#FBFBFE
surface
#F7F6FD
border
#D0D0D5
text
#121116
muted
#818084

Preview Lab

Preview with #9D98E8

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

Preview Lab → · Contrast checker → · Palette generator →

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