#8B7BF6#8B7BF6

#8B7BF6 is a light, vivid blue. Relative luminance 0.263; OKLCH L 65.5% C 0.177 H 286.4°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#8B7BF6
RGBrgb(139, 123, 246)
HSLhsl(248, 87%, 72%)
HSVhsv(248, 50%, 96%)
CMYKcmyk(43.5%, 50%, 0%, 3.5%)
CIE-LABlab(58.33, 35.81, -59.85)
CIE-LCHlch(58.33, 69.74, 300.89°)
OKLaboklab(65.52% 0.05 -0.17)
OKLCHoklch(65.52% 0.177 286.4)
XYZxyz(34.3602, 26.3073, 90.4383)
Luminance0.2631 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B7BF6 #E6F67B
analogous
#7BA8F6 #8B7BF6 #C97BF6
triadic
#8B7BF6 #F68B7B #7BF68B
tetradic
#8B7BF6 #F67BA8 #E6F67B #7BF6C9
square
#8B7BF6 #F67BA8 #E6F67B #7BF6C9
split-complementary
#8B7BF6 #F6C97B #A8F67B
monochromatic
#2C10E7 #5942F2 #8B7BF6 #BDB4FA #E6E2FD

Accessibility & contrast

On white

3.35
#8B7BF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#8B7BF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B7BF6
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B7BF6#FFFFFF#000000##000000
##8B7BF61.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#458FFA
Deuteranopia (green-blind)
#4289F3
Tritanopia (blue-blind)
#6A95AD
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #8b7bf6;
/* rgb */ color: rgb(139, 123, 246);
/* oklch */ color: oklch(65.5% 0.177 286.4);
Tailwind
colors: {
  custom: {
    50: '#b2a1fa',
    500: '#8b7bf6',
    950: '#000000',
  },
}
SCSS
$custom: #8b7bf6;
$custom-light: #b2a1fa;
$custom-dark: #000000;
JSON
{
  "hex": "#8b7bf6",
  "rgb": {
    "r": 139,
    "g": 123,
    "b": 246
  },
  "hsl": {
    "h": 247.805,
    "s": 87.234,
    "l": 72.353
  },
  "oklch": {
    "l": 0.65519,
    "c": 0.17721,
    "h": 286.4
  },
  "luminance": 0.26309
}

Semantic roles & 50–950 ramp

primary
#8B7BF6
secondary
#F1F5D6
accent
#E402C6
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110F17
muted
#807E85

Preview Lab

Preview with #8B7BF6

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

Preview Lab → · Contrast checker → · Palette generator →

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