#8B7BF8#8B7BF8

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

Color values

HEX#8B7BF8
RGBrgb(139, 123, 248)
HSLhsl(248, 90%, 73%)
HSVhsv(248, 50%, 97%)
CMYKcmyk(44%, 50.4%, 0%, 2.7%)
CIE-LABlab(58.44, 36.37, -60.77)
CIE-LCHlch(58.44, 70.82, 300.90°)
OKLaboklab(65.64% 0.0501 -0.1727)
OKLCHoklch(65.64% 0.18 286.2)
XYZxyz(34.6688, 26.4308, 92.0637)
Luminance0.2643 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B7BF8 #E8F87B
analogous
#7BA9F8 #8B7BF8 #C97BF8
triadic
#8B7BF8 #F88B7B #7BF88B
tetradic
#8B7BF8 #F87BA9 #E8F87B #7BF8C9
square
#8B7BF8 #F87BA9 #E8F87B #7BF8C9
split-complementary
#8B7BF8 #F8C97B #A9F87B
monochromatic
#290DEC #5841F5 #8B7BF8 #BEB5FB #E5E2FD

Accessibility & contrast

On white

3.34
#8B7BF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#8B7BF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B7BF8
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B7BF8#FFFFFF#000000##000000
##8B7BF81.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4390FC
Deuteranopia (green-blind)
#4089F5
Tritanopia (blue-blind)
#6995AE
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8b7bf8;
/* rgb */ color: rgb(139, 123, 248);
/* oklch */ color: oklch(65.6% 0.180 286.2);
Tailwind
colors: {
  custom: {
    50: '#b3a1fb',
    500: '#8b7bf8',
    950: '#000000',
  },
}
SCSS
$custom: #8b7bf8;
$custom-light: #b3a1fb;
$custom-dark: #000000;
JSON
{
  "hex": "#8b7bf8",
  "rgb": {
    "r": 139,
    "g": 123,
    "b": 248
  },
  "hsl": {
    "h": 247.68,
    "s": 89.928,
    "l": 72.745
  },
  "oklch": {
    "l": 0.65644,
    "c": 0.17984,
    "h": 286.2
  },
  "luminance": 0.26432
}

Semantic roles & 50–950 ramp

primary
#8B7BF8
secondary
#F1F6D5
accent
#E600C8
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110F17
muted
#807E85

Preview Lab

Preview with #8B7BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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