#8B7DF5#8B7DF5

#8B7DF5 is a light, vivid blue. Relative luminance 0.267; OKLCH L 65.8% C 0.173 H 285.9°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#8B7DF5
RGBrgb(139, 125, 245)
HSLhsl(247, 86%, 73%)
HSVhsv(247, 49%, 96%)
CMYKcmyk(43.3%, 49%, 0%, 3.9%)
CIE-LABlab(58.74, 34.37, -58.64)
CIE-LCHlch(58.74, 67.97, 300.37°)
OKLaboklab(65.81% 0.0475 -0.1664)
OKLCHoklch(65.81% 0.173 285.9)
XYZxyz(34.4578, 26.7474, 89.7157)
Luminance0.2675 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B7DF5 #E7F57D
analogous
#7DABF5 #8B7DF5 #C77DF5
triadic
#8B7DF5 #F58B7D #7DF58B
tetradic
#8B7DF5 #F57DAB #E7F57D #7DF5C7
square
#8B7DF5 #F57DAB #E7F57D #7DF5C7
split-complementary
#8B7DF5 #F5C77D #ABF57D
monochromatic
#2A12E6 #5844F1 #8B7DF5 #BEB6F9 #E6E3FD

Accessibility & contrast

On white

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

On black

6.35
#8B7DF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B7DF5
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B7DF5#FFFFFF#000000##000000
##8B7DF51.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A91F9
Deuteranopia (green-blind)
#478AF2
Tritanopia (blue-blind)
#6A96AD
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8b7df5;
/* rgb */ color: rgb(139, 125, 245);
/* oklch */ color: oklch(65.8% 0.173 285.9);
Tailwind
colors: {
  custom: {
    50: '#b2a3f9',
    500: '#8b7df5',
    950: '#000000',
  },
}
SCSS
$custom: #8b7df5;
$custom-light: #b2a3f9;
$custom-dark: #000000;
JSON
{
  "hex": "#8b7df5",
  "rgb": {
    "r": 139,
    "g": 125,
    "b": 245
  },
  "hsl": {
    "h": 247,
    "s": 85.714,
    "l": 72.549
  },
  "oklch": {
    "l": 0.6581,
    "c": 0.1731,
    "h": 285.9
  },
  "luminance": 0.26749
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8B7DF5

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

Preview Lab → · Contrast checker → · Palette generator →

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