#8A7AE6#8A7AE6

#8A7AE6 is a light, vivid blue. Relative luminance 0.250; OKLCH L 64.3% C 0.157 H 287.9°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#8A7AE6
RGBrgb(138, 122, 230)
HSLhsl(249, 68%, 69%)
HSVhsv(249, 47%, 90%)
CMYKcmyk(40%, 47%, 0%, 9.8%)
CIE-LABlab(57.11, 31.69, -52.91)
CIE-LCHlch(57.11, 61.68, 300.92°)
OKLaboklab(64.29% 0.0485 -0.1497)
OKLCHoklch(64.29% 0.157 287.9)
XYZxyz(31.7197, 25.0345, 78.0084)
Luminance0.2504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7AE6 #D6E67A
analogous
#7AA0E6 #8A7AE6 #C07AE6
triadic
#8A7AE6 #E68A7A #7AE68A
tetradic
#8A7AE6 #E67AA0 #D6E67A #7AE6C0
square
#8A7AE6 #E67AA0 #D6E67A #7AE6C0
split-complementary
#8A7AE6 #E6C07A #A0E67A
monochromatic
#3C24C1 #5D46DC #8A7AE6 #B7AEF0 #E5E1F9

Accessibility & contrast

On white

3.50
#8A7AE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#8A7AE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7AE6
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7AE6#FFFFFF#000000##000000
##8A7AE61.003.506.016.01
#FFFFFF3.501.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#518CEA
Deuteranopia (green-blind)
#5086E4
Tritanopia (blue-blind)
#7090A5
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8a7ae6;
/* rgb */ color: rgb(138, 122, 230);
/* oklch */ color: oklch(64.3% 0.157 287.9);
Tailwind
colors: {
  custom: {
    50: '#b0a0ee',
    500: '#8a7ae6',
    950: '#000000',
  },
}
SCSS
$custom: #8a7ae6;
$custom-light: #b0a0ee;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7ae6",
  "rgb": {
    "r": 138,
    "g": 122,
    "b": 230
  },
  "hsl": {
    "h": 248.889,
    "s": 68.354,
    "l": 69.02
  },
  "oklch": {
    "l": 0.64294,
    "c": 0.15734,
    "h": 287.9
  },
  "luminance": 0.25036
}

Semantic roles & 50–950 ramp

primary
#8A7AE6
secondary
#E9EECE
accent
#D015B5
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8A7AE6

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

Preview Lab → · Contrast checker → · Palette generator →

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