#8A82DB#8A82DB

#8A82DB is a light, vivid blue. Relative luminance 0.265; OKLCH L 65.2% C 0.131 H 286.3°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#8A82DB
RGBrgb(138, 130, 219)
HSLhsl(245, 55%, 68%)
HSVhsv(245, 41%, 86%)
CMYKcmyk(37%, 40.6%, 0%, 14.1%)
CIE-LABlab(58.49, 24.00, -44.56)
CIE-LCHlch(58.49, 50.62, 298.30°)
OKLaboklab(65.15% 0.0366 -0.1253)
OKLCHoklch(65.15% 0.131 286.3)
XYZxyz(31.2465, 26.4820, 70.4693)
Luminance0.2648 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A82DB #D3DB82
analogous
#82A6DB #8A82DB #B682DB
triadic
#8A82DB #DB8A82 #82DB8A
tetradic
#8A82DB #DB82A6 #D3DB82 #82DBB6
square
#8A82DB #DB82A6 #D3DB82 #82DBB6
split-complementary
#8A82DB #DBB682 #A6DB82
monochromatic
#3E33B0 #5E52CD #8A82DB #B6B2E9 #E3E1F6

Accessibility & contrast

On white

3.34
#8A82DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#8A82DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A82DB
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A82DB#FFFFFF#000000##000000
##8A82DB1.003.346.306.30
#FFFFFF3.341.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#648FDE
Deuteranopia (green-blind)
#638AD9
Tritanopia (blue-blind)
#7493A4
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8a82db;
/* rgb */ color: rgb(138, 130, 219);
/* oklch */ color: oklch(65.2% 0.131 286.3);
Tailwind
colors: {
  custom: {
    50: '#afa6e6',
    500: '#8a82db',
    950: '#000000',
  },
}
SCSS
$custom: #8a82db;
$custom-light: #afa6e6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a82db",
  "rgb": {
    "r": 138,
    "g": 130,
    "b": 219
  },
  "hsl": {
    "h": 245.393,
    "s": 55.28,
    "l": 68.431
  },
  "oklch": {
    "l": 0.65154,
    "c": 0.13053,
    "h": 286.3
  },
  "luminance": 0.26483
}

Semantic roles & 50–950 ramp

primary
#8A82DB
secondary
#E7EACF
accent
#C323B4
background
#FBFAFE
surface
#F6F4FC
border
#D0CED5
text
#110F16
muted
#807F84

Preview Lab

Preview with #8A82DB

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

Preview Lab → · Contrast checker → · Palette generator →

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