#8A7BDD#8A7BDD

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

Color values

HEX#8A7BDD
RGBrgb(138, 123, 221)
HSLhsl(249, 59%, 67%)
HSVhsv(249, 44%, 87%)
CMYKcmyk(37.6%, 44.3%, 0%, 13.3%)
CIE-LABlab(56.87, 28.64, -48.25)
CIE-LCHlch(56.87, 56.11, 300.69°)
OKLaboklab(63.96% 0.046 -0.1361)
OKLCHoklch(63.96% 0.144 288.7)
XYZxyz(30.6118, 24.7887, 71.5644)
Luminance0.2479 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7BDD #CEDD7B
analogous
#7B9DDD #8A7BDD #BB7BDD
triadic
#8A7BDD #DD8A7B #7BDD8A
tetradic
#8A7BDD #DD7B9D #CEDD7B #7BDDBB
square
#8A7BDD #DD7B9D #CEDD7B #7BDDBB
split-complementary
#8A7BDD #DDBB7B #9DDD7B
monochromatic
#412DB0 #5F4AD0 #8A7BDD #B5ACEA #E0DCF6

Accessibility & contrast

On white

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

On black

5.96
#8A7BDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7BDD
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7BDD#FFFFFF#000000##000000
##8A7BDD1.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#598BE1
Deuteranopia (green-blind)
#5986DB
Tritanopia (blue-blind)
#748EA1
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8a7bdd;
/* rgb */ color: rgb(138, 123, 221);
/* oklch */ color: oklch(64.0% 0.144 288.7);
Tailwind
colors: {
  custom: {
    50: '#afa1e8',
    500: '#8a7bdd',
    950: '#000000',
  },
}
SCSS
$custom: #8a7bdd;
$custom-light: #afa1e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7bdd",
  "rgb": {
    "r": 138,
    "g": 123,
    "b": 221
  },
  "hsl": {
    "h": 249.184,
    "s": 59.036,
    "l": 67.451
  },
  "oklch": {
    "l": 0.63956,
    "c": 0.14364,
    "h": 288.7
  },
  "luminance": 0.2479
}

Semantic roles & 50–950 ramp

primary
#8A7BDD
secondary
#E5E9CB
accent
#C71FAD
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#110F16
muted
#807E84

Preview Lab

Preview with #8A7BDD

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

Preview Lab → · Contrast checker → · Palette generator →

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