#8B7BF3#8B7BF3

#8B7BF3 is a light, vivid blue. Relative luminance 0.261; OKLCH L 65.3% C 0.173 H 286.7°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#8B7BF3
RGBrgb(139, 123, 243)
HSLhsl(248, 83%, 72%)
HSVhsv(248, 49%, 95%)
CMYKcmyk(42.8%, 49.4%, 0%, 4.7%)
CIE-LABlab(58.16, 34.97, -58.47)
CIE-LCHlch(58.16, 68.12, 300.88°)
OKLaboklab(65.33% 0.0497 -0.1659)
OKLCHoklch(65.33% 0.173 286.7)
XYZxyz(33.9035, 26.1246, 88.0328)
Luminance0.2613 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B7BF3 #E3F37B
analogous
#7BA7F3 #8B7BF3 #C77BF3
triadic
#8B7BF3 #F38B7B #7BF38B
tetradic
#8B7BF3 #F37BA7 #E3F37B #7BF3C7
square
#8B7BF3 #F37BA7 #E3F37B #7BF3C7
split-complementary
#8B7BF3 #F3C77B #A7F37B
monochromatic
#2F14DF #5A43EE #8B7BF3 #BCB3F8 #E6E3FC

Accessibility & contrast

On white

3.37
#8B7BF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#8B7BF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B7BF3
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B7BF3#FFFFFF#000000##000000
##8B7BF31.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#488FF7
Deuteranopia (green-blind)
#4688F0
Tritanopia (blue-blind)
#6C94AC
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #8b7bf3;
/* rgb */ color: rgb(139, 123, 243);
/* oklch */ color: oklch(65.3% 0.173 286.7);
Tailwind
colors: {
  custom: {
    50: '#b2a1f8',
    500: '#8b7bf3',
    950: '#000000',
  },
}
SCSS
$custom: #8b7bf3;
$custom-light: #b2a1f8;
$custom-dark: #000000;
JSON
{
  "hex": "#8b7bf3",
  "rgb": {
    "r": 139,
    "g": 123,
    "b": 243
  },
  "hsl": {
    "h": 248,
    "s": 83.333,
    "l": 71.765
  },
  "oklch": {
    "l": 0.65335,
    "c": 0.17324,
    "h": 286.7
  },
  "luminance": 0.26126
}

Semantic roles & 50–950 ramp

primary
#8B7BF3
secondary
#F0F4D6
accent
#E006C3
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110F17
muted
#807E85

Preview Lab

Preview with #8B7BF3

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

Preview Lab → · Contrast checker → · Palette generator →

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