#8B7FF4#8B7FF4

#8B7FF4 is a light, vivid blue. Relative luminance 0.272; OKLCH L 66.1% C 0.169 H 285.5°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#8B7FF4
RGBrgb(139, 127, 244)
HSLhsl(246, 84%, 73%)
HSVhsv(246, 48%, 96%)
CMYKcmyk(43%, 48%, 0%, 4.3%)
CIE-LABlab(59.16, 32.93, -57.42)
CIE-LCHlch(59.16, 66.19, 299.83°)
OKLaboklab(66.11% 0.0451 -0.1629)
OKLCHoklch(66.11% 0.169 285.5)
XYZxyz(34.5613, 27.1980, 88.9991)
Luminance0.2720 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B7FF4 #E8F47F
analogous
#7FADF4 #8B7FF4 #C67FF4
triadic
#8B7FF4 #F48B7F #7FF48B
tetradic
#8B7FF4 #F47FAD #E8F47F #7FF4C6
square
#8B7FF4 #F47FAD #E8F47F #7FF4C6
split-complementary
#8B7FF4 #F4C67F #ADF47F
monochromatic
#2914E5 #5847EF #8B7FF4 #BEB7F9 #E5E3FD

Accessibility & contrast

On white

3.26
#8B7FF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#8B7FF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B7FF4
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B7FF4#FFFFFF#000000##000000
##8B7FF41.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F92F8
Deuteranopia (green-blind)
#4B8BF1
Tritanopia (blue-blind)
#6B97AE
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8b7ff4;
/* rgb */ color: rgb(139, 127, 244);
/* oklch */ color: oklch(66.1% 0.169 285.5);
Tailwind
colors: {
  custom: {
    50: '#b2a4f8',
    500: '#8b7ff4',
    950: '#000000',
  },
}
SCSS
$custom: #8b7ff4;
$custom-light: #b2a4f8;
$custom-dark: #000000;
JSON
{
  "hex": "#8b7ff4",
  "rgb": {
    "r": 139,
    "g": 127,
    "b": 244
  },
  "hsl": {
    "h": 246.154,
    "s": 84.173,
    "l": 72.745
  },
  "oklch": {
    "l": 0.66105,
    "c": 0.16898,
    "h": 285.5
  },
  "luminance": 0.27199
}

Semantic roles & 50–950 ramp

primary
#8B7FF4
secondary
#F1F5D6
accent
#E105CA
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#110F17
muted
#807F85

Preview Lab

Preview with #8B7FF4

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

Preview Lab → · Contrast checker → · Palette generator →

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