#8A7AE1#8A7AE1

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

Color values

HEX#8A7AE1
RGBrgb(138, 122, 225)
HSLhsl(249, 63%, 68%)
HSVhsv(249, 46%, 88%)
CMYKcmyk(38.7%, 45.8%, 0%, 11.8%)
CIE-LABlab(56.84, 30.32, -50.55)
CIE-LCHlch(56.84, 58.94, 300.96°)
OKLaboklab(64% 0.0478 -0.1428)
OKLCHoklch(64% 0.151 288.5)
XYZxyz(31.0276, 24.7576, 74.3635)
Luminance0.2476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7AE1 #D1E17A
analogous
#7A9EE1 #8A7AE1 #BD7AE1
triadic
#8A7AE1 #E18A7A #7AE18A
tetradic
#8A7AE1 #E17A9E #D1E17A #7AE1BD
square
#8A7AE1 #E17A9E #D1E17A #7AE1BD
split-complementary
#8A7AE1 #E1BD7A #9EE17A
monochromatic
#3F29B7 #5E48D6 #8A7AE1 #B6ACEC #E2DEF8

Accessibility & contrast

On white

3.53
#8A7AE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#8A7AE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7AE1
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7AE1#FFFFFF#000000##000000
##8A7AE11.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#548BE5
Deuteranopia (green-blind)
#5486DF
Tritanopia (blue-blind)
#728EA3
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8a7ae1;
/* rgb */ color: rgb(138, 122, 225);
/* oklch */ color: oklch(64.0% 0.151 288.5);
Tailwind
colors: {
  custom: {
    50: '#b0a0eb',
    500: '#8a7ae1',
    950: '#000000',
  },
}
SCSS
$custom: #8a7ae1;
$custom-light: #b0a0eb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7ae1",
  "rgb": {
    "r": 138,
    "g": 122,
    "b": 225
  },
  "hsl": {
    "h": 249.32,
    "s": 63.19,
    "l": 68.039
  },
  "oklch": {
    "l": 0.64002,
    "c": 0.15058,
    "h": 288.5
  },
  "luminance": 0.24759
}

Semantic roles & 50–950 ramp

primary
#8A7AE1
secondary
#E6EBCC
accent
#CB1BB0
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8A7AE1

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

Preview Lab → · Contrast checker → · Palette generator →

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