#9B97FF#9B97FF

#9B97FF is a light, vivid blue. Relative luminance 0.363; OKLCH L 72.4% C 0.149 H 283.8°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#9B97FF
RGBrgb(155, 151, 255)
HSLhsl(242, 100%, 80%)
HSVhsv(242, 41%, 100%)
CMYKcmyk(39.2%, 40.8%, 0%, 0%)
CIE-LABlab(66.76, 25.99, -51.29)
CIE-LCHlch(66.76, 57.50, 296.87°)
OKLaboklab(72.36% 0.0354 -0.1445)
OKLCHoklch(72.36% 0.149 283.8)
XYZxyz(42.6290, 36.3202, 99.3528)
Luminance0.3632 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B97FF #FBFF97
analogous
#97C7FF #9B97FF #CF97FF
triadic
#9B97FF #FF9B97 #97FF9B
tetradic
#9B97FF #FF97C7 #FBFF97 #97FFCF
square
#9B97FF #FF97C7 #FBFF97 #97FFCF
split-complementary
#9B97FF #FFCF97 #C7FF97
monochromatic
#251DFF #605AFF #9B97FF #D6D4FF #E2E0FF

Accessibility & contrast

On white

2.54
#9B97FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#9B97FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9B97FF
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B97FF#FFFFFF#000000##000000
##9B97FF1.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A6FF
Deuteranopia (green-blind)
#6F9FFD
Tritanopia (blue-blind)
#7EACBF
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9b97ff;
/* rgb */ color: rgb(155, 151, 255);
/* oklch */ color: oklch(72.4% 0.149 283.8);
Tailwind
colors: {
  custom: {
    50: '#bcb5ff',
    500: '#9b97ff',
    950: '#000000',
  },
}
SCSS
$custom: #9b97ff;
$custom-light: #bcb5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#9b97ff",
  "rgb": {
    "r": 155,
    "g": 151,
    "b": 255
  },
  "hsl": {
    "h": 242.308,
    "s": 100,
    "l": 79.608
  },
  "oklch": {
    "l": 0.72357,
    "c": 0.14875,
    "h": 283.8
  },
  "luminance": 0.36322
}

Semantic roles & 50–950 ramp

primary
#9B97FF
secondary
#F6F7D4
accent
#E600DD
background
#FBFBFF
surface
#F7F6FF
border
#D0D0D7
text
#121118
muted
#818086

Preview Lab

Preview with #9B97FF

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

Preview Lab → · Contrast checker → · Palette generator →

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