#8A7ADE#8A7ADE

#8A7ADE is a light, vivid blue. Relative luminance 0.246; OKLCH L 63.8% C 0.146 H 288.9°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#8A7ADE
RGBrgb(138, 122, 222)
HSLhsl(250, 60%, 67%)
HSVhsv(250, 45%, 87%)
CMYKcmyk(37.8%, 45%, 0%, 12.9%)
CIE-LABlab(56.68, 29.50, -49.12)
CIE-LCHlch(56.68, 57.29, 300.99°)
OKLaboklab(63.83% 0.0475 -0.1386)
OKLCHoklch(63.83% 0.146 288.9)
XYZxyz(30.6220, 24.5954, 72.2270)
Luminance0.2460 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7ADE #CEDE7A
analogous
#7A9CDE #8A7ADE #BC7ADE
triadic
#8A7ADE #DE8A7A #7ADE8A
tetradic
#8A7ADE #DE7A9C #CEDE7A #7ADEBC
square
#8A7ADE #DE7A9C #CEDE7A #7ADEBC
split-complementary
#8A7ADE #DEBC7A #9CDE7A
monochromatic
#412CB2 #5F49D2 #8A7ADE #B5ABEA #E0DCF6

Accessibility & contrast

On white

3.55
#8A7ADE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#8A7ADE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7ADE
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7ADE#FFFFFF#000000##000000
##8A7ADE1.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#568AE2
Deuteranopia (green-blind)
#5786DC
Tritanopia (blue-blind)
#748EA1
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8a7ade;
/* rgb */ color: rgb(138, 122, 222);
/* oklch */ color: oklch(63.8% 0.146 288.9);
Tailwind
colors: {
  custom: {
    50: '#b0a0e9',
    500: '#8a7ade',
    950: '#000000',
  },
}
SCSS
$custom: #8a7ade;
$custom-light: #b0a0e9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7ade",
  "rgb": {
    "r": 138,
    "g": 122,
    "b": 222
  },
  "hsl": {
    "h": 249.6,
    "s": 60.241,
    "l": 67.451
  },
  "oklch": {
    "l": 0.6383,
    "c": 0.14649,
    "h": 288.9
  },
  "luminance": 0.24596
}

Semantic roles & 50–950 ramp

primary
#8A7ADE
secondary
#E5EACA
accent
#C81EAD
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8A7ADE

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

Preview Lab → · Contrast checker → · Palette generator →

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