#8A8FF8#8A8FF8

#8A8FF8 is a light, vivid blue. Relative luminance 0.318; OKLCH L 69.2% C 0.153 H 279.6°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#8A8FF8
RGBrgb(138, 143, 248)
HSLhsl(237, 89%, 76%)
HSVhsv(237, 44%, 97%)
CMYKcmyk(44.4%, 42.3%, 0%, 2.7%)
CIE-LABlab(63.20, 24.51, -53.19)
CIE-LCHlch(63.20, 58.57, 294.74°)
OKLaboklab(69.21% 0.0253 -0.1504)
OKLCHoklch(69.21% 0.153 279.6)
XYZxyz(37.2419, 31.8237, 92.9690)
Luminance0.3183 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8FF8 #F8F38A
analogous
#8AC6F8 #8A8FF8 #BC8AF8
triadic
#8A8FF8 #F88A8F #8FF88A
tetradic
#8A8FF8 #F88AC6 #F8F38A #8AF8BC
square
#8A8FF8 #F88AC6 #F8F38A #8AF8BC
split-complementary
#8A8FF8 #F8BC8A #C6F88A
monochromatic
#1720F1 #5058F5 #8A8FF8 #C4C6FB #E2E3FD

Accessibility & contrast

On white

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

On black

7.37
#8A8FF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A8FF8
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8FF8#FFFFFF#000000##000000
##8A8FF81.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#679DFC
Deuteranopia (green-blind)
#6095F6
Tritanopia (blue-blind)
#65A5B7
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #8a8ff8;
/* rgb */ color: rgb(138, 143, 248);
/* oklch */ color: oklch(69.2% 0.153 279.6);
Tailwind
colors: {
  custom: {
    50: '#b1affb',
    500: '#8a8ff8',
    950: '#000000',
  },
}
SCSS
$custom: #8a8ff8;
$custom-light: #b1affb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8ff8",
  "rgb": {
    "r": 138,
    "g": 143,
    "b": 248
  },
  "hsl": {
    "h": 237.273,
    "s": 88.71,
    "l": 75.686
  },
  "oklch": {
    "l": 0.69214,
    "c": 0.15255,
    "h": 279.6
  },
  "luminance": 0.31826
}

Semantic roles & 50–950 ramp

primary
#8A8FF8
secondary
#F5F4D6
accent
#DB00E5
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #8A8FF8

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

Preview Lab → · Contrast checker → · Palette generator →

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