#8A8AED#8A8AED

#8A8AED is a light, vivid blue. Relative luminance 0.297; OKLCH L 67.7% C 0.144 H 281.8°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#8A8AED
RGBrgb(138, 138, 237)
HSLhsl(240, 73%, 74%)
HSVhsv(240, 42%, 93%)
CMYKcmyk(41.8%, 41.8%, 0%, 7.1%)
CIE-LABlab(61.39, 24.30, -50.00)
CIE-LCHlch(61.39, 55.59, 295.92°)
OKLaboklab(67.65% 0.0296 -0.1411)
OKLCHoklch(67.65% 0.144 281.8)
XYZxyz(34.8513, 29.6932, 83.9994)
Luminance0.2969 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8AED #EDED8A
analogous
#8ABBED #8A8AED #BB8AED
triadic
#8A8AED #ED8A8A #8AED8A
tetradic
#8A8AED #ED8ABB #EDED8A #8AEDBB
square
#8A8AED #ED8ABB #EDED8A #8AEDBB
split-complementary
#8A8AED #EDBB8A #BBED8A
monochromatic
#2222DB #5555E5 #8A8AED #BFBFF5 #E4E4FB

Accessibility & contrast

On white

3.03
#8A8AED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#8A8AED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8AED
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8AED#FFFFFF#000000##000000
##8A8AED1.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6698F1
Deuteranopia (green-blind)
#6191EB
Tritanopia (blue-blind)
#6B9EB0
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #8a8aed;
/* rgb */ color: rgb(138, 138, 237);
/* oklch */ color: oklch(67.7% 0.144 281.8);
Tailwind
colors: {
  custom: {
    50: '#b0acf3',
    500: '#8a8aed',
    950: '#000000',
  },
}
SCSS
$custom: #8a8aed;
$custom-light: #b0acf3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8aed",
  "rgb": {
    "r": 138,
    "g": 138,
    "b": 237
  },
  "hsl": {
    "h": 240,
    "s": 73.333,
    "l": 73.529
  },
  "oklch": {
    "l": 0.67654,
    "c": 0.1442,
    "h": 281.8
  },
  "luminance": 0.29695
}

Semantic roles & 50–950 ramp

primary
#8A8AED
secondary
#F3F3D8
accent
#D510D5
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#111017
muted
#807F85

Preview Lab

Preview with #8A8AED

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

Preview Lab → · Contrast checker → · Palette generator →

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