#9B8FFA#9B8FFA

#9B8FFA is a light, vivid blue. Relative luminance 0.335; OKLCH L 70.6% C 0.153 H 286.9°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#9B8FFA
RGBrgb(155, 143, 250)
HSLhsl(247, 91%, 77%)
HSVhsv(247, 43%, 98%)
CMYKcmyk(38%, 42.8%, 0%, 2%)
CIE-LABlab(64.58, 29.22, -52.02)
CIE-LCHlch(64.58, 59.67, 299.32°)
OKLaboklab(70.61% 0.0446 -0.1466)
OKLCHoklch(70.61% 0.153 286.9)
XYZxyz(40.5906, 33.5143, 94.7542)
Luminance0.3352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B8FFA #EEFA8F
analogous
#8FB9FA #9B8FFA #D18FFA
triadic
#9B8FFA #FA9B8F #8FFA9B
tetradic
#9B8FFA #FA8FB9 #EEFA8F #8FFAD1
square
#9B8FFA #FA8FB9 #EEFA8F #8FFAD1
split-complementary
#9B8FFA #FAD18F #B9FA8F
monochromatic
#321AF5 #6754F7 #9B8FFA #CFCAFD #E5E2FE

Accessibility & contrast

On white

2.73
#9B8FFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#9B8FFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9B8FFA
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B8FFA#FFFFFF#000000##000000
##9B8FFA1.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9FFE
Deuteranopia (green-blind)
#689AF7
Tritanopia (blue-blind)
#81A4B8
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9b8ffa;
/* rgb */ color: rgb(155, 143, 250);
/* oklch */ color: oklch(70.6% 0.153 286.9);
Tailwind
colors: {
  custom: {
    50: '#bcb0fc',
    500: '#9b8ffa',
    950: '#000000',
  },
}
SCSS
$custom: #9b8ffa;
$custom-light: #bcb0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#9b8ffa",
  "rgb": {
    "r": 155,
    "g": 143,
    "b": 250
  },
  "hsl": {
    "h": 246.729,
    "s": 91.453,
    "l": 77.059
  },
  "oklch": {
    "l": 0.70613,
    "c": 0.15327,
    "h": 286.9
  },
  "luminance": 0.33516
}

Semantic roles & 50–950 ramp

primary
#9B8FFA
secondary
#F2F6D5
accent
#E600CC
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#121017
muted
#817F85

Preview Lab

Preview with #9B8FFA

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

Preview Lab → · Contrast checker → · Palette generator →

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