#8A7AEC#8A7AEC

#8A7AEC is a light, vivid blue. Relative luminance 0.254; OKLCH L 64.7% C 0.165 H 287.3°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#8A7AEC
RGBrgb(138, 122, 236)
HSLhsl(248, 75%, 70%)
HSVhsv(248, 48%, 93%)
CMYKcmyk(41.5%, 48.3%, 0%, 7.5%)
CIE-LABlab(57.44, 33.36, -55.73)
CIE-LCHlch(57.44, 64.95, 300.90°)
OKLaboklab(64.65% 0.0491 -0.1579)
OKLCHoklch(64.65% 0.165 287.3)
XYZxyz(32.5768, 25.3773, 82.5225)
Luminance0.2538 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7AEC #DCEC7A
analogous
#7AA3EC #8A7AEC #C37AEC
triadic
#8A7AEC #EC8A7A #7AEC8A
tetradic
#8A7AEC #EC7AA3 #DCEC7A #7AECC3
square
#8A7AEC #EC7AA3 #DCEC7A #7AECC3
split-complementary
#8A7AEC #ECC37A #A3EC7A
monochromatic
#361DCE #5B44E4 #8A7AEC #B9B0F4 #E7E4FB

Accessibility & contrast

On white

3.46
#8A7AEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#8A7AEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7AEC
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7AEC#FFFFFF#000000##000000
##8A7AEC1.003.466.086.08
#FFFFFF3.461.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C8DF0
Deuteranopia (green-blind)
#4B87E9
Tritanopia (blue-blind)
#6D91A8
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8a7aec;
/* rgb */ color: rgb(138, 122, 236);
/* oklch */ color: oklch(64.7% 0.165 287.3);
Tailwind
colors: {
  custom: {
    50: '#b1a0f3',
    500: '#8a7aec',
    950: '#000000',
  },
}
SCSS
$custom: #8a7aec;
$custom-light: #b1a0f3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7aec",
  "rgb": {
    "r": 138,
    "g": 122,
    "b": 236
  },
  "hsl": {
    "h": 248.421,
    "s": 75,
    "l": 70.196
  },
  "oklch": {
    "l": 0.64651,
    "c": 0.1654,
    "h": 287.3
  },
  "luminance": 0.25378
}

Semantic roles & 50–950 ramp

primary
#8A7AEC
secondary
#ECF1D1
accent
#D70EBB
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110F17
muted
#807E85

Preview Lab

Preview with #8A7AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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