#9B8FFC#9B8FFC

#9B8FFC is a light, vivid blue. Relative luminance 0.336; OKLCH L 70.7% C 0.156 H 286.7°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#9B8FFC
RGBrgb(155, 143, 252)
HSLhsl(247, 95%, 77%)
HSVhsv(247, 43%, 99%)
CMYKcmyk(38.5%, 43.3%, 0%, 1.2%)
CIE-LABlab(64.68, 29.76, -52.96)
CIE-LCHlch(64.68, 60.75, 299.33°)
OKLaboklab(70.72% 0.0449 -0.1494)
OKLCHoklch(70.72% 0.156 286.7)
XYZxyz(40.9058, 33.6404, 96.4146)
Luminance0.3364 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B8FFC #F0FC8F
analogous
#8FB9FC #9B8FFC #D28FFC
triadic
#9B8FFC #FC9B8F #8FFC9B
tetradic
#9B8FFC #FC8FB9 #F0FC8F #8FFCD2
square
#9B8FFC #FC8FB9 #F0FC8F #8FFCD2
split-complementary
#9B8FFC #FCD28F #B9FC8F
monochromatic
#3118F9 #6653FA #9B8FFC #D0CBFE #E4E1FE

Accessibility & contrast

On white

2.72
#9B8FFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#9B8FFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9B8FFC
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B8FFC#FFFFFF#000000##000000
##9B8FFC1.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#68A0FF
Deuteranopia (green-blind)
#679AF9
Tritanopia (blue-blind)
#80A4B9
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9b8ffc;
/* rgb */ color: rgb(155, 143, 252);
/* oklch */ color: oklch(70.7% 0.156 286.7);
Tailwind
colors: {
  custom: {
    50: '#bcb0fe',
    500: '#9b8ffc',
    950: '#000000',
  },
}
SCSS
$custom: #9b8ffc;
$custom-light: #bcb0fe;
$custom-dark: #000000;
JSON
{
  "hex": "#9b8ffc",
  "rgb": {
    "r": 155,
    "g": 143,
    "b": 252
  },
  "hsl": {
    "h": 246.606,
    "s": 94.783,
    "l": 77.451
  },
  "oklch": {
    "l": 0.70722,
    "c": 0.15597,
    "h": 286.7
  },
  "luminance": 0.33642
}

Semantic roles & 50–950 ramp

primary
#9B8FFC
secondary
#F3F6D5
accent
#E600CC
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#121018
muted
#817F86

Preview Lab

Preview with #9B8FFC

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

Preview Lab → · Contrast checker → · Palette generator →

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