#8A8AEE#8A8AEE

#8A8AEE is a light, vivid blue. Relative luminance 0.298; OKLCH L 67.7% C 0.146 H 281.8°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#8A8AEE
RGBrgb(138, 138, 238)
HSLhsl(240, 75%, 74%)
HSVhsv(240, 42%, 93%)
CMYKcmyk(42%, 42%, 0%, 6.7%)
CIE-LABlab(61.44, 24.58, -50.47)
CIE-LCHlch(61.44, 56.14, 295.97°)
OKLaboklab(67.71% 0.0298 -0.1425)
OKLCHoklch(67.71% 0.146 281.8)
XYZxyz(34.9978, 29.7518, 84.7710)
Luminance0.2975 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8AEE #EEEE8A
analogous
#8ABCEE #8A8AEE #BC8AEE
triadic
#8A8AEE #EE8A8A #8AEE8A
tetradic
#8A8AEE #EE8ABC #EEEE8A #8AEEBC
square
#8A8AEE #EE8ABC #EEEE8A #8AEEBC
split-complementary
#8A8AEE #EEBC8A #BCEE8A
monochromatic
#2020DD #5555E6 #8A8AEE #BFBFF6 #E4E4FB

Accessibility & contrast

On white

3.02
#8A8AEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#8A8AEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8AEE
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8AEE#FFFFFF#000000##000000
##8A8AEE1.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6598F2
Deuteranopia (green-blind)
#6091EC
Tritanopia (blue-blind)
#6B9EB0
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #8a8aee;
/* rgb */ color: rgb(138, 138, 238);
/* oklch */ color: oklch(67.7% 0.146 281.8);
Tailwind
colors: {
  custom: {
    50: '#b0acf4',
    500: '#8a8aee',
    950: '#000000',
  },
}
SCSS
$custom: #8a8aee;
$custom-light: #b0acf4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8aee",
  "rgb": {
    "r": 138,
    "g": 138,
    "b": 238
  },
  "hsl": {
    "h": 240,
    "s": 74.627,
    "l": 73.725
  },
  "oklch": {
    "l": 0.67709,
    "c": 0.14557,
    "h": 281.8
  },
  "luminance": 0.29753
}

Semantic roles & 50–950 ramp

primary
#8A8AEE
secondary
#F3F3D8
accent
#D70FD7
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#111017
muted
#807F85

Preview Lab

Preview with #8A8AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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