#8A96CF#8A96CF

#8A96CF is a light, moderate blue. Relative luminance 0.317; OKLCH L 68.5% C 0.085 H 274.8°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#8A96CF
RGBrgb(138, 150, 207)
HSLhsl(230, 42%, 68%)
HSVhsv(230, 33%, 81%)
CMYKcmyk(33.3%, 27.5%, 0%, 18.8%)
CIE-LABlab(63.11, 9.17, -30.63)
CIE-LCHlch(63.11, 31.97, 286.67°)
OKLaboklab(68.53% 0.0071 -0.085)
OKLCHoklch(68.53% 0.085 274.8)
XYZxyz(32.6469, 31.7198, 63.4218)
Luminance0.3172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A96CF #CFC38A
analogous
#8AB9CF #8A96CF #A08ACF
triadic
#8A96CF #CF8A96 #96CF8A
tetradic
#8A96CF #CF8AB9 #CFC38A #8ACFA0
square
#8A96CF #CF8AB9 #CFC38A #8ACFA0
split-complementary
#8A96CF #CFA08A #B9CF8A
monochromatic
#41519E #5F6FBD #8A96CF #B5BDE1 #E1E4F3

Accessibility & contrast

On white

2.86
#8A96CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#8A96CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A96CF
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A96CF#FFFFFF#000000##000000
##8A96CF1.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#849CD1
Deuteranopia (green-blind)
#7F96CE
Tritanopia (blue-blind)
#77A1AA
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #8a96cf;
/* rgb */ color: rgb(138, 150, 207);
/* oklch */ color: oklch(68.5% 0.085 274.8);
Tailwind
colors: {
  custom: {
    50: '#aeb4de',
    500: '#8a96cf',
    950: '#000000',
  },
}
SCSS
$custom: #8a96cf;
$custom-light: #aeb4de;
$custom-dark: #000000;
JSON
{
  "hex": "#8a96cf",
  "rgb": {
    "r": 138,
    "g": 150,
    "b": 207
  },
  "hsl": {
    "h": 229.565,
    "s": 41.818,
    "l": 67.647
  },
  "oklch": {
    "l": 0.68529,
    "c": 0.08532,
    "h": 274.8
  },
  "luminance": 0.31721
}

Semantic roles & 50–950 ramp

primary
#8A96CF
secondary
#E5E1D0
accent
#9E31B5
background
#FAFBFD
surface
#F4F6FB
border
#CED0D4
text
#101115
muted
#7F8083

Preview Lab

Preview with #8A96CF

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

Preview Lab → · Contrast checker → · Palette generator →

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