#8A7AE9#8A7AE9

#8A7AE9 is a light, vivid blue. Relative luminance 0.252; OKLCH L 64.5% C 0.161 H 287.6°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#8A7AE9
RGBrgb(138, 122, 233)
HSLhsl(249, 72%, 70%)
HSVhsv(249, 48%, 91%)
CMYKcmyk(40.8%, 47.6%, 0%, 8.6%)
CIE-LABlab(57.27, 32.52, -54.32)
CIE-LCHlch(57.27, 63.31, 300.91°)
OKLaboklab(64.47% 0.0488 -0.1538)
OKLCHoklch(64.47% 0.161 287.6)
XYZxyz(32.1446, 25.2044, 80.2463)
Luminance0.2521 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7AE9 #D9E97A
analogous
#7AA1E9 #8A7AE9 #C27AE9
triadic
#8A7AE9 #E98A7A #7AE98A
tetradic
#8A7AE9 #E97AA1 #D9E97A #7AE9C2
square
#8A7AE9 #E97AA1 #D9E97A #7AE9C2
split-complementary
#8A7AE9 #E9C27A #A1E97A
monochromatic
#3921C8 #5C45E0 #8A7AE9 #B8AFF2 #E6E3FA

Accessibility & contrast

On white

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

On black

6.04
#8A7AE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7AE9
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7AE9#FFFFFF#000000##000000
##8A7AE91.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E8CED
Deuteranopia (green-blind)
#4D87E6
Tritanopia (blue-blind)
#6F91A6
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8a7ae9;
/* rgb */ color: rgb(138, 122, 233);
/* oklch */ color: oklch(64.5% 0.161 287.6);
Tailwind
colors: {
  custom: {
    50: '#b1a0f0',
    500: '#8a7ae9',
    950: '#000000',
  },
}
SCSS
$custom: #8a7ae9;
$custom-light: #b1a0f0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7ae9",
  "rgb": {
    "r": 138,
    "g": 122,
    "b": 233
  },
  "hsl": {
    "h": 248.649,
    "s": 71.613,
    "l": 69.608
  },
  "oklch": {
    "l": 0.64471,
    "c": 0.16138,
    "h": 287.6
  },
  "luminance": 0.25206
}

Semantic roles & 50–950 ramp

primary
#8A7AE9
secondary
#EBEFD0
accent
#D412B8
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110F17
muted
#807E85

Preview Lab

Preview with #8A7AE9

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

Preview Lab → · Contrast checker → · Palette generator →

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