#9A8CF9#9A8CF9

#9A8CF9 is a light, vivid blue. Relative luminance 0.325; OKLCH L 69.9% C 0.156 H 287.5°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#9A8CF9
RGBrgb(154, 140, 249)
HSLhsl(248, 90%, 76%)
HSVhsv(248, 44%, 98%)
CMYKcmyk(38.2%, 43.8%, 0%, 2.4%)
CIE-LABlab(63.72, 30.42, -52.83)
CIE-LCHlch(63.72, 60.96, 299.94°)
OKLaboklab(69.93% 0.0471 -0.149)
OKLCHoklch(69.93% 0.156 287.5)
XYZxyz(39.7987, 32.4645, 93.7735)
Luminance0.3247 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A8CF9 #EBF98C
analogous
#8CB5F9 #9A8CF9 #D18CF9
triadic
#9A8CF9 #F99A8C #8CF99A
tetradic
#9A8CF9 #F98CB5 #EBF98C #8CF9D1
square
#9A8CF9 #F98CB5 #EBF98C #8CF9D1
split-complementary
#9A8CF9 #F9D18C #B5F98C
monochromatic
#3418F3 #6752F6 #9A8CF9 #CDC6FC #E5E2FD

Accessibility & contrast

On white

2.80
#9A8CF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#9A8CF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9A8CF9
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A8CF9#FFFFFF#000000##000000
##9A8CF91.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#659DFD
Deuteranopia (green-blind)
#6498F6
Tritanopia (blue-blind)
#80A1B7
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #9a8cf9;
/* rgb */ color: rgb(154, 140, 249);
/* oklch */ color: oklch(69.9% 0.156 287.5);
Tailwind
colors: {
  custom: {
    50: '#bbadfc',
    500: '#9a8cf9',
    950: '#000000',
  },
}
SCSS
$custom: #9a8cf9;
$custom-light: #bbadfc;
$custom-dark: #000000;
JSON
{
  "hex": "#9a8cf9",
  "rgb": {
    "r": 154,
    "g": 140,
    "b": 249
  },
  "hsl": {
    "h": 247.706,
    "s": 90.083,
    "l": 76.275
  },
  "oklch": {
    "l": 0.69933,
    "c": 0.15627,
    "h": 287.5
  },
  "luminance": 0.32466
}

Semantic roles & 50–950 ramp

primary
#9A8CF9
secondary
#F1F6D5
accent
#E600C8
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#121017
muted
#817F85

Preview Lab

Preview with #9A8CF9

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

Preview Lab → · Contrast checker → · Palette generator →

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