#8B7EFE#8B7EFE

#8B7EFE is a light, vivid blue. Relative luminance 0.276; OKLCH L 66.5% C 0.184 H 284.9°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#8B7EFE
RGBrgb(139, 126, 254)
HSLhsl(246, 98%, 75%)
HSVhsv(246, 50%, 100%)
CMYKcmyk(45.3%, 50.4%, 0%, 0.4%)
CIE-LABlab(59.49, 36.34, -62.39)
CIE-LCHlch(59.49, 72.20, 300.21°)
OKLaboklab(66.54% 0.0471 -0.1775)
OKLCHoklch(66.54% 0.184 284.9)
XYZxyz(35.9925, 27.5648, 97.1708)
Luminance0.2757 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B7EFE #F1FE7E
analogous
#7EB1FE #8B7EFE #CB7EFE
triadic
#8B7EFE #FE8B7E #7EFE8B
tetradic
#8B7EFE #FE7EB1 #F1FE7E #7EFECB
square
#8B7EFE #FE7EB1 #F1FE7E #7EFECB
split-complementary
#8B7EFE #FECB7E #B1FE7E
monochromatic
#1E05FD #5441FE #8B7EFE #C2BBFE #E4E1FF

Accessibility & contrast

On white

3.22
#8B7EFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#8B7EFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B7EFE
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B7EFE#FFFFFF#000000##000000
##8B7EFE1.003.226.516.51
#FFFFFF3.221.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4393FF
Deuteranopia (green-blind)
#3E8BFB
Tritanopia (blue-blind)
#6599B2
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8b7efe;
/* rgb */ color: rgb(139, 126, 254);
/* oklch */ color: oklch(66.5% 0.184 284.9);
Tailwind
colors: {
  custom: {
    50: '#b3a3ff',
    500: '#8b7efe',
    950: '#000000',
  },
}
SCSS
$custom: #8b7efe;
$custom-light: #b3a3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8b7efe",
  "rgb": {
    "r": 139,
    "g": 126,
    "b": 254
  },
  "hsl": {
    "h": 246.094,
    "s": 98.462,
    "l": 74.51
  },
  "oklch": {
    "l": 0.66542,
    "c": 0.18361,
    "h": 284.9
  },
  "luminance": 0.27566
}

Semantic roles & 50–950 ramp

primary
#8B7EFE
secondary
#F4F7D4
accent
#E600CE
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#120F18
muted
#817F86

Preview Lab

Preview with #8B7EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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