#9E97BA#9E97BA

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

Color values

HEX#9E97BA
RGBrgb(158, 151, 186)
HSLhsl(252, 20%, 66%)
HSVhsv(252, 19%, 73%)
CMYKcmyk(15.1%, 18.8%, 0%, 27.1%)
CIE-LABlab(64.12, 9.70, -17.20)
CIE-LCHlch(64.12, 19.74, 299.41°)
OKLaboklab(69.43% 0.021 -0.0468)
OKLCHoklch(69.43% 0.051 294.2)
XYZxyz(34.0282, 32.9473, 51.0116)
Luminance0.3295 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E97BA #B3BA97
analogous
#97A1BA #9E97BA #AF97BA
triadic
#9E97BA #BA9E97 #97BA9E
tetradic
#9E97BA #BA97A1 #B3BA97 #97BAAF
square
#9E97BA #BA97A1 #B3BA97 #97BAAF
split-complementary
#9E97BA #BAAF97 #A1BA97
monochromatic
#5E5681 #7C72A2 #9E97BA #C0BCD2 #E3E1EB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E97BA#FFFFFF#000000##000000
##9E97BA1.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)
#909CBC
Deuteranopia (green-blind)
#909BB9
Tritanopia (blue-blind)
#999CA3
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9e97ba;
/* rgb */ color: rgb(158, 151, 186);
/* oklch */ color: oklch(69.4% 0.051 294.2);
Tailwind
colors: {
  custom: {
    50: '#bbb5ce',
    500: '#9e97ba',
    950: '#000000',
  },
}
SCSS
$custom: #9e97ba;
$custom-light: #bbb5ce;
$custom-dark: #000000;
JSON
{
  "hex": "#9e97ba",
  "rgb": {
    "r": 158,
    "g": 151,
    "b": 186
  },
  "hsl": {
    "h": 252,
    "s": 20.231,
    "l": 66.078
  },
  "oklch": {
    "l": 0.69433,
    "c": 0.05127,
    "h": 294.2
  },
  "luminance": 0.32947
}

Semantic roles & 50–950 ramp

primary
#9E97BA
secondary
#DADCD1
accent
#9F478D
background
#FBFBFC
surface
#F6F6F9
border
#D0D0D2
text
#111113
muted
#808082

Preview Lab

Preview with #9E97BA

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

Preview Lab → · Contrast checker → · Palette generator →

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