#9B97EA#9B97EA

#9B97EA is a light, moderate blue. Relative luminance 0.350; OKLCH L 71.3% C 0.120 H 285.1°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#9B97EA
RGBrgb(155, 151, 234)
HSLhsl(243, 66%, 75%)
HSVhsv(243, 35%, 92%)
CMYKcmyk(33.8%, 35.5%, 0%, 8.2%)
CIE-LABlab(65.78, 20.41, -41.34)
CIE-LCHlch(65.78, 46.10, 296.27°)
OKLaboklab(71.28% 0.0313 -0.1156)
OKLCHoklch(71.28% 0.12 285.1)
XYZxyz(39.4314, 35.0411, 82.5120)
Luminance0.3504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B97EA #E6EA97
analogous
#97BCEA #9B97EA #C597EA
triadic
#9B97EA #EA9B97 #97EA9B
tetradic
#9B97EA #EA97BC #E6EA97 #97EAC5
square
#9B97EA #EA97BC #E6EA97 #97EAC5
split-complementary
#9B97EA #EAC597 #BCEA97
monochromatic
#3931D5 #6A64E0 #9B97EA #CCCAF4 #E7E6FA

Accessibility & contrast

On white

2.62
#9B97EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#9B97EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9B97EA
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B97EA#FFFFFF#000000##000000
##9B97EA1.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA2ED
Deuteranopia (green-blind)
#7B9DE8
Tritanopia (blue-blind)
#87A6B6
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9b97ea;
/* rgb */ color: rgb(155, 151, 234);
/* oklch */ color: oklch(71.3% 0.120 285.1);
Tailwind
colors: {
  custom: {
    50: '#bbb5f1',
    500: '#9b97ea',
    950: '#000000',
  },
}
SCSS
$custom: #9b97ea;
$custom-light: #bbb5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#9b97ea",
  "rgb": {
    "r": 155,
    "g": 151,
    "b": 234
  },
  "hsl": {
    "h": 242.892,
    "s": 66.4,
    "l": 75.49
  },
  "oklch": {
    "l": 0.71284,
    "c": 0.11971,
    "h": 285.1
  },
  "luminance": 0.35042
}

Semantic roles & 50–950 ramp

primary
#9B97EA
secondary
#F0F1DA
accent
#CE17C5
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#121116
muted
#818084

Preview Lab

Preview with #9B97EA

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

Preview Lab → · Contrast checker → · Palette generator →

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