#8A7AEF#8A7AEF

#8A7AEF is a light, vivid blue. Relative luminance 0.256; OKLCH L 64.8% C 0.169 H 287.0°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#8A7AEF
RGBrgb(138, 122, 239)
HSLhsl(248, 79%, 71%)
HSVhsv(248, 49%, 94%)
CMYKcmyk(42.3%, 49%, 0%, 6.3%)
CIE-LABlab(57.61, 34.19, -57.12)
CIE-LCHlch(57.61, 66.57, 300.90°)
OKLaboklab(64.83% 0.0494 -0.162)
OKLCHoklch(64.83% 0.169 287)
XYZxyz(33.0163, 25.5531, 84.8372)
Luminance0.2555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7AEF #DFEF7A
analogous
#7AA4EF #8A7AEF #C47AEF
triadic
#8A7AEF #EF8A7A #7AEF8A
tetradic
#8A7AEF #EF7AA4 #DFEF7A #7AEFC4
square
#8A7AEF #EF7AA4 #DFEF7A #7AEFC4
split-complementary
#8A7AEF #EFC47A #A4EF7A
monochromatic
#331AD5 #5A43E8 #8A7AEF #BAB1F6 #E7E4FC

Accessibility & contrast

On white

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

On black

6.11
#8A7AEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7AEF
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7AEF#FFFFFF#000000##000000
##8A7AEF1.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#498DF3
Deuteranopia (green-blind)
#4887EC
Tritanopia (blue-blind)
#6C92A9
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8a7aef;
/* rgb */ color: rgb(138, 122, 239);
/* oklch */ color: oklch(64.8% 0.169 287.0);
Tailwind
colors: {
  custom: {
    50: '#b1a0f5',
    500: '#8a7aef',
    950: '#000000',
  },
}
SCSS
$custom: #8a7aef;
$custom-light: #b1a0f5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7aef",
  "rgb": {
    "r": 138,
    "g": 122,
    "b": 239
  },
  "hsl": {
    "h": 248.205,
    "s": 78.523,
    "l": 70.784
  },
  "oklch": {
    "l": 0.64833,
    "c": 0.1694,
    "h": 287
  },
  "luminance": 0.25554
}

Semantic roles & 50–950 ramp

primary
#8A7AEF
secondary
#EEF2D3
accent
#DB0BBE
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110F17
muted
#807E85

Preview Lab

Preview with #8A7AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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