#8A7AED#8A7AED

#8A7AED is a light, vivid blue. Relative luminance 0.254; OKLCH L 64.7% C 0.167 H 287.2°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#8A7AED
RGBrgb(138, 122, 237)
HSLhsl(248, 76%, 70%)
HSVhsv(248, 49%, 93%)
CMYKcmyk(41.8%, 48.5%, 0%, 7.1%)
CIE-LABlab(57.50, 33.63, -56.19)
CIE-LCHlch(57.50, 65.49, 300.90°)
OKLaboklab(64.71% 0.0492 -0.1593)
OKLCHoklch(64.71% 0.167 287.2)
XYZxyz(32.7225, 25.4356, 83.2898)
Luminance0.2544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7AED #DDED7A
analogous
#7AA3ED #8A7AED #C47AED
triadic
#8A7AED #ED8A7A #7AED8A
tetradic
#8A7AED #ED7AA3 #DDED7A #7AEDC4
square
#8A7AED #ED7AA3 #DDED7A #7AEDC4
split-complementary
#8A7AED #EDC47A #A3ED7A
monochromatic
#351CD0 #5B44E6 #8A7AED #B9B0F4 #E7E4FB

Accessibility & contrast

On white

3.45
#8A7AED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#8A7AED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7AED
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7AED#FFFFFF#000000##000000
##8A7AED1.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B8DF1
Deuteranopia (green-blind)
#4A87EA
Tritanopia (blue-blind)
#6D92A8
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8a7aed;
/* rgb */ color: rgb(138, 122, 237);
/* oklch */ color: oklch(64.7% 0.167 287.2);
Tailwind
colors: {
  custom: {
    50: '#b1a0f3',
    500: '#8a7aed',
    950: '#000000',
  },
}
SCSS
$custom: #8a7aed;
$custom-light: #b1a0f3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7aed",
  "rgb": {
    "r": 138,
    "g": 122,
    "b": 237
  },
  "hsl": {
    "h": 248.348,
    "s": 76.159,
    "l": 70.392
  },
  "oklch": {
    "l": 0.64711,
    "c": 0.16673,
    "h": 287.2
  },
  "luminance": 0.25437
}

Semantic roles & 50–950 ramp

primary
#8A7AED
secondary
#EDF1D2
accent
#D80DBC
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110F17
muted
#807E85

Preview Lab

Preview with #8A7AED

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

Preview Lab → · Contrast checker → · Palette generator →

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