#8A8AFF#8A8AFF

#8A8AFF is a light, vivid blue. Relative luminance 0.308; OKLCH L 68.7% C 0.169 H 281.0°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#8A8AFF
RGBrgb(138, 138, 255)
HSLhsl(240, 100%, 77%)
HSVhsv(240, 46%, 100%)
CMYKcmyk(45.9%, 45.9%, 0%, 0%)
CIE-LABlab(62.34, 29.43, -58.40)
CIE-LCHlch(62.34, 65.40, 296.75°)
OKLaboklab(68.68% 0.0322 -0.1657)
OKLCHoklch(68.68% 0.169 281)
XYZxyz(37.6143, 30.7984, 98.5511)
Luminance0.3080 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8AFF #FFFF8A
analogous
#8AC5FF #8A8AFF #C58AFF
triadic
#8A8AFF #FF8A8A #8AFF8A
tetradic
#8A8AFF #FF8AC5 #FFFF8A #8AFFC5
square
#8A8AFF #FF8AC5 #FFFF8A #8AFFC5
split-complementary
#8A8AFF #FFC58A #C5FF8A
monochromatic
#1010FF #4D4DFF #8A8AFF #C7C7FF #E0E0FF

Accessibility & contrast

On white

2.93
#8A8AFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#8A8AFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A8AFF
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8AFF#FFFFFF#000000##000000
##8A8AFF1.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A9BFF
Deuteranopia (green-blind)
#5292FC
Tritanopia (blue-blind)
#61A3B8
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8a8aff;
/* rgb */ color: rgb(138, 138, 255);
/* oklch */ color: oklch(68.7% 0.169 281.0);
Tailwind
colors: {
  custom: {
    50: '#b2acff',
    500: '#8a8aff',
    950: '#000000',
  },
}
SCSS
$custom: #8a8aff;
$custom-light: #b2acff;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8aff",
  "rgb": {
    "r": 138,
    "g": 138,
    "b": 255
  },
  "hsl": {
    "h": 240,
    "s": 100,
    "l": 77.059
  },
  "oklch": {
    "l": 0.68682,
    "c": 0.16881,
    "h": 281
  },
  "luminance": 0.308
}

Semantic roles & 50–950 ramp

primary
#8A8AFF
secondary
#F7F7D4
accent
#E600E5
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111018
muted
#807F86

Preview Lab

Preview with #8A8AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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