#8A7AEE#8A7AEE

#8A7AEE is a light, vivid blue. Relative luminance 0.255; OKLCH L 64.8% C 0.168 H 287.1°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#8A7AEE
RGBrgb(138, 122, 238)
HSLhsl(248, 77%, 71%)
HSVhsv(248, 49%, 93%)
CMYKcmyk(42%, 48.7%, 0%, 6.7%)
CIE-LABlab(57.55, 33.91, -56.66)
CIE-LCHlch(57.55, 66.03, 300.90°)
OKLaboklab(64.77% 0.0493 -0.1607)
OKLCHoklch(64.77% 0.168 287.1)
XYZxyz(32.8690, 25.4942, 84.0614)
Luminance0.2550 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7AEE #DEEE7A
analogous
#7AA4EE #8A7AEE #C47AEE
triadic
#8A7AEE #EE8A7A #7AEE8A
tetradic
#8A7AEE #EE7AA4 #DEEE7A #7AEEC4
square
#8A7AEE #EE7AA4 #DEEE7A #7AEEC4
split-complementary
#8A7AEE #EEC47A #A4EE7A
monochromatic
#341BD3 #5A44E7 #8A7AEE #BAB0F5 #E7E4FC

Accessibility & contrast

On white

3.44
#8A7AEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#8A7AEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7AEE
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7AEE#FFFFFF#000000##000000
##8A7AEE1.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A8DF2
Deuteranopia (green-blind)
#4987EB
Tritanopia (blue-blind)
#6C92A9
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8a7aee;
/* rgb */ color: rgb(138, 122, 238);
/* oklch */ color: oklch(64.8% 0.168 287.1);
Tailwind
colors: {
  custom: {
    50: '#b1a0f4',
    500: '#8a7aee',
    950: '#000000',
  },
}
SCSS
$custom: #8a7aee;
$custom-light: #b1a0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7aee",
  "rgb": {
    "r": 138,
    "g": 122,
    "b": 238
  },
  "hsl": {
    "h": 248.276,
    "s": 77.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.64772,
    "c": 0.16807,
    "h": 287.1
  },
  "luminance": 0.25495
}

Semantic roles & 50–950 ramp

primary
#8A7AEE
secondary
#EDF2D2
accent
#DA0CBD
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110F17
muted
#807E85

Preview Lab

Preview with #8A7AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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