#8A82D4#8A82D4

#8A82D4 is a light, vivid blue. Relative luminance 0.261; OKLCH L 64.8% C 0.121 H 287.0°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#8A82D4
RGBrgb(138, 130, 212)
HSLhsl(246, 49%, 67%)
HSVhsv(246, 39%, 83%)
CMYKcmyk(34.9%, 38.7%, 0%, 16.9%)
CIE-LABlab(58.15, 22.11, -41.17)
CIE-LCHlch(58.15, 46.73, 298.24°)
OKLaboklab(64.78% 0.0353 -0.1154)
OKLCHoklch(64.78% 0.121 287)
XYZxyz(30.3443, 26.1211, 65.7177)
Luminance0.2612 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A82D4 #CCD482
analogous
#82A3D4 #8A82D4 #B382D4
triadic
#8A82D4 #D48A82 #82D48A
tetradic
#8A82D4 #D482A3 #CCD482 #82D4B3
square
#8A82D4 #D482A3 #CCD482 #82D4B3
split-complementary
#8A82D4 #D4B382 #A3D482
monochromatic
#4338A3 #5F54C4 #8A82D4 #B5B0E4 #DFDDF3

Accessibility & contrast

On white

3.37
#8A82D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#8A82D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A82D4
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A82D4#FFFFFF#000000##000000
##8A82D41.003.376.226.22
#FFFFFF3.371.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#688ED7
Deuteranopia (green-blind)
#678AD2
Tritanopia (blue-blind)
#7791A1
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #8a82d4;
/* rgb */ color: rgb(138, 130, 212);
/* oklch */ color: oklch(64.8% 0.121 287.0);
Tailwind
colors: {
  custom: {
    50: '#afa6e1',
    500: '#8a82d4',
    950: '#000000',
  },
}
SCSS
$custom: #8a82d4;
$custom-light: #afa6e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a82d4",
  "rgb": {
    "r": 138,
    "g": 130,
    "b": 212
  },
  "hsl": {
    "h": 245.854,
    "s": 48.81,
    "l": 67.059
  },
  "oklch": {
    "l": 0.64784,
    "c": 0.12069,
    "h": 287
  },
  "luminance": 0.26122
}

Semantic roles & 50–950 ramp

primary
#8A82D4
secondary
#E3E6CC
accent
#BC29AE
background
#FAFAFD
surface
#F5F4FB
border
#CFCED4
text
#110F15
muted
#807F83

Preview Lab

Preview with #8A82D4

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

Preview Lab → · Contrast checker → · Palette generator →

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