#8B7BF7#8B7BF7

#8B7BF7 is a light, vivid blue. Relative luminance 0.264; OKLCH L 65.6% C 0.179 H 286.3°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#8B7BF7
RGBrgb(139, 123, 247)
HSLhsl(248, 89%, 73%)
HSVhsv(248, 50%, 97%)
CMYKcmyk(43.7%, 50.2%, 0%, 3.1%)
CIE-LABlab(58.39, 36.09, -60.31)
CIE-LCHlch(58.39, 70.28, 300.90°)
OKLaboklab(65.58% 0.0501 -0.1714)
OKLCHoklch(65.58% 0.179 286.3)
XYZxyz(34.5141, 26.3689, 91.2488)
Luminance0.2637 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B7BF7 #E7F77B
analogous
#7BA9F7 #8B7BF7 #C97BF7
triadic
#8B7BF7 #F78B7B #7BF78B
tetradic
#8B7BF7 #F77BA9 #E7F77B #7BF7C9
square
#8B7BF7 #F77BA9 #E7F77B #7BF7C9
split-complementary
#8B7BF7 #F7C97B #A9F77B
monochromatic
#2A0EE9 #5841F4 #8B7BF7 #BEB5FA #E6E2FD

Accessibility & contrast

On white

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

On black

6.27
#8B7BF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B7BF7
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B7BF7#FFFFFF#000000##000000
##8B7BF71.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4490FB
Deuteranopia (green-blind)
#4189F4
Tritanopia (blue-blind)
#6995AE
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #8b7bf7;
/* rgb */ color: rgb(139, 123, 247);
/* oklch */ color: oklch(65.6% 0.179 286.3);
Tailwind
colors: {
  custom: {
    50: '#b2a1fa',
    500: '#8b7bf7',
    950: '#000000',
  },
}
SCSS
$custom: #8b7bf7;
$custom-light: #b2a1fa;
$custom-dark: #000000;
JSON
{
  "hex": "#8b7bf7",
  "rgb": {
    "r": 139,
    "g": 123,
    "b": 247
  },
  "hsl": {
    "h": 247.742,
    "s": 88.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.65581,
    "c": 0.17853,
    "h": 286.3
  },
  "luminance": 0.2637
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8B7BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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