#8B7AEA#8B7AEA

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

Color values

HEX#8B7AEA
RGBrgb(139, 122, 234)
HSLhsl(249, 73%, 70%)
HSVhsv(249, 48%, 92%)
CMYKcmyk(40.6%, 47.9%, 0%, 8.2%)
CIE-LABlab(57.41, 33.04, -54.65)
CIE-LCHlch(57.41, 63.86, 301.16°)
OKLaboklab(64.61% 0.0501 -0.1548)
OKLCHoklch(64.61% 0.163 287.9)
XYZxyz(32.4541, 25.3474, 81.0085)
Luminance0.2535 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B7AEA #D9EA7A
analogous
#7AA1EA #8B7AEA #C37AEA
triadic
#8B7AEA #EA8B7A #7AEA8B
tetradic
#8B7AEA #EA7AA1 #D9EA7A #7AEAC3
square
#8B7AEA #EA7AA1 #D9EA7A #7AEAC3
split-complementary
#8B7AEA #EAC37A #A1EA7A
monochromatic
#3A20CA #5D45E2 #8B7AEA #B9AFF2 #E7E4FB

Accessibility & contrast

On white

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

On black

6.07
#8B7AEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B7AEA
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B7AEA#FFFFFF#000000##000000
##8B7AEA1.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E8CEE
Deuteranopia (green-blind)
#4D87E7
Tritanopia (blue-blind)
#7091A7
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8b7aea;
/* rgb */ color: rgb(139, 122, 234);
/* oklch */ color: oklch(64.6% 0.163 287.9);
Tailwind
colors: {
  custom: {
    50: '#b1a0f1',
    500: '#8b7aea',
    950: '#000000',
  },
}
SCSS
$custom: #8b7aea;
$custom-light: #b1a0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#8b7aea",
  "rgb": {
    "r": 139,
    "g": 122,
    "b": 234
  },
  "hsl": {
    "h": 249.107,
    "s": 72.727,
    "l": 69.804
  },
  "oklch": {
    "l": 0.64613,
    "c": 0.16267,
    "h": 287.9
  },
  "luminance": 0.25349
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8B7AEA

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

Preview Lab → · Contrast checker → · Palette generator →

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