#8A8DDE#8A8DDE

#8A8DDE is a light, moderate blue. Relative luminance 0.297; OKLCH L 67.4% C 0.119 H 281.1°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#8A8DDE
RGBrgb(138, 141, 222)
HSLhsl(238, 56%, 71%)
HSVhsv(238, 38%, 87%)
CMYKcmyk(37.8%, 36.5%, 0%, 12.9%)
CIE-LABlab(61.42, 18.39, -41.63)
CIE-LCHlch(61.42, 45.52, 293.83°)
OKLaboklab(67.44% 0.0229 -0.1167)
OKLCHoklch(67.44% 0.119 281.1)
XYZxyz(33.1872, 29.7257, 73.0821)
Luminance0.2973 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8DDE #DEDB8A
analogous
#8AB7DE #8A8DDE #B18ADE
triadic
#8A8DDE #DE8A8D #8DDE8A
tetradic
#8A8DDE #DE8AB7 #DEDB8A #8ADEB1
square
#8A8DDE #DE8AB7 #DEDB8A #8ADEB1
split-complementary
#8A8DDE #DEB18A #B7DE8A
monochromatic
#3439B9 #5A5ED1 #8A8DDE #BABCEB #E7E8F8

Accessibility & contrast

On white

3.02
#8A8DDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#8A8DDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8DDE
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8DDE#FFFFFF#000000##000000
##8A8DDE1.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7297E1
Deuteranopia (green-blind)
#6E91DC
Tritanopia (blue-blind)
#729DAB
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #8a8dde;
/* rgb */ color: rgb(138, 141, 222);
/* oklch */ color: oklch(67.4% 0.119 281.1);
Tailwind
colors: {
  custom: {
    50: '#afaee8',
    500: '#8a8dde',
    950: '#000000',
  },
}
SCSS
$custom: #8a8dde;
$custom-light: #afaee8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8dde",
  "rgb": {
    "r": 138,
    "g": 141,
    "b": 222
  },
  "hsl": {
    "h": 237.857,
    "s": 56,
    "l": 70.588
  },
  "oklch": {
    "l": 0.67437,
    "c": 0.11897,
    "h": 281.1
  },
  "luminance": 0.29727
}

Semantic roles & 50–950 ramp

primary
#8A8DDE
secondary
#EDECD6
accent
#BE22C4
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#111016
muted
#807F84

Preview Lab

Preview with #8A8DDE

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

Preview Lab → · Contrast checker → · Palette generator →

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