#8A8FF9#8A8FF9

#8A8FF9 is a light, vivid blue. Relative luminance 0.319; OKLCH L 69.3% C 0.154 H 279.5°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#8A8FF9
RGBrgb(138, 143, 249)
HSLhsl(237, 90%, 76%)
HSVhsv(237, 45%, 98%)
CMYKcmyk(44.6%, 42.6%, 0%, 2.4%)
CIE-LABlab(63.25, 24.80, -53.66)
CIE-LCHlch(63.25, 59.11, 294.80°)
OKLaboklab(69.27% 0.0255 -0.1518)
OKLCHoklch(69.27% 0.154 279.5)
XYZxyz(37.3974, 31.8859, 93.7882)
Luminance0.3189 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8FF9 #F9F48A
analogous
#8AC6F9 #8A8FF9 #BC8AF9
triadic
#8A8FF9 #F98A8F #8FF98A
tetradic
#8A8FF9 #F98AC6 #F9F48A #8AF9BC
square
#8A8FF9 #F98AC6 #F9F48A #8AF9BC
split-complementary
#8A8FF9 #F9BC8A #C6F98A
monochromatic
#1620F3 #5057F6 #8A8FF9 #C4C7FC #E2E3FE

Accessibility & contrast

On white

2.85
#8A8FF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#8A8FF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A8FF9
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8FF9#FFFFFF#000000##000000
##8A8FF91.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#669DFD
Deuteranopia (green-blind)
#5F95F7
Tritanopia (blue-blind)
#64A5B8
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #8a8ff9;
/* rgb */ color: rgb(138, 143, 249);
/* oklch */ color: oklch(69.3% 0.154 279.5);
Tailwind
colors: {
  custom: {
    50: '#b1affc',
    500: '#8a8ff9',
    950: '#000000',
  },
}
SCSS
$custom: #8a8ff9;
$custom-light: #b1affc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8ff9",
  "rgb": {
    "r": 138,
    "g": 143,
    "b": 249
  },
  "hsl": {
    "h": 237.297,
    "s": 90.244,
    "l": 75.882
  },
  "oklch": {
    "l": 0.6927,
    "c": 0.15392,
    "h": 279.5
  },
  "luminance": 0.31888
}

Semantic roles & 50–950 ramp

primary
#8A8FF9
secondary
#F6F4D5
accent
#DB00E6
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #8A8FF9

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

Preview Lab → · Contrast checker → · Palette generator →

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