#8A96DF#8A96DF

#8A96DF is a light, moderate blue. Relative luminance 0.325; OKLCH L 69.3% C 0.108 H 276.1°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#8A96DF
RGBrgb(138, 150, 223)
HSLhsl(232, 57%, 71%)
HSVhsv(232, 38%, 87%)
CMYKcmyk(38.1%, 32.7%, 0%, 12.5%)
CIE-LABlab(63.79, 13.45, -38.47)
CIE-LCHlch(63.79, 40.76, 289.27°)
OKLaboklab(69.28% 0.0114 -0.1076)
OKLCHoklch(69.28% 0.108 276.1)
XYZxyz(34.7030, 32.5422, 74.2505)
Luminance0.3254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A96DF #DFD38A
analogous
#8AC0DF #8A96DF #A88ADF
triadic
#8A96DF #DF8A96 #96DF8A
tetradic
#8A96DF #DF8AC0 #DFD38A #8ADFA8
square
#8A96DF #DF8AC0 #DFD38A #8ADFA8
split-complementary
#8A96DF #DFA88A #C0DF8A
monochromatic
#3346BB #5A6BD2 #8A96DF #BAC1EC #E7E9F8

Accessibility & contrast

On white

2.80
#8A96DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#8A96DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A96DF
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A96DF#FFFFFF#000000##000000
##8A96DF1.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E9EE2
Deuteranopia (green-blind)
#7897DD
Tritanopia (blue-blind)
#71A4B0
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #8a96df;
/* rgb */ color: rgb(138, 150, 223);
/* oklch */ color: oklch(69.3% 0.108 276.1);
Tailwind
colors: {
  custom: {
    50: '#afb4e9',
    500: '#8a96df',
    950: '#000000',
  },
}
SCSS
$custom: #8a96df;
$custom-light: #afb4e9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a96df",
  "rgb": {
    "r": 138,
    "g": 150,
    "b": 223
  },
  "hsl": {
    "h": 231.529,
    "s": 57.047,
    "l": 70.784
  },
  "oklch": {
    "l": 0.69278,
    "c": 0.1082,
    "h": 276.1
  },
  "luminance": 0.32544
}

Semantic roles & 50–950 ramp

primary
#8A96DF
secondary
#EEEBD7
accent
#AD21C5
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#111116
muted
#808084

Preview Lab

Preview with #8A96DF

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

Preview Lab → · Contrast checker → · Palette generator →

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