#9E98B2#9E98B2

#9E98B2 is a light, muted violet. Relative luminance 0.329; OKLCH L 69.3% C 0.038 H 296.0°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#9E98B2
RGBrgb(158, 152, 178)
HSLhsl(254, 14%, 65%)
HSVhsv(254, 15%, 70%)
CMYKcmyk(11.2%, 14.6%, 0%, 30.2%)
CIE-LABlab(64.11, 7.39, -12.72)
CIE-LCHlch(64.11, 14.71, 300.18°)
OKLaboklab(69.34% 0.0167 -0.0343)
OKLCHoklch(69.34% 0.038 296)
XYZxyz(33.3631, 32.9398, 46.7112)
Luminance0.3294 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E98B2 #ACB298
analogous
#989FB2 #9E98B2 #AB98B2
triadic
#9E98B2 #B29E98 #98B29E
tetradic
#9E98B2 #B2989F #ACB298 #98B2AB
square
#9E98B2 #B2989F #ACB298 #98B2AB
split-complementary
#9E98B2 #B2AB98 #9FB298
monochromatic
#605977 #7D7598 #9E98B2 #BFBBCC #E0DEE6

Accessibility & contrast

On white

2.77
#9E98B2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#9E98B2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9E98B2
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E98B2#FFFFFF#000000##000000
##9E98B21.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#939CB3
Deuteranopia (green-blind)
#949BB1
Tritanopia (blue-blind)
#9B9CA1
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9e98b2;
/* rgb */ color: rgb(158, 152, 178);
/* oklch */ color: oklch(69.3% 0.038 296.0);
Tailwind
colors: {
  custom: {
    50: '#bab6c9',
    500: '#9e98b2',
    950: '#000000',
  },
}
SCSS
$custom: #9e98b2;
$custom-light: #bab6c9;
$custom-dark: #000000;
JSON
{
  "hex": "#9e98b2",
  "rgb": {
    "r": 158,
    "g": 152,
    "b": 178
  },
  "hsl": {
    "h": 253.846,
    "s": 14.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.69339,
    "c": 0.03821,
    "h": 296
  },
  "luminance": 0.3294
}

Semantic roles & 50–950 ramp

primary
#9E98B2
secondary
#D5D7CE
accent
#994D87
background
#FBFBFC
surface
#F6F6F8
border
#D0D0D1
text
#111113
muted
#808082

Preview Lab

Preview with #9E98B2

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

Preview Lab → · Contrast checker → · Palette generator →

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