#8A8AEF#8A8AEF

#8A8AEF is a light, vivid blue. Relative luminance 0.298; OKLCH L 67.8% C 0.147 H 281.7°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#8A8AEF
RGBrgb(138, 138, 239)
HSLhsl(240, 76%, 74%)
HSVhsv(240, 42%, 94%)
CMYKcmyk(42.3%, 42.3%, 0%, 6.3%)
CIE-LABlab(61.49, 24.87, -50.94)
CIE-LCHlch(61.49, 56.69, 296.02°)
OKLaboklab(67.77% 0.0299 -0.1439)
OKLCHoklch(67.77% 0.147 281.7)
XYZxyz(35.1451, 29.8107, 85.5468)
Luminance0.2981 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8AEF #EFEF8A
analogous
#8ABDEF #8A8AEF #BD8AEF
triadic
#8A8AEF #EF8A8A #8AEF8A
tetradic
#8A8AEF #EF8ABD #EFEF8A #8AEFBD
square
#8A8AEF #EF8ABD #EFEF8A #8AEFBD
split-complementary
#8A8AEF #EFBD8A #BDEF8A
monochromatic
#1F1FE0 #5454E8 #8A8AEF #C0C0F6 #E4E4FB

Accessibility & contrast

On white

3.02
#8A8AEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#8A8AEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8AEF
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8AEF#FFFFFF#000000##000000
##8A8AEF1.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6598F3
Deuteranopia (green-blind)
#5F91ED
Tritanopia (blue-blind)
#6A9EB1
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #8a8aef;
/* rgb */ color: rgb(138, 138, 239);
/* oklch */ color: oklch(67.8% 0.147 281.7);
Tailwind
colors: {
  custom: {
    50: '#b0acf5',
    500: '#8a8aef',
    950: '#000000',
  },
}
SCSS
$custom: #8a8aef;
$custom-light: #b0acf5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8aef",
  "rgb": {
    "r": 138,
    "g": 138,
    "b": 239
  },
  "hsl": {
    "h": 240,
    "s": 75.94,
    "l": 73.922
  },
  "oklch": {
    "l": 0.67765,
    "c": 0.14696,
    "h": 281.7
  },
  "luminance": 0.29812
}

Semantic roles & 50–950 ramp

primary
#8A8AEF
secondary
#F3F3D8
accent
#D80DD8
background
#FBFAFF
surface
#F6F4FE
border
#D0CED6
text
#111017
muted
#807F85

Preview Lab

Preview with #8A8AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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