#8B7BED#8B7BED

#8B7BED is a light, vivid blue. Relative luminance 0.258; OKLCH L 65.0% C 0.165 H 287.3°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#8B7BED
RGBrgb(139, 123, 237)
HSLhsl(248, 76%, 71%)
HSVhsv(248, 48%, 93%)
CMYKcmyk(41.4%, 48.1%, 0%, 7.1%)
CIE-LABlab(57.82, 33.29, -55.68)
CIE-LCHlch(57.82, 64.87, 300.88°)
OKLaboklab(64.97% 0.0492 -0.1578)
OKLCHoklch(64.97% 0.165 287.3)
XYZxyz(33.0122, 25.7681, 83.3387)
Luminance0.2577 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B7BED #DDED7B
analogous
#7BA4ED #8B7BED #C47BED
triadic
#8B7BED #ED8B7B #7BED8B
tetradic
#8B7BED #ED7BA4 #DDED7B #7BEDC4
square
#8B7BED #ED7BA4 #DDED7B #7BEDC4
split-complementary
#8B7BED #EDC47B #A4ED7B
monochromatic
#361DD1 #5C45E6 #8B7BED #BAB1F4 #E7E4FB

Accessibility & contrast

On white

3.41
#8B7BED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#8B7BED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B7BED
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B7BED#FFFFFF#000000##000000
##8B7BED1.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D8EF1
Deuteranopia (green-blind)
#4C88EA
Tritanopia (blue-blind)
#6F92A9
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #8b7bed;
/* rgb */ color: rgb(139, 123, 237);
/* oklch */ color: oklch(65.0% 0.165 287.3);
Tailwind
colors: {
  custom: {
    50: '#b1a1f3',
    500: '#8b7bed',
    950: '#000000',
  },
}
SCSS
$custom: #8b7bed;
$custom-light: #b1a1f3;
$custom-dark: #000000;
JSON
{
  "hex": "#8b7bed",
  "rgb": {
    "r": 139,
    "g": 123,
    "b": 237
  },
  "hsl": {
    "h": 248.421,
    "s": 76,
    "l": 70.588
  },
  "oklch": {
    "l": 0.64971,
    "c": 0.16525,
    "h": 287.3
  },
  "luminance": 0.25769
}

Semantic roles & 50–950 ramp

primary
#8B7BED
secondary
#EDF1D2
accent
#D80DBC
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110F17
muted
#807E85

Preview Lab

Preview with #8B7BED

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

Preview Lab → · Contrast checker → · Palette generator →

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