#8B7AEE#8B7AEE

#8B7AEE is a light, vivid blue. Relative luminance 0.256; OKLCH L 64.9% C 0.168 H 287.5°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#8B7AEE
RGBrgb(139, 122, 238)
HSLhsl(249, 77%, 71%)
HSVhsv(249, 49%, 93%)
CMYKcmyk(41.6%, 48.7%, 0%, 6.7%)
CIE-LABlab(57.64, 34.15, -56.52)
CIE-LCHlch(57.64, 66.04, 301.14°)
OKLaboklab(64.85% 0.0505 -0.1602)
OKLCHoklch(64.85% 0.168 287.5)
XYZxyz(33.0353, 25.5799, 84.0692)
Luminance0.2558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B7AEE #DDEE7A
analogous
#7AA3EE #8B7AEE #C57AEE
triadic
#8B7AEE #EE8B7A #7AEE8B
tetradic
#8B7AEE #EE7AA3 #DDEE7A #7AEEC5
square
#8B7AEE #EE7AA3 #DDEE7A #7AEEC5
split-complementary
#8B7AEE #EEC57A #A3EE7A
monochromatic
#361BD3 #5C44E7 #8B7AEE #BAB0F5 #E7E4FC

Accessibility & contrast

On white

3.43
#8B7AEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#8B7AEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B7AEE
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B7AEE#FFFFFF#000000##000000
##8B7AEE1.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b7aee;
/* rgb */ color: rgb(139, 122, 238);
/* oklch */ color: oklch(64.9% 0.168 287.5);
Tailwind
colors: {
  custom: {
    50: '#b2a0f4',
    500: '#8b7aee',
    950: '#000000',
  },
}
SCSS
$custom: #8b7aee;
$custom-light: #b2a0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#8b7aee",
  "rgb": {
    "r": 139,
    "g": 122,
    "b": 238
  },
  "hsl": {
    "h": 248.793,
    "s": 77.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.64854,
    "c": 0.16801,
    "h": 287.5
  },
  "luminance": 0.25581
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8B7AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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