#9B8FF6#9B8FF6

#9B8FF6 is a light, vivid blue. Relative luminance 0.333; OKLCH L 70.4% C 0.148 H 287.3°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#9B8FF6
RGBrgb(155, 143, 246)
HSLhsl(247, 85%, 76%)
HSVhsv(247, 42%, 96%)
CMYKcmyk(37%, 41.9%, 0%, 3.5%)
CIE-LABlab(64.38, 28.15, -50.15)
CIE-LCHlch(64.38, 57.51, 299.31°)
OKLaboklab(70.4% 0.044 -0.1411)
OKLCHoklch(70.4% 0.148 287.3)
XYZxyz(39.9700, 33.2661, 91.4860)
Luminance0.3327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B8FF6 #EAF68F
analogous
#8FB7F6 #9B8FF6 #CF8FF6
triadic
#9B8FF6 #F69B8F #8FF69B
tetradic
#9B8FF6 #F68FB7 #EAF68F #8FF6CF
square
#9B8FF6 #F68FB7 #EAF68F #8FF6CF
split-complementary
#9B8FF6 #F6CF8F #B7F68F
monochromatic
#361EED #6856F1 #9B8FF6 #CEC8FB #E6E3FD

Accessibility & contrast

On white

2.74
#9B8FF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#9B8FF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9B8FF6
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B8FF6#FFFFFF#000000##000000
##9B8FF61.002.747.657.65
#FFFFFF2.741.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9FFA
Deuteranopia (green-blind)
#6B99F4
Tritanopia (blue-blind)
#83A3B7
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9b8ff6;
/* rgb */ color: rgb(155, 143, 246);
/* oklch */ color: oklch(70.4% 0.148 287.3);
Tailwind
colors: {
  custom: {
    50: '#bcb0f9',
    500: '#9b8ff6',
    950: '#000000',
  },
}
SCSS
$custom: #9b8ff6;
$custom-light: #bcb0f9;
$custom-dark: #000000;
JSON
{
  "hex": "#9b8ff6",
  "rgb": {
    "r": 155,
    "g": 143,
    "b": 246
  },
  "hsl": {
    "h": 246.99,
    "s": 85.124,
    "l": 76.275
  },
  "oklch": {
    "l": 0.70397,
    "c": 0.14784,
    "h": 287.3
  },
  "luminance": 0.33267
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9B8FF6

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

Preview Lab → · Contrast checker → · Palette generator →

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