#8A8EDD#8A8EDD

#8A8EDD is a light, moderate blue. Relative luminance 0.300; OKLCH L 67.6% C 0.116 H 280.6°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#8A8EDD
RGBrgb(138, 142, 221)
HSLhsl(237, 55%, 70%)
HSVhsv(237, 38%, 87%)
CMYKcmyk(37.6%, 35.7%, 0%, 13.3%)
CIE-LABlab(61.63, 17.54, -40.75)
CIE-LCHlch(61.63, 44.36, 293.29°)
OKLaboklab(67.58% 0.0214 -0.1142)
OKLCHoklch(67.58% 0.116 280.6)
XYZxyz(33.2016, 29.9685, 72.4277)
Luminance0.2997 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8EDD #DDD98A
analogous
#8AB8DD #8A8EDD #AF8ADD
triadic
#8A8EDD #DD8A8E #8EDD8A
tetradic
#8A8EDD #DD8AB8 #DDD98A #8ADDAF
square
#8A8EDD #DD8AB8 #DDD98A #8ADDAF
split-complementary
#8A8EDD #DDAF8A #B8DD8A
monochromatic
#353CB7 #5B60CF #8A8EDD #B9BCEB #E7E8F8

Accessibility & contrast

On white

3.00
#8A8EDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#8A8EDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8EDD
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8EDD#FFFFFF#000000##000000
##8A8EDD1.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7498E0
Deuteranopia (green-blind)
#7092DB
Tritanopia (blue-blind)
#729DAB
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8a8edd;
/* rgb */ color: rgb(138, 142, 221);
/* oklch */ color: oklch(67.6% 0.116 280.6);
Tailwind
colors: {
  custom: {
    50: '#afafe8',
    500: '#8a8edd',
    950: '#000000',
  },
}
SCSS
$custom: #8a8edd;
$custom-light: #afafe8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8edd",
  "rgb": {
    "r": 138,
    "g": 142,
    "b": 221
  },
  "hsl": {
    "h": 237.108,
    "s": 54.967,
    "l": 70.392
  },
  "oklch": {
    "l": 0.67583,
    "c": 0.11616,
    "h": 280.6
  },
  "luminance": 0.2997
}

Semantic roles & 50–950 ramp

primary
#8A8EDD
secondary
#EDECD6
accent
#BB23C2
background
#FBFAFE
surface
#F6F4FC
border
#D0CED5
text
#111016
muted
#807F84

Preview Lab

Preview with #8A8EDD

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

Preview Lab → · Contrast checker → · Palette generator →

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