#8A82DD#8A82DD

#8A82DD is a light, vivid blue. Relative luminance 0.266; OKLCH L 65.3% C 0.133 H 286.1°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#8A82DD
RGBrgb(138, 130, 221)
HSLhsl(245, 57%, 69%)
HSVhsv(245, 41%, 87%)
CMYKcmyk(37.6%, 41.2%, 0%, 13.3%)
CIE-LABlab(58.59, 24.54, -45.53)
CIE-LCHlch(58.59, 51.72, 298.33°)
OKLaboklab(65.26% 0.037 -0.1281)
OKLCHoklch(65.26% 0.133 286.1)
XYZxyz(31.5114, 26.5880, 71.8643)
Luminance0.2659 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A82DD #D5DD82
analogous
#82A8DD #8A82DD #B882DD
triadic
#8A82DD #DD8A82 #82DD8A
tetradic
#8A82DD #DD82A8 #D5DD82 #82DDB8
square
#8A82DD #DD82A8 #D5DD82 #82DDB8
split-complementary
#8A82DD #DDB882 #A8DD82
monochromatic
#3C31B4 #5D52D0 #8A82DD #B7B2EA #E4E2F7

Accessibility & contrast

On white

3.32
#8A82DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#8A82DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A82DD
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A82DD#FFFFFF#000000##000000
##8A82DD1.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#638FE0
Deuteranopia (green-blind)
#618ADB
Tritanopia (blue-blind)
#7394A5
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8a82dd;
/* rgb */ color: rgb(138, 130, 221);
/* oklch */ color: oklch(65.3% 0.133 286.1);
Tailwind
colors: {
  custom: {
    50: '#afa6e8',
    500: '#8a82dd',
    950: '#000000',
  },
}
SCSS
$custom: #8a82dd;
$custom-light: #afa6e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a82dd",
  "rgb": {
    "r": 138,
    "g": 130,
    "b": 221
  },
  "hsl": {
    "h": 245.275,
    "s": 57.233,
    "l": 68.824
  },
  "oklch": {
    "l": 0.65262,
    "c": 0.13333,
    "h": 286.1
  },
  "luminance": 0.26589
}

Semantic roles & 50–950 ramp

primary
#8A82DD
secondary
#E8EBD0
accent
#C521B6
background
#FBFAFE
surface
#F6F4FC
border
#D0CED5
text
#110F16
muted
#807F84

Preview Lab

Preview with #8A82DD

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

Preview Lab → · Contrast checker → · Palette generator →

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