#8A8AF8#8A8AF8

#8A8AF8 is a light, vivid blue. Relative luminance 0.304; OKLCH L 68.3% C 0.159 H 281.3°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#8A8AF8
RGBrgb(138, 138, 248)
HSLhsl(240, 89%, 76%)
HSVhsv(240, 44%, 97%)
CMYKcmyk(44.4%, 44.4%, 0%, 2.7%)
CIE-LABlab(61.96, 27.42, -55.16)
CIE-LCHlch(61.96, 61.60, 296.43°)
OKLaboklab(68.27% 0.0313 -0.1562)
OKLCHoklch(68.27% 0.159 281.3)
XYZxyz(36.5079, 30.3558, 92.7244)
Luminance0.3036 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8AF8 #F8F88A
analogous
#8AC1F8 #8A8AF8 #C18AF8
triadic
#8A8AF8 #F88A8A #8AF88A
tetradic
#8A8AF8 #F88AC1 #F8F88A #8AF8C1
square
#8A8AF8 #F88AC1 #F8F88A #8AF8C1
split-complementary
#8A8AF8 #F8C18A #C1F88A
monochromatic
#1717F1 #5050F5 #8A8AF8 #C4C4FB #E2E2FD

Accessibility & contrast

On white

2.97
#8A8AF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#8A8AF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A8AF8
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8AF8#FFFFFF#000000##000000
##8A8AF81.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9AFC
Deuteranopia (green-blind)
#5892F6
Tritanopia (blue-blind)
#66A1B5
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #8a8af8;
/* rgb */ color: rgb(138, 138, 248);
/* oklch */ color: oklch(68.3% 0.159 281.3);
Tailwind
colors: {
  custom: {
    50: '#b1acfb',
    500: '#8a8af8',
    950: '#000000',
  },
}
SCSS
$custom: #8a8af8;
$custom-light: #b1acfb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8af8",
  "rgb": {
    "r": 138,
    "g": 138,
    "b": 248
  },
  "hsl": {
    "h": 240,
    "s": 88.71,
    "l": 75.686
  },
  "oklch": {
    "l": 0.68274,
    "c": 0.15931,
    "h": 281.3
  },
  "luminance": 0.30358
}

Semantic roles & 50–950 ramp

primary
#8A8AF8
secondary
#F5F5D6
accent
#E500E5
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #8A8AF8

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

Preview Lab → · Contrast checker → · Palette generator →

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