#9B8BE5#9B8BE5

#9B8BE5 is a light, vivid violet. Relative luminance 0.311; OKLCH L 68.8% C 0.131 H 290.7°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#9B8BE5
RGBrgb(155, 139, 229)
HSLhsl(251, 63%, 72%)
HSVhsv(251, 39%, 90%)
CMYKcmyk(32.3%, 39.3%, 0%, 10.2%)
CIE-LABlab(62.58, 26.00, -43.60)
CIE-LCHlch(62.58, 50.76, 300.81°)
OKLaboklab(68.77% 0.0462 -0.1221)
OKLCHoklch(68.77% 0.131 290.7)
XYZxyz(36.8894, 31.0901, 78.1710)
Luminance0.3109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B8BE5 #D5E58B
analogous
#8BA8E5 #9B8BE5 #C88BE5
triadic
#9B8BE5 #E59B8B #8BE59B
tetradic
#9B8BE5 #E58BA8 #D5E58B #8BE5C8
square
#9B8BE5 #E58BA8 #D5E58B #8BE5C8
split-complementary
#9B8BE5 #E5C88B #A8E58B
monochromatic
#492DC9 #7059DA #9B8BE5 #C6BDF0 #E9E6F9

Accessibility & contrast

On white

2.91
#9B8BE5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#9B8BE5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9B8BE5
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B8BE5#FFFFFF#000000##000000
##9B8BE51.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7099E8
Deuteranopia (green-blind)
#7195E3
Tritanopia (blue-blind)
#899CAD
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #9b8be5;
/* rgb */ color: rgb(155, 139, 229);
/* oklch */ color: oklch(68.8% 0.131 290.7);
Tailwind
colors: {
  custom: {
    50: '#bbaded',
    500: '#9b8be5',
    950: '#000000',
  },
}
SCSS
$custom: #9b8be5;
$custom-light: #bbaded;
$custom-dark: #000000;
JSON
{
  "hex": "#9b8be5",
  "rgb": {
    "r": 155,
    "g": 139,
    "b": 229
  },
  "hsl": {
    "h": 250.667,
    "s": 63.38,
    "l": 72.157
  },
  "oklch": {
    "l": 0.68767,
    "c": 0.13054,
    "h": 290.7
  },
  "luminance": 0.31091
}

Semantic roles & 50–950 ramp

primary
#9B8BE5
secondary
#EDF1DA
accent
#CB1AAC
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#121016
muted
#817F84

Preview Lab

Preview with #9B8BE5

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

Preview Lab → · Contrast checker → · Palette generator →

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