#8B7CF8#8B7CF8

#8B7CF8 is a light, vivid blue. Relative luminance 0.267; OKLCH L 65.8% C 0.178 H 285.9°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#8B7CF8
RGBrgb(139, 124, 248)
HSLhsl(247, 90%, 73%)
HSVhsv(247, 50%, 97%)
CMYKcmyk(44%, 50%, 0%, 2.7%)
CIE-LABlab(58.68, 35.79, -60.40)
CIE-LCHlch(58.68, 70.20, 300.65°)
OKLaboklab(65.82% 0.049 -0.1716)
OKLCHoklch(65.82% 0.178 285.9)
XYZxyz(34.7935, 26.6802, 92.1052)
Luminance0.2668 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B7CF8 #E9F87C
analogous
#7CABF8 #8B7CF8 #C97CF8
triadic
#8B7CF8 #F88B7C #7CF88B
tetradic
#8B7CF8 #F87CAB #E9F87C #7CF8C9
square
#8B7CF8 #F87CAB #E9F87C #7CF8C9
split-complementary
#8B7CF8 #F8C97C #ABF87C
monochromatic
#280DED #5842F5 #8B7CF8 #BEB6FB #E5E2FD

Accessibility & contrast

On white

3.31
#8B7CF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#8B7CF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B7CF8
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B7CF8#FFFFFF#000000##000000
##8B7CF81.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4591FC
Deuteranopia (green-blind)
#428AF5
Tritanopia (blue-blind)
#6996AE
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8b7cf8;
/* rgb */ color: rgb(139, 124, 248);
/* oklch */ color: oklch(65.8% 0.178 285.9);
Tailwind
colors: {
  custom: {
    50: '#b2a2fb',
    500: '#8b7cf8',
    950: '#000000',
  },
}
SCSS
$custom: #8b7cf8;
$custom-light: #b2a2fb;
$custom-dark: #000000;
JSON
{
  "hex": "#8b7cf8",
  "rgb": {
    "r": 139,
    "g": 124,
    "b": 248
  },
  "hsl": {
    "h": 247.258,
    "s": 89.855,
    "l": 72.941
  },
  "oklch": {
    "l": 0.65818,
    "c": 0.17845,
    "h": 285.9
  },
  "luminance": 0.26682
}

Semantic roles & 50–950 ramp

primary
#8B7CF8
secondary
#F2F6D5
accent
#E600CA
background
#FBFAFF
surface
#F6F3FF
border
#D0CDD7
text
#110F17
muted
#807F85

Preview Lab

Preview with #8B7CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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