#9B8EF6#9B8EF6

#9B8EF6 is a light, vivid blue. Relative luminance 0.330; OKLCH L 70.2% C 0.149 H 287.6°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#9B8EF6
RGBrgb(155, 142, 246)
HSLhsl(248, 85%, 76%)
HSVhsv(248, 42%, 96%)
CMYKcmyk(37%, 42.3%, 0%, 3.5%)
CIE-LABlab(64.13, 28.73, -50.53)
CIE-LCHlch(64.13, 58.12, 299.62°)
OKLaboklab(70.21% 0.0453 -0.1423)
OKLCHoklch(70.21% 0.149 287.6)
XYZxyz(39.8206, 32.9672, 91.4361)
Luminance0.3297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B8EF6 #E9F68E
analogous
#8EB5F6 #9B8EF6 #CF8EF6
triadic
#9B8EF6 #F69B8E #8EF69B
tetradic
#9B8EF6 #F68EB5 #E9F68E #8EF6CF
square
#9B8EF6 #F68EB5 #E9F68E #8EF6CF
split-complementary
#9B8EF6 #F6CF8E #B5F68E
monochromatic
#371DED #6955F1 #9B8EF6 #CDC7FB #E6E3FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B8EF6#FFFFFF#000000##000000
##9B8EF61.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)
#6B9EFA
Deuteranopia (green-blind)
#6A99F4
Tritanopia (blue-blind)
#83A2B6
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9b8ef6;
/* rgb */ color: rgb(155, 142, 246);
/* oklch */ color: oklch(70.2% 0.149 287.6);
Tailwind
colors: {
  custom: {
    50: '#bcaff9',
    500: '#9b8ef6',
    950: '#000000',
  },
}
SCSS
$custom: #9b8ef6;
$custom-light: #bcaff9;
$custom-dark: #000000;
JSON
{
  "hex": "#9b8ef6",
  "rgb": {
    "r": 155,
    "g": 142,
    "b": 246
  },
  "hsl": {
    "h": 247.5,
    "s": 85.246,
    "l": 76.078
  },
  "oklch": {
    "l": 0.70214,
    "c": 0.14929,
    "h": 287.6
  },
  "luminance": 0.32968
}

Semantic roles & 50–950 ramp

primary
#9B8EF6
secondary
#F1F5D6
accent
#E204C6
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#121017
muted
#817F85

Preview Lab

Preview with #9B8EF6

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

Preview Lab → · Contrast checker → · Palette generator →

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