#8A7AE8#8A7AE8

#8A7AE8 is a light, vivid blue. Relative luminance 0.251; OKLCH L 64.4% C 0.160 H 287.7°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#8A7AE8
RGBrgb(138, 122, 232)
HSLhsl(249, 71%, 69%)
HSVhsv(249, 47%, 91%)
CMYKcmyk(40.5%, 47.4%, 0%, 9%)
CIE-LABlab(57.22, 32.25, -53.85)
CIE-LCHlch(57.22, 62.77, 300.91°)
OKLaboklab(64.41% 0.0487 -0.1524)
OKLCHoklch(64.41% 0.16 287.7)
XYZxyz(32.0022, 25.1474, 79.4961)
Luminance0.2515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7AE8 #D8E87A
analogous
#7AA1E8 #8A7AE8 #C17AE8
triadic
#8A7AE8 #E88A7A #7AE88A
tetradic
#8A7AE8 #E87AA1 #D8E87A #7AE8C1
square
#8A7AE8 #E87AA1 #D8E87A #7AE8C1
split-complementary
#8A7AE8 #E8C17A #A1E87A
monochromatic
#3A22C5 #5C46DF #8A7AE8 #B8AEF1 #E6E2FA

Accessibility & contrast

On white

3.48
#8A7AE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#8A7AE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7AE8
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7AE8#FFFFFF#000000##000000
##8A7AE81.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F8CEC
Deuteranopia (green-blind)
#4E86E5
Tritanopia (blue-blind)
#6F90A6
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8a7ae8;
/* rgb */ color: rgb(138, 122, 232);
/* oklch */ color: oklch(64.4% 0.160 287.7);
Tailwind
colors: {
  custom: {
    50: '#b0a0f0',
    500: '#8a7ae8',
    950: '#000000',
  },
}
SCSS
$custom: #8a7ae8;
$custom-light: #b0a0f0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7ae8",
  "rgb": {
    "r": 138,
    "g": 122,
    "b": 232
  },
  "hsl": {
    "h": 248.727,
    "s": 70.513,
    "l": 69.412
  },
  "oklch": {
    "l": 0.64412,
    "c": 0.16004,
    "h": 287.7
  },
  "luminance": 0.25149
}

Semantic roles & 50–950 ramp

primary
#8A7AE8
secondary
#EAEFCF
accent
#D313B7
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110F16
muted
#807E84

Preview Lab

Preview with #8A7AE8

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

Preview Lab → · Contrast checker → · Palette generator →

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