#9A9AEB#9A9AEB

#9A9AEB is a light, moderate blue. Relative luminance 0.360; OKLCH L 71.8% C 0.117 H 283.1°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#9A9AEB
RGBrgb(154, 154, 235)
HSLhsl(240, 67%, 76%)
HSVhsv(240, 34%, 92%)
CMYKcmyk(34.5%, 34.5%, 0%, 7.8%)
CIE-LABlab(66.50, 18.68, -40.76)
CIE-LCHlch(66.50, 44.84, 294.62°)
OKLaboklab(71.83% 0.0264 -0.1139)
OKLCHoklch(71.83% 0.117 283.1)
XYZxyz(39.8733, 35.9781, 83.4248)
Luminance0.3598 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A9AEB #EBEB9A
analogous
#9AC3EB #9A9AEB #C39AEB
triadic
#9A9AEB #EB9A9A #9AEB9A
tetradic
#9A9AEB #EB9AC3 #EBEB9A #9AEBC3
square
#9A9AEB #EB9AC3 #EBEB9A #9AEBC3
split-complementary
#9A9AEB #EBC39A #C3EB9A
monochromatic
#3434D7 #6767E1 #9A9AEB #CDCDF5 #E5E5FA

Accessibility & contrast

On white

2.56
#9A9AEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.20
#9A9AEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9A9AEB
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A9AEB#FFFFFF#000000##000000
##9A9AEB1.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A4EE
Deuteranopia (green-blind)
#7E9FE9
Tritanopia (blue-blind)
#84A9B8
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9a9aeb;
/* rgb */ color: rgb(154, 154, 235);
/* oklch */ color: oklch(71.8% 0.117 283.1);
Tailwind
colors: {
  custom: {
    50: '#bab7f1',
    500: '#9a9aeb',
    950: '#000000',
  },
}
SCSS
$custom: #9a9aeb;
$custom-light: #bab7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#9a9aeb",
  "rgb": {
    "r": 154,
    "g": 154,
    "b": 235
  },
  "hsl": {
    "h": 240,
    "s": 66.942,
    "l": 76.275
  },
  "oklch": {
    "l": 0.71834,
    "c": 0.11693,
    "h": 283.1
  },
  "luminance": 0.35979
}

Semantic roles & 50–950 ramp

primary
#9A9AEB
secondary
#F1F1DA
accent
#CF17CF
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#121117
muted
#818085

Preview Lab

Preview with #9A9AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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