#8A8AE7#8A8AE7

#8A8AE7 is a light, vivid blue. Relative luminance 0.293; OKLCH L 67.3% C 0.136 H 282.1°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#8A8AE7
RGBrgb(138, 138, 231)
HSLhsl(240, 66%, 72%)
HSVhsv(240, 40%, 91%)
CMYKcmyk(40.3%, 40.3%, 0%, 9.4%)
CIE-LABlab(61.09, 22.62, -47.15)
CIE-LCHlch(61.09, 52.30, 295.63°)
OKLaboklab(67.33% 0.0285 -0.1328)
OKLCHoklch(67.33% 0.136 282.1)
XYZxyz(33.9893, 29.3484, 79.4597)
Luminance0.2935 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8AE7 #E7E78A
analogous
#8AB9E7 #8A8AE7 #B98AE7
triadic
#8A8AE7 #E78A8A #8AE78A
tetradic
#8A8AE7 #E78AB9 #E7E78A #8AE7B9
square
#8A8AE7 #E78AB9 #E7E78A #8AE7B9
split-complementary
#8A8AE7 #E7B98A #B9E78A
monochromatic
#2A2ACD #5757DD #8A8AE7 #BDBDF1 #E6E6FA

Accessibility & contrast

On white

3.06
#8A8AE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#8A8AE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8AE7
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8AE7#FFFFFF#000000##000000
##8A8AE71.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6997EB
Deuteranopia (green-blind)
#6590E5
Tritanopia (blue-blind)
#6E9CAD
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8a8ae7;
/* rgb */ color: rgb(138, 138, 231);
/* oklch */ color: oklch(67.3% 0.136 282.1);
Tailwind
colors: {
  custom: {
    50: '#b0acef',
    500: '#8a8ae7',
    950: '#000000',
  },
}
SCSS
$custom: #8a8ae7;
$custom-light: #b0acef;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8ae7",
  "rgb": {
    "r": 138,
    "g": 138,
    "b": 231
  },
  "hsl": {
    "h": 240,
    "s": 65.957,
    "l": 72.353
  },
  "oklch": {
    "l": 0.67326,
    "c": 0.13585,
    "h": 282.1
  },
  "luminance": 0.2935
}

Semantic roles & 50–950 ramp

primary
#8A8AE7
secondary
#F1F1DA
accent
#CE18CE
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#111016
muted
#807F84

Preview Lab

Preview with #8A8AE7

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

Preview Lab → · Contrast checker → · Palette generator →

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