#8A7AE4#8A7AE4

#8A7AE4 is a light, vivid blue. Relative luminance 0.249; OKLCH L 64.2% C 0.155 H 288.2°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#8A7AE4
RGBrgb(138, 122, 228)
HSLhsl(249, 66%, 69%)
HSVhsv(249, 46%, 89%)
CMYKcmyk(39.5%, 46.5%, 0%, 10.6%)
CIE-LABlab(57.00, 31.14, -51.97)
CIE-LCHlch(57.00, 60.58, 300.93°)
OKLaboklab(64.18% 0.0482 -0.1469)
OKLCHoklch(64.18% 0.155 288.2)
XYZxyz(31.4405, 24.9228, 76.5378)
Luminance0.2492 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7AE4 #D4E47A
analogous
#7A9FE4 #8A7AE4 #BF7AE4
triadic
#8A7AE4 #E48A7A #7AE48A
tetradic
#8A7AE4 #E47A9F #D4E47A #7AE4BF
square
#8A7AE4 #E47A9F #D4E47A #7AE4BF
split-complementary
#8A7AE4 #E4BF7A #9FE47A
monochromatic
#3D26BD #5D47DA #8A7AE4 #B7ADEE #E4E0F9

Accessibility & contrast

On white

3.51
#8A7AE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#8A7AE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7AE4
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7AE4#FFFFFF#000000##000000
##8A7AE41.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#528BE8
Deuteranopia (green-blind)
#5286E2
Tritanopia (blue-blind)
#718FA4
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8a7ae4;
/* rgb */ color: rgb(138, 122, 228);
/* oklch */ color: oklch(64.2% 0.155 288.2);
Tailwind
colors: {
  custom: {
    50: '#b0a0ed',
    500: '#8a7ae4',
    950: '#000000',
  },
}
SCSS
$custom: #8a7ae4;
$custom-light: #b0a0ed;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7ae4",
  "rgb": {
    "r": 138,
    "g": 122,
    "b": 228
  },
  "hsl": {
    "h": 249.057,
    "s": 66.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.64176,
    "c": 0.15464,
    "h": 288.2
  },
  "luminance": 0.24924
}

Semantic roles & 50–950 ramp

primary
#8A7AE4
secondary
#E8EDCD
accent
#CE17B3
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8A7AE4

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

Preview Lab → · Contrast checker → · Palette generator →

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