#8B7FF6#8B7FF6

#8B7FF6 is a light, vivid blue. Relative luminance 0.273; OKLCH L 66.2% C 0.172 H 285.3°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#8B7FF6
RGBrgb(139, 127, 246)
HSLhsl(246, 87%, 73%)
HSVhsv(246, 48%, 96%)
CMYKcmyk(43.5%, 48.4%, 0%, 3.5%)
CIE-LABlab(59.27, 33.49, -58.34)
CIE-LCHlch(59.27, 67.27, 299.86°)
OKLaboklab(66.23% 0.0453 -0.1656)
OKLCHoklch(66.23% 0.172 285.3)
XYZxyz(34.8666, 27.3201, 90.6071)
Luminance0.2732 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B7FF6 #EAF67F
analogous
#7FAFF6 #8B7FF6 #C67FF6
triadic
#8B7FF6 #F68B7F #7FF68B
tetradic
#8B7FF6 #F67FAF #EAF67F #7FF6C6
square
#8B7FF6 #F67FAF #EAF67F #7FF6C6
split-complementary
#8B7FF6 #F6C67F #AFF67F
monochromatic
#2610EA #5746F2 #8B7FF6 #BFB8FA #E5E2FD

Accessibility & contrast

On white

3.25
#8B7FF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#8B7FF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B7FF6
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B7FF6#FFFFFF#000000##000000
##8B7FF61.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D92FA
Deuteranopia (green-blind)
#498BF3
Tritanopia (blue-blind)
#6A98AF
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8b7ff6;
/* rgb */ color: rgb(139, 127, 246);
/* oklch */ color: oklch(66.2% 0.172 285.3);
Tailwind
colors: {
  custom: {
    50: '#b2a4fa',
    500: '#8b7ff6',
    950: '#000000',
  },
}
SCSS
$custom: #8b7ff6;
$custom-light: #b2a4fa;
$custom-dark: #000000;
JSON
{
  "hex": "#8b7ff6",
  "rgb": {
    "r": 139,
    "g": 127,
    "b": 246
  },
  "hsl": {
    "h": 246.05,
    "s": 86.861,
    "l": 73.137
  },
  "oklch": {
    "l": 0.66226,
    "c": 0.17165,
    "h": 285.3
  },
  "luminance": 0.27322
}

Semantic roles & 50–950 ramp

primary
#8B7FF6
secondary
#F2F5D6
accent
#E302CD
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#110F17
muted
#807F85

Preview Lab

Preview with #8B7FF6

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

Preview Lab → · Contrast checker → · Palette generator →

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