#8A8DEC#8A8DEC

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

Color values

HEX#8A8DEC
RGBrgb(138, 141, 236)
HSLhsl(238, 72%, 73%)
HSVhsv(238, 42%, 93%)
CMYKcmyk(41.5%, 40.3%, 0%, 7.5%)
CIE-LABlab(62.09, 22.27, -48.34)
CIE-LCHlch(62.09, 53.22, 294.74°)
OKLaboklab(68.17% 0.0257 -0.1363)
OKLCHoklch(68.17% 0.139 280.7)
XYZxyz(35.1420, 30.5076, 83.3775)
Luminance0.3051 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8DEC #ECE98A
analogous
#8ABEEC #8A8DEC #B88AEC
triadic
#8A8DEC #EC8A8D #8DEC8A
tetradic
#8A8DEC #EC8ABE #ECE98A #8AECB8
square
#8A8DEC #EC8ABE #ECE98A #8AECB8
split-complementary
#8A8DEC #ECB88A #BEEC8A
monochromatic
#2329D8 #555AE3 #8A8DEC #BFC0F5 #E5E5FB

Accessibility & contrast

On white

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

On black

7.10
#8A8DEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A8DEC
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8DEC#FFFFFF#000000##000000
##8A8DEC1.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9AF0
Deuteranopia (green-blind)
#6593EA
Tritanopia (blue-blind)
#6CA0B1
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #8a8dec;
/* rgb */ color: rgb(138, 141, 236);
/* oklch */ color: oklch(68.2% 0.139 280.7);
Tailwind
colors: {
  custom: {
    50: '#b0aef2',
    500: '#8a8dec',
    950: '#000000',
  },
}
SCSS
$custom: #8a8dec;
$custom-light: #b0aef2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8dec",
  "rgb": {
    "r": 138,
    "g": 141,
    "b": 236
  },
  "hsl": {
    "h": 238.163,
    "s": 72.059,
    "l": 73.333
  },
  "oklch": {
    "l": 0.68172,
    "c": 0.13866,
    "h": 280.7
  },
  "luminance": 0.30509
}

Semantic roles & 50–950 ramp

primary
#8A8DEC
secondary
#F2F2D9
accent
#CE11D4
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#111017
muted
#807F85

Preview Lab

Preview with #8A8DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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