#9B8EF5#9B8EF5

#9B8EF5 is a light, vivid blue. Relative luminance 0.329; OKLCH L 70.2% C 0.148 H 287.7°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#9B8EF5
RGBrgb(155, 142, 245)
HSLhsl(248, 84%, 76%)
HSVhsv(248, 42%, 96%)
CMYKcmyk(36.7%, 42%, 0%, 3.9%)
CIE-LABlab(64.08, 28.46, -50.06)
CIE-LCHlch(64.08, 57.58, 299.62°)
OKLaboklab(70.16% 0.0451 -0.1409)
OKLCHoklch(70.16% 0.148 287.7)
XYZxyz(39.6675, 32.9060, 90.6300)
Luminance0.3291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B8EF5 #E8F58E
analogous
#8EB4F5 #9B8EF5 #CE8EF5
triadic
#9B8EF5 #F59B8E #8EF59B
tetradic
#9B8EF5 #F58EB4 #E8F58E #8EF5CE
square
#9B8EF5 #F58EB4 #E8F58E #8EF5CE
split-complementary
#9B8EF5 #F5CE8E #B4F58E
monochromatic
#371EEB #6956F0 #9B8EF5 #CDC6FA #E6E3FD

Accessibility & contrast

On white

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

On black

7.58
#9B8EF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9B8EF5
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B8EF5#FFFFFF#000000##000000
##9B8EF51.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9EF9
Deuteranopia (green-blind)
#6A99F3
Tritanopia (blue-blind)
#83A2B6
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9b8ef5;
/* rgb */ color: rgb(155, 142, 245);
/* oklch */ color: oklch(70.2% 0.148 287.7);
Tailwind
colors: {
  custom: {
    50: '#bcaff9',
    500: '#9b8ef5',
    950: '#000000',
  },
}
SCSS
$custom: #9b8ef5;
$custom-light: #bcaff9;
$custom-dark: #000000;
JSON
{
  "hex": "#9b8ef5",
  "rgb": {
    "r": 155,
    "g": 142,
    "b": 245
  },
  "hsl": {
    "h": 247.573,
    "s": 83.74,
    "l": 75.882
  },
  "oklch": {
    "l": 0.7016,
    "c": 0.14794,
    "h": 287.7
  },
  "luminance": 0.32907
}

Semantic roles & 50–950 ramp

primary
#9B8EF5
secondary
#F1F4D7
accent
#E005C5
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#121017
muted
#817F85

Preview Lab

Preview with #9B8EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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