#8A96DB#8A96DB

#8A96DB is a light, moderate blue. Relative luminance 0.323; OKLCH L 69.1% C 0.102 H 275.8°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#8A96DB
RGBrgb(138, 150, 219)
HSLhsl(231, 53%, 70%)
HSVhsv(231, 37%, 86%)
CMYKcmyk(37%, 31.5%, 0%, 14.1%)
CIE-LABlab(63.61, 12.36, -36.53)
CIE-LCHlch(63.61, 38.56, 288.70°)
OKLaboklab(69.08% 0.0104 -0.102)
OKLCHoklch(69.08% 0.103 275.8)
XYZxyz(34.1700, 32.3291, 71.4438)
Luminance0.3233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A96DB #DBCF8A
analogous
#8ABFDB #8A96DB #A68ADB
triadic
#8A96DB #DB8A96 #96DB8A
tetradic
#8A96DB #DB8ABF #DBCF8A #8ADBA6
square
#8A96DB #DB8ABF #DBCF8A #8ADBA6
split-complementary
#8A96DB #DBA68A #BFDB8A
monochromatic
#374AB3 #5B6CCD #8A96DB #B9C0E9 #E8EAF8

Accessibility & contrast

On white

2.81
#8A96DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#8A96DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A96DB
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A96DB#FFFFFF#000000##000000
##8A96DB1.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)
#809DDE
Deuteranopia (green-blind)
#7A97D9
Tritanopia (blue-blind)
#72A3AF
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #8a96db;
/* rgb */ color: rgb(138, 150, 219);
/* oklch */ color: oklch(69.1% 0.102 275.8);
Tailwind
colors: {
  custom: {
    50: '#afb4e6',
    500: '#8a96db',
    950: '#000000',
  },
}
SCSS
$custom: #8a96db;
$custom-light: #afb4e6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a96db",
  "rgb": {
    "r": 138,
    "g": 150,
    "b": 219
  },
  "hsl": {
    "h": 231.111,
    "s": 52.941,
    "l": 70
  },
  "oklch": {
    "l": 0.69085,
    "c": 0.1025,
    "h": 275.8
  },
  "luminance": 0.3233
}

Semantic roles & 50–950 ramp

primary
#8A96DB
secondary
#ECE8D5
accent
#A925C0
background
#FAFBFE
surface
#F5F6FC
border
#CFD0D5
text
#111116
muted
#808084

Preview Lab

Preview with #8A96DB

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

Preview Lab → · Contrast checker → · Palette generator →

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