#8B7DF4#8B7DF4

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

Color values

HEX#8B7DF4
RGBrgb(139, 125, 244)
HSLhsl(247, 84%, 72%)
HSVhsv(247, 49%, 96%)
CMYKcmyk(43%, 48.8%, 0%, 4.3%)
CIE-LABlab(58.68, 34.09, -58.18)
CIE-LCHlch(58.68, 67.43, 300.37°)
OKLaboklab(65.75% 0.0474 -0.1651)
OKLCHoklch(65.75% 0.172 286)
XYZxyz(34.3055, 26.6865, 88.9139)
Luminance0.2669 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B7DF4 #E6F47D
analogous
#7DAAF4 #8B7DF4 #C77DF4
triadic
#8B7DF4 #F48B7D #7DF48B
tetradic
#8B7DF4 #F47DAA #E6F47D #7DF4C7
square
#8B7DF4 #F47DAA #E6F47D #7DF4C7
split-complementary
#8B7DF4 #F4C77D #AAF47D
monochromatic
#2C13E3 #5945EF #8B7DF4 #BDB5F9 #E6E3FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B7DF4#FFFFFF#000000##000000
##8B7DF41.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)
#4B90F8
Deuteranopia (green-blind)
#488AF1
Tritanopia (blue-blind)
#6B96AD
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8b7df4;
/* rgb */ color: rgb(139, 125, 244);
/* oklch */ color: oklch(65.7% 0.172 286.0);
Tailwind
colors: {
  custom: {
    50: '#b2a3f8',
    500: '#8b7df4',
    950: '#000000',
  },
}
SCSS
$custom: #8b7df4;
$custom-light: #b2a3f8;
$custom-dark: #000000;
JSON
{
  "hex": "#8b7df4",
  "rgb": {
    "r": 139,
    "g": 125,
    "b": 244
  },
  "hsl": {
    "h": 247.059,
    "s": 84.397,
    "l": 72.353
  },
  "oklch": {
    "l": 0.65749,
    "c": 0.17177,
    "h": 286
  },
  "luminance": 0.26688
}

Semantic roles & 50–950 ramp

primary
#8B7DF4
secondary
#F1F5D6
accent
#E105C7
background
#FBFAFF
surface
#F6F3FF
border
#D0CDD7
text
#110F17
muted
#807F85

Preview Lab

Preview with #8B7DF4

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

Preview Lab → · Contrast checker → · Palette generator →

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