#8B7CF5#8B7CF5

#8B7CF5 is a light, vivid blue. Relative luminance 0.265; OKLCH L 65.6% C 0.174 H 286.2°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#8B7CF5
RGBrgb(139, 124, 245)
HSLhsl(247, 86%, 72%)
HSVhsv(247, 49%, 96%)
CMYKcmyk(43.3%, 49.4%, 0%, 3.9%)
CIE-LABlab(58.50, 34.95, -59.01)
CIE-LCHlch(58.50, 68.59, 300.63°)
OKLaboklab(65.63% 0.0487 -0.1676)
OKLCHoklch(65.63% 0.175 286.2)
XYZxyz(34.3318, 26.4955, 89.6737)
Luminance0.2650 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B7CF5 #E6F57C
analogous
#7CAAF5 #8B7CF5 #C87CF5
triadic
#8B7CF5 #F58B7C #7CF58B
tetradic
#8B7CF5 #F57CAA #E6F57C #7CF5C8
square
#8B7CF5 #F57CAA #E6F57C #7CF5C8
split-complementary
#8B7CF5 #F5C87C #AAF57C
monochromatic
#2C11E5 #5943F1 #8B7CF5 #BDB5F9 #E6E3FD

Accessibility & contrast

On white

3.33
#8B7CF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#8B7CF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B7CF5
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B7CF5#FFFFFF#000000##000000
##8B7CF51.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4890F9
Deuteranopia (green-blind)
#4589F2
Tritanopia (blue-blind)
#6A95AD
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8b7cf5;
/* rgb */ color: rgb(139, 124, 245);
/* oklch */ color: oklch(65.6% 0.174 286.2);
Tailwind
colors: {
  custom: {
    50: '#b2a2f9',
    500: '#8b7cf5',
    950: '#000000',
  },
}
SCSS
$custom: #8b7cf5;
$custom-light: #b2a2f9;
$custom-dark: #000000;
JSON
{
  "hex": "#8b7cf5",
  "rgb": {
    "r": 139,
    "g": 124,
    "b": 245
  },
  "hsl": {
    "h": 247.438,
    "s": 85.816,
    "l": 72.353
  },
  "oklch": {
    "l": 0.65633,
    "c": 0.1745,
    "h": 286.2
  },
  "luminance": 0.26497
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8B7CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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