#8A96CD#8A96CD

#8A96CD is a light, moderate blue. Relative luminance 0.316; OKLCH L 68.4% C 0.082 H 274.5°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#8A96CD
RGBrgb(138, 150, 205)
HSLhsl(229, 40%, 67%)
HSVhsv(229, 33%, 80%)
CMYKcmyk(32.7%, 26.8%, 0%, 19.6%)
CIE-LABlab(63.03, 8.65, -29.64)
CIE-LCHlch(63.03, 30.87, 286.26°)
OKLaboklab(68.44% 0.0065 -0.0822)
OKLCHoklch(68.44% 0.082 274.5)
XYZxyz(32.4039, 31.6226, 62.1422)
Luminance0.3162 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A96CD #CDC18A
analogous
#8AB7CD #8A96CD #A08ACD
triadic
#8A96CD #CD8A96 #96CD8A
tetradic
#8A96CD #CD8AB7 #CDC18A #8ACDA0
square
#8A96CD #CD8AB7 #CDC18A #8ACDA0
split-complementary
#8A96CD #CDA08A #B7CD8A
monochromatic
#42529B #5F70BB #8A96CD #B5BCDF #E0E3F2

Accessibility & contrast

On white

2.87
#8A96CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#8A96CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A96CD
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A96CD#FFFFFF#000000##000000
##8A96CD1.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#859BCF
Deuteranopia (green-blind)
#8096CC
Tritanopia (blue-blind)
#78A1A9
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8a96cd;
/* rgb */ color: rgb(138, 150, 205);
/* oklch */ color: oklch(68.4% 0.082 274.5);
Tailwind
colors: {
  custom: {
    50: '#aeb4dc',
    500: '#8a96cd',
    950: '#000000',
  },
}
SCSS
$custom: #8a96cd;
$custom-light: #aeb4dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a96cd",
  "rgb": {
    "r": 138,
    "g": 150,
    "b": 205
  },
  "hsl": {
    "h": 229.254,
    "s": 40.12,
    "l": 67.255
  },
  "oklch": {
    "l": 0.6844,
    "c": 0.08245,
    "h": 274.5
  },
  "luminance": 0.31624
}

Semantic roles & 50–950 ramp

primary
#8A96CD
secondary
#E4E0CF
accent
#9C32B3
background
#FAFBFD
surface
#F4F6FB
border
#CED0D4
text
#101115
muted
#7F8083

Preview Lab

Preview with #8A96CD

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

Preview Lab → · Contrast checker → · Palette generator →

#8A96CD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva