#9F97BA#9F97BA

#9F97BA is a light, muted violet. Relative luminance 0.330; OKLCH L 69.5% C 0.051 H 295.5°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#9F97BA
RGBrgb(159, 151, 186)
HSLhsl(254, 20%, 66%)
HSVhsv(254, 19%, 73%)
CMYKcmyk(14.5%, 18.8%, 0%, 27.1%)
CIE-LABlab(64.20, 10.03, -17.07)
CIE-LCHlch(64.20, 19.79, 300.44°)
OKLaboklab(69.52% 0.0221 -0.0464)
OKLCHoklch(69.52% 0.051 295.5)
XYZxyz(34.2258, 33.0491, 51.0208)
Luminance0.3305 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F97BA #B2BA97
analogous
#97A0BA #9F97BA #B097BA
triadic
#9F97BA #BA9F97 #97BA9F
tetradic
#9F97BA #BA97A0 #B2BA97 #97BAB0
square
#9F97BA #BA97A0 #B2BA97 #97BAB0
split-complementary
#9F97BA #BAB097 #A0BA97
monochromatic
#605681 #7D72A2 #9F97BA #C1BCD2 #E3E1EB

Accessibility & contrast

On white

2.76
#9F97BA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#9F97BA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9F97BA
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F97BA#FFFFFF#000000##000000
##9F97BA1.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#909CBC
Deuteranopia (green-blind)
#919BB9
Tritanopia (blue-blind)
#9A9CA3
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9f97ba;
/* rgb */ color: rgb(159, 151, 186);
/* oklch */ color: oklch(69.5% 0.051 295.5);
Tailwind
colors: {
  custom: {
    50: '#bbb5ce',
    500: '#9f97ba',
    950: '#000000',
  },
}
SCSS
$custom: #9f97ba;
$custom-light: #bbb5ce;
$custom-dark: #000000;
JSON
{
  "hex": "#9f97ba",
  "rgb": {
    "r": 159,
    "g": 151,
    "b": 186
  },
  "hsl": {
    "h": 253.714,
    "s": 20.231,
    "l": 66.078
  },
  "oklch": {
    "l": 0.69517,
    "c": 0.0514,
    "h": 295.5
  },
  "luminance": 0.33049
}

Semantic roles & 50–950 ramp

primary
#9F97BA
secondary
#DADCD1
accent
#9F478B
background
#FBFBFC
surface
#F6F6F9
border
#D0D0D2
text
#121113
muted
#818082

Preview Lab

Preview with #9F97BA

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

Preview Lab → · Contrast checker → · Palette generator →

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