#8A7BF0#8A7BF0

#8A7BF0 is a light, vivid blue. Relative luminance 0.259; OKLCH L 65.1% C 0.169 H 286.6°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#8A7BF0
RGBrgb(138, 123, 240)
HSLhsl(248, 80%, 71%)
HSVhsv(248, 49%, 94%)
CMYKcmyk(42.5%, 48.7%, 0%, 5.9%)
CIE-LABlab(57.90, 33.89, -57.21)
CIE-LCHlch(57.90, 66.50, 300.64°)
OKLaboklab(65.07% 0.0483 -0.1623)
OKLCHoklch(65.07% 0.169 286.6)
XYZxyz(33.2879, 25.8592, 85.6586)
Luminance0.2586 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7BF0 #E1F07B
analogous
#7BA6F0 #8A7BF0 #C47BF0
triadic
#8A7BF0 #F08A7B #7BF08A
tetradic
#8A7BF0 #F07BA6 #E1F07B #7BF0C4
square
#8A7BF0 #F07BA6 #E1F07B #7BF0C4
split-complementary
#8A7BF0 #F0C47B #A6F07B
monochromatic
#3119D8 #5944EA #8A7BF0 #BBB2F6 #E7E4FC

Accessibility & contrast

On white

3.40
#8A7BF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#8A7BF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7BF0
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7BF0#FFFFFF#000000##000000
##8A7BF01.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A8EF4
Deuteranopia (green-blind)
#4888ED
Tritanopia (blue-blind)
#6B93AA
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #8a7bf0;
/* rgb */ color: rgb(138, 123, 240);
/* oklch */ color: oklch(65.1% 0.169 286.6);
Tailwind
colors: {
  custom: {
    50: '#b1a1f5',
    500: '#8a7bf0',
    950: '#000000',
  },
}
SCSS
$custom: #8a7bf0;
$custom-light: #b1a1f5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7bf0",
  "rgb": {
    "r": 138,
    "g": 123,
    "b": 240
  },
  "hsl": {
    "h": 247.692,
    "s": 79.592,
    "l": 71.176
  },
  "oklch": {
    "l": 0.6507,
    "c": 0.16932,
    "h": 286.6
  },
  "luminance": 0.2586
}

Semantic roles & 50–950 ramp

primary
#8A7BF0
secondary
#EFF3D4
accent
#DC0AC1
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110F17
muted
#807E85

Preview Lab

Preview with #8A7BF0

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

Preview Lab → · Contrast checker → · Palette generator →

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