#8A8DEB#8A8DEB

#8A8DEB is a light, vivid blue. Relative luminance 0.305; OKLCH L 68.1% C 0.137 H 280.7°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#8A8DEB
RGBrgb(138, 141, 235)
HSLhsl(238, 71%, 73%)
HSVhsv(238, 41%, 92%)
CMYKcmyk(41.3%, 40%, 0%, 7.8%)
CIE-LABlab(62.04, 21.99, -47.86)
CIE-LCHlch(62.04, 52.67, 294.68°)
OKLaboklab(68.12% 0.0255 -0.1349)
OKLCHoklch(68.12% 0.137 280.7)
XYZxyz(34.9971, 30.4497, 82.6145)
Luminance0.3045 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8DEB #EBE88A
analogous
#8ABDEB #8A8DEB #B78AEB
triadic
#8A8DEB #EB8A8D #8DEB8A
tetradic
#8A8DEB #EB8ABD #EBE88A #8AEBB7
square
#8A8DEB #EB8ABD #EBE88A #8AEBB7
split-complementary
#8A8DEB #EBB78A #BDEB8A
monochromatic
#252AD6 #565AE2 #8A8DEB #BEC0F4 #E5E6FB

Accessibility & contrast

On white

2.96
#8A8DEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#8A8DEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A8DEB
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8DEB#FFFFFF#000000##000000
##8A8DEB1.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9AEF
Deuteranopia (green-blind)
#6693E9
Tritanopia (blue-blind)
#6CA0B1
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #8a8deb;
/* rgb */ color: rgb(138, 141, 235);
/* oklch */ color: oklch(68.1% 0.137 280.7);
Tailwind
colors: {
  custom: {
    50: '#b0aef2',
    500: '#8a8deb',
    950: '#000000',
  },
}
SCSS
$custom: #8a8deb;
$custom-light: #b0aef2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8deb",
  "rgb": {
    "r": 138,
    "g": 141,
    "b": 235
  },
  "hsl": {
    "h": 238.144,
    "s": 70.803,
    "l": 73.137
  },
  "oklch": {
    "l": 0.68118,
    "c": 0.13727,
    "h": 280.7
  },
  "luminance": 0.30451
}

Semantic roles & 50–950 ramp

primary
#8A8DEB
secondary
#F2F1D9
accent
#CD13D3
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#111017
muted
#807F85

Preview Lab

Preview with #8A8DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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