#8A82CF#8A82CF

#8A82CF is a light, moderate blue. Relative luminance 0.259; OKLCH L 64.5% C 0.114 H 287.5°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#8A82CF
RGBrgb(138, 130, 207)
HSLhsl(246, 45%, 66%)
HSVhsv(246, 37%, 81%)
CMYKcmyk(33.3%, 37.2%, 0%, 18.8%)
CIE-LABlab(57.92, 20.78, -38.73)
CIE-LCHlch(57.92, 43.95, 298.22°)
OKLaboklab(64.53% 0.0342 -0.1083)
OKLCHoklch(64.53% 0.114 287.5)
XYZxyz(29.7233, 25.8728, 62.4473)
Luminance0.2587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A82CF #C7CF82
analogous
#82A0CF #8A82CF #B082CF
triadic
#8A82CF #CF8A82 #82CF8A
tetradic
#8A82CF #CF82A0 #C7CF82 #82CFB0
square
#8A82CF #CF82A0 #C7CF82 #82CFB0
split-complementary
#8A82CF #CFB082 #A0CF82
monochromatic
#453C9B #6156BE #8A82CF #B3AEE0 #DDDAF1

Accessibility & contrast

On white

3.40
#8A82CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#8A82CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A82CF
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A82CF#FFFFFF#000000##000000
##8A82CF1.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B8DD2
Deuteranopia (green-blind)
#6A89CD
Tritanopia (blue-blind)
#79909F
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #8a82cf;
/* rgb */ color: rgb(138, 130, 207);
/* oklch */ color: oklch(64.5% 0.114 287.5);
Tailwind
colors: {
  custom: {
    50: '#aea6de',
    500: '#8a82cf',
    950: '#000000',
  },
}
SCSS
$custom: #8a82cf;
$custom-light: #aea6de;
$custom-dark: #000000;
JSON
{
  "hex": "#8a82cf",
  "rgb": {
    "r": 138,
    "g": 130,
    "b": 207
  },
  "hsl": {
    "h": 246.234,
    "s": 44.509,
    "l": 66.078
  },
  "oklch": {
    "l": 0.64527,
    "c": 0.11361,
    "h": 287.5
  },
  "luminance": 0.25874
}

Semantic roles & 50–950 ramp

primary
#8A82CF
secondary
#E0E3CA
accent
#B82EA9
background
#FAFAFD
surface
#F5F4FB
border
#CFCED4
text
#100F15
muted
#7F7F83

Preview Lab

Preview with #8A82CF

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

Preview Lab → · Contrast checker → · Palette generator →

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