#8A7AEA#8A7AEA

#8A7AEA is a light, vivid blue. Relative luminance 0.253; OKLCH L 64.5% C 0.163 H 287.5°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#8A7AEA
RGBrgb(138, 122, 234)
HSLhsl(249, 73%, 70%)
HSVhsv(249, 48%, 92%)
CMYKcmyk(41%, 47.9%, 0%, 8.2%)
CIE-LABlab(57.33, 32.80, -54.79)
CIE-LCHlch(57.33, 63.86, 300.91°)
OKLaboklab(64.53% 0.0489 -0.1552)
OKLCHoklch(64.53% 0.163 287.5)
XYZxyz(32.2879, 25.2617, 81.0007)
Luminance0.2526 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7AEA #DAEA7A
analogous
#7AA2EA #8A7AEA #C27AEA
triadic
#8A7AEA #EA8A7A #7AEA8A
tetradic
#8A7AEA #EA7AA2 #DAEA7A #7AEAC2
square
#8A7AEA #EA7AA2 #DAEA7A #7AEAC2
split-complementary
#8A7AEA #EAC27A #A2EA7A
monochromatic
#3820CA #5C45E2 #8A7AEA #B8AFF2 #E7E4FB

Accessibility & contrast

On white

3.47
#8A7AEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#8A7AEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7AEA
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7AEA#FFFFFF#000000##000000
##8A7AEA1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D8CEE
Deuteranopia (green-blind)
#4D87E7
Tritanopia (blue-blind)
#6E91A7
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8a7aea;
/* rgb */ color: rgb(138, 122, 234);
/* oklch */ color: oklch(64.5% 0.163 287.5);
Tailwind
colors: {
  custom: {
    50: '#b1a0f1',
    500: '#8a7aea',
    950: '#000000',
  },
}
SCSS
$custom: #8a7aea;
$custom-light: #b1a0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7aea",
  "rgb": {
    "r": 138,
    "g": 122,
    "b": 234
  },
  "hsl": {
    "h": 248.571,
    "s": 72.727,
    "l": 69.804
  },
  "oklch": {
    "l": 0.64531,
    "c": 0.16272,
    "h": 287.5
  },
  "luminance": 0.25263
}

Semantic roles & 50–950 ramp

primary
#8A7AEA
secondary
#EBF0D0
accent
#D511B9
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110F17
muted
#807E85

Preview Lab

Preview with #8A7AEA

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

Preview Lab → · Contrast checker → · Palette generator →

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