#9E98E6#9E98E6

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

Color values

HEX#9E98E6
RGBrgb(158, 152, 230)
HSLhsl(245, 61%, 75%)
HSVhsv(245, 34%, 90%)
CMYKcmyk(31.3%, 33.9%, 0%, 9.8%)
CIE-LABlab(66.09, 19.64, -38.64)
CIE-LCHlch(66.09, 43.34, 296.94°)
OKLaboklab(71.52% 0.0323 -0.1077)
OKLCHoklch(71.52% 0.112 286.7)
XYZxyz(39.6079, 35.4378, 79.6009)
Luminance0.3544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E98E6 #E0E698
analogous
#98B9E6 #9E98E6 #C598E6
triadic
#9E98E6 #E69E98 #98E69E
tetradic
#9E98E6 #E698B9 #E0E698 #98E6C5
square
#9E98E6 #E698B9 #E0E698 #98E6C5
split-complementary
#9E98E6 #E6C598 #B9E698
monochromatic
#4136CE #7067DA #9E98E6 #CCC9F2 #E8E6F9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E98E6#FFFFFF#000000##000000
##9E98E61.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)
#81A3E9
Deuteranopia (green-blind)
#809FE4
Tritanopia (blue-blind)
#8CA6B4
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9e98e6;
/* rgb */ color: rgb(158, 152, 230);
/* oklch */ color: oklch(71.5% 0.112 286.7);
Tailwind
colors: {
  custom: {
    50: '#bcb6ee',
    500: '#9e98e6',
    950: '#000000',
  },
}
SCSS
$custom: #9e98e6;
$custom-light: #bcb6ee;
$custom-dark: #000000;
JSON
{
  "hex": "#9e98e6",
  "rgb": {
    "r": 158,
    "g": 152,
    "b": 230
  },
  "hsl": {
    "h": 244.615,
    "s": 60.937,
    "l": 74.902
  },
  "oklch": {
    "l": 0.7152,
    "c": 0.11245,
    "h": 286.7
  },
  "luminance": 0.35439
}

Semantic roles & 50–950 ramp

primary
#9E98E6
secondary
#EFF0DB
accent
#C91DBB
background
#FBFBFE
surface
#F7F6FD
border
#D0D0D5
text
#121116
muted
#818084

Preview Lab

Preview with #9E98E6

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

Preview Lab → · Contrast checker → · Palette generator →

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