#8B7BE7#8B7BE7

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

Color values

HEX#8B7BE7
RGBrgb(139, 123, 231)
HSLhsl(249, 69%, 69%)
HSVhsv(249, 47%, 91%)
CMYKcmyk(39.8%, 46.8%, 0%, 9.4%)
CIE-LABlab(57.49, 31.63, -52.86)
CIE-LCHlch(57.49, 61.60, 300.89°)
OKLaboklab(64.61% 0.0485 -0.1495)
OKLCHoklch(64.61% 0.157 288)
XYZxyz(32.1502, 25.4233, 78.7991)
Luminance0.2542 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B7BE7 #D7E77B
analogous
#7BA1E7 #8B7BE7 #C17BE7
triadic
#8B7BE7 #E78B7B #7BE78B
tetradic
#8B7BE7 #E77BA1 #D7E77B #7BE7C1
square
#8B7BE7 #E77BA1 #D7E77B #7BE7C1
split-complementary
#8B7BE7 #E7C17B #A1E77B
monochromatic
#3B24C4 #5D47DE #8B7BE7 #B9AFF0 #E6E3FA

Accessibility & contrast

On white

3.45
#8B7BE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B7BE7#FFFFFF#000000##000000
##8B7BE71.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#528DEB
Deuteranopia (green-blind)
#5187E5
Tritanopia (blue-blind)
#7191A6
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8b7be7;
/* rgb */ color: rgb(139, 123, 231);
/* oklch */ color: oklch(64.6% 0.157 288.0);
Tailwind
colors: {
  custom: {
    50: '#b1a1ef',
    500: '#8b7be7',
    950: '#000000',
  },
}
SCSS
$custom: #8b7be7;
$custom-light: #b1a1ef;
$custom-dark: #000000;
JSON
{
  "hex": "#8b7be7",
  "rgb": {
    "r": 139,
    "g": 123,
    "b": 231
  },
  "hsl": {
    "h": 248.889,
    "s": 69.231,
    "l": 69.412
  },
  "oklch": {
    "l": 0.64615,
    "c": 0.1572,
    "h": 288
  },
  "luminance": 0.25424
}

Semantic roles & 50–950 ramp

primary
#8B7BE7
secondary
#EAEECF
accent
#D114B5
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110F16
muted
#807E84

Preview Lab

Preview with #8B7BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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