#8A7AFF#8A7AFF

#8A7AFF is a light, vivid blue. Relative luminance 0.265; OKLCH L 65.8% C 0.190 H 285.4°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#8A7AFF
RGBrgb(138, 122, 255)
HSLhsl(247, 100%, 74%)
HSVhsv(247, 52%, 100%)
CMYKcmyk(45.9%, 52.2%, 0%, 0%)
CIE-LABlab(58.55, 38.71, -64.47)
CIE-LCHlch(58.55, 75.20, 300.98°)
OKLaboklab(65.83% 0.0505 -0.1836)
OKLCHoklch(65.83% 0.19 285.4)
XYZxyz(35.4855, 26.5408, 97.8415)
Luminance0.2654 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7AFF #EFFF7A
analogous
#7AADFF #8A7AFF #CD7AFF
triadic
#8A7AFF #FF8A7A #7AFF8A
tetradic
#8A7AFF #FF7AAD #EFFF7A #7AFFCD
square
#8A7AFF #FF7AAD #EFFF7A #7AFFCD
split-complementary
#8A7AFF #FFCD7A #ADFF7A
monochromatic
#1F00FF #543DFF #8A7AFF #C0B7FF #E4E0FF

Accessibility & contrast

On white

3.33
#8A7AFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#8A7AFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7AFF
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7AFF#FFFFFF#000000##000000
##8A7AFF1.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3791FF
Deuteranopia (green-blind)
#3389FC
Tritanopia (blue-blind)
#6397B1
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8a7aff;
/* rgb */ color: rgb(138, 122, 255);
/* oklch */ color: oklch(65.8% 0.190 285.4);
Tailwind
colors: {
  custom: {
    50: '#b3a1ff',
    500: '#8a7aff',
    950: '#000000',
  },
}
SCSS
$custom: #8a7aff;
$custom-light: #b3a1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7aff",
  "rgb": {
    "r": 138,
    "g": 122,
    "b": 255
  },
  "hsl": {
    "h": 247.218,
    "s": 100,
    "l": 73.922
  },
  "oklch": {
    "l": 0.65834,
    "c": 0.19043,
    "h": 285.4
  },
  "luminance": 0.26542
}

Semantic roles & 50–950 ramp

primary
#8A7AFF
secondary
#F3F7D4
accent
#E600CA
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120F18
muted
#817E86

Preview Lab

Preview with #8A7AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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