#8A7BDE#8A7BDE

#8A7BDE is a light, vivid blue. Relative luminance 0.248; OKLCH L 64.0% C 0.145 H 288.6°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#8A7BDE
RGBrgb(138, 123, 222)
HSLhsl(249, 60%, 68%)
HSVhsv(249, 45%, 87%)
CMYKcmyk(37.8%, 44.6%, 0%, 12.9%)
CIE-LABlab(56.92, 28.91, -48.73)
CIE-LCHlch(56.92, 56.66, 300.68°)
OKLaboklab(64.01% 0.0462 -0.1375)
OKLCHoklch(64.01% 0.145 288.6)
XYZxyz(30.7454, 24.8422, 72.2682)
Luminance0.2484 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7BDE #CFDE7B
analogous
#7B9DDE #8A7BDE #BC7BDE
triadic
#8A7BDE #DE8A7B #7BDE8A
tetradic
#8A7BDE #DE7B9D #CFDE7B #7BDEBC
square
#8A7BDE #DE7B9D #CFDE7B #7BDEBC
split-complementary
#8A7BDE #DEBC7B #9DDE7B
monochromatic
#412DB2 #5F4AD2 #8A7BDE #B5ACEA #E1DDF6

Accessibility & contrast

On white

3.52
#8A7BDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#8A7BDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7BDE
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7BDE#FFFFFF#000000##000000
##8A7BDE1.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#588BE2
Deuteranopia (green-blind)
#5886DC
Tritanopia (blue-blind)
#748EA2
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8a7bde;
/* rgb */ color: rgb(138, 123, 222);
/* oklch */ color: oklch(64.0% 0.145 288.6);
Tailwind
colors: {
  custom: {
    50: '#b0a1e9',
    500: '#8a7bde',
    950: '#000000',
  },
}
SCSS
$custom: #8a7bde;
$custom-light: #b0a1e9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7bde",
  "rgb": {
    "r": 138,
    "g": 123,
    "b": 222
  },
  "hsl": {
    "h": 249.091,
    "s": 60,
    "l": 67.647
  },
  "oklch": {
    "l": 0.64013,
    "c": 0.14501,
    "h": 288.6
  },
  "luminance": 0.24843
}

Semantic roles & 50–950 ramp

primary
#8A7BDE
secondary
#E5EACB
accent
#C81EAE
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110F16
muted
#807E84

Preview Lab

Preview with #8A7BDE

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

Preview Lab → · Contrast checker → · Palette generator →

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