#9A9AEC#9A9AEC

#9A9AEC is a light, moderate blue. Relative luminance 0.360; OKLCH L 71.9% C 0.118 H 283.0°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#9A9AEC
RGBrgb(154, 154, 236)
HSLhsl(240, 68%, 76%)
HSVhsv(240, 35%, 93%)
CMYKcmyk(34.7%, 34.7%, 0%, 7.5%)
CIE-LABlab(66.55, 18.94, -41.24)
CIE-LCHlch(66.55, 45.39, 294.67°)
OKLaboklab(71.88% 0.0267 -0.1153)
OKLCHoklch(71.88% 0.118 283)
XYZxyz(40.0182, 36.0361, 84.1878)
Luminance0.3604 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A9AEC #ECEC9A
analogous
#9AC3EC #9A9AEC #C39AEC
triadic
#9A9AEC #EC9A9A #9AEC9A
tetradic
#9A9AEC #EC9AC3 #ECEC9A #9AECC3
square
#9A9AEC #EC9AC3 #ECEC9A #9AECC3
split-complementary
#9A9AEC #ECC39A #C3EC9A
monochromatic
#3333D9 #6666E2 #9A9AEC #CECEF6 #E5E5FA

Accessibility & contrast

On white

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

On black

8.21
#9A9AEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9A9AEC
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A9AEC#FFFFFF#000000##000000
##9A9AEC1.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A5EF
Deuteranopia (green-blind)
#7D9FEA
Tritanopia (blue-blind)
#84A9B8
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9a9aec;
/* rgb */ color: rgb(154, 154, 236);
/* oklch */ color: oklch(71.9% 0.118 283.0);
Tailwind
colors: {
  custom: {
    50: '#bab7f2',
    500: '#9a9aec',
    950: '#000000',
  },
}
SCSS
$custom: #9a9aec;
$custom-light: #bab7f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9a9aec",
  "rgb": {
    "r": 154,
    "g": 154,
    "b": 236
  },
  "hsl": {
    "h": 240,
    "s": 68.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.71883,
    "c": 0.11834,
    "h": 283
  },
  "luminance": 0.36037
}

Semantic roles & 50–950 ramp

primary
#9A9AEC
secondary
#F2F2D9
accent
#D015D0
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#121117
muted
#818085

Preview Lab

Preview with #9A9AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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