#9A8CF7#9A8CF7

#9A8CF7 is a light, vivid blue. Relative luminance 0.323; OKLCH L 69.8% C 0.154 H 287.7°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#9A8CF7
RGBrgb(154, 140, 247)
HSLhsl(248, 87%, 76%)
HSVhsv(248, 43%, 97%)
CMYKcmyk(37.7%, 43.3%, 0%, 3.1%)
CIE-LABlab(63.62, 29.89, -51.89)
CIE-LCHlch(63.62, 59.88, 299.94°)
OKLaboklab(69.82% 0.0468 -0.1463)
OKLCHoklch(69.82% 0.154 287.7)
XYZxyz(39.4884, 32.3404, 92.1394)
Luminance0.3234 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A8CF7 #E9F78C
analogous
#8CB3F7 #9A8CF7 #CF8CF7
triadic
#9A8CF7 #F79A8C #8CF79A
tetradic
#9A8CF7 #F78CB3 #E9F78C #8CF7CF
square
#9A8CF7 #F78CB3 #E9F78C #8CF7CF
split-complementary
#9A8CF7 #F7CF8C #B3F78C
monochromatic
#351AEF #6853F3 #9A8CF7 #CCC5FB #E6E2FD

Accessibility & contrast

On white

2.81
#9A8CF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#9A8CF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9A8CF7
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A8CF7#FFFFFF#000000##000000
##9A8CF71.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#679DFB
Deuteranopia (green-blind)
#6697F4
Tritanopia (blue-blind)
#81A1B6
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #9a8cf7;
/* rgb */ color: rgb(154, 140, 247);
/* oklch */ color: oklch(69.8% 0.154 287.7);
Tailwind
colors: {
  custom: {
    50: '#bbadfa',
    500: '#9a8cf7',
    950: '#000000',
  },
}
SCSS
$custom: #9a8cf7;
$custom-light: #bbadfa;
$custom-dark: #000000;
JSON
{
  "hex": "#9a8cf7",
  "rgb": {
    "r": 154,
    "g": 140,
    "b": 247
  },
  "hsl": {
    "h": 247.85,
    "s": 86.992,
    "l": 75.882
  },
  "oklch": {
    "l": 0.69823,
    "c": 0.15358,
    "h": 287.7
  },
  "luminance": 0.32342
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9A8CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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