#8A82D7#8A82D7

#8A82D7 is a light, vivid blue. Relative luminance 0.263; OKLCH L 64.9% C 0.125 H 286.7°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#8A82D7
RGBrgb(138, 130, 215)
HSLhsl(246, 52%, 68%)
HSVhsv(246, 40%, 84%)
CMYKcmyk(35.8%, 39.5%, 0%, 15.7%)
CIE-LABlab(58.30, 22.92, -42.63)
CIE-LCHlch(58.30, 48.40, 298.26°)
OKLaboklab(64.94% 0.0359 -0.1197)
OKLCHoklch(64.94% 0.125 286.7)
XYZxyz(30.7263, 26.2739, 67.7293)
Luminance0.2627 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A82D7 #CFD782
analogous
#82A4D7 #8A82D7 #B482D7
triadic
#8A82D7 #D78A82 #82D78A
tetradic
#8A82D7 #D782A4 #CFD782 #82D7B4
square
#8A82D7 #D782A4 #CFD782 #82D7B4
split-complementary
#8A82D7 #D7B482 #A4D782
monochromatic
#4136A9 #5F54C8 #8A82D7 #B5B0E6 #E1DFF5

Accessibility & contrast

On white

3.36
#8A82D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#8A82D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A82D7
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A82D7#FFFFFF#000000##000000
##8A82D71.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#678EDA
Deuteranopia (green-blind)
#658AD5
Tritanopia (blue-blind)
#7692A2
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #8a82d7;
/* rgb */ color: rgb(138, 130, 215);
/* oklch */ color: oklch(64.9% 0.125 286.7);
Tailwind
colors: {
  custom: {
    50: '#afa6e3',
    500: '#8a82d7',
    950: '#000000',
  },
}
SCSS
$custom: #8a82d7;
$custom-light: #afa6e3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a82d7",
  "rgb": {
    "r": 138,
    "g": 130,
    "b": 215
  },
  "hsl": {
    "h": 245.647,
    "s": 51.515,
    "l": 67.647
  },
  "oklch": {
    "l": 0.64941,
    "c": 0.12492,
    "h": 286.7
  },
  "luminance": 0.26275
}

Semantic roles & 50–950 ramp

primary
#8A82D7
secondary
#E5E8CD
accent
#BF27B1
background
#FBFAFD
surface
#F6F4FB
border
#D0CED4
text
#110F15
muted
#807F83

Preview Lab

Preview with #8A82D7

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

Preview Lab → · Contrast checker → · Palette generator →

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