#8A8EEE#8A8EEE

#8A8EEE is a light, vivid blue. Relative luminance 0.309; OKLCH L 68.5% C 0.140 H 280.2°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#8A8EEE
RGBrgb(138, 142, 238)
HSLhsl(238, 75%, 74%)
HSVhsv(238, 42%, 93%)
CMYKcmyk(42%, 40.3%, 0%, 6.7%)
CIE-LABlab(62.44, 22.25, -48.89)
CIE-LCHlch(62.44, 53.71, 294.47°)
OKLaboklab(68.47% 0.0248 -0.1379)
OKLCHoklch(68.47% 0.14 280.2)
XYZxyz(35.5823, 30.9207, 84.9658)
Luminance0.3092 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8EEE #EEEA8A
analogous
#8AC0EE #8A8EEE #B88AEE
triadic
#8A8EEE #EE8A8E #8EEE8A
tetradic
#8A8EEE #EE8AC0 #EEEA8A #8AEEB8
square
#8A8EEE #EE8AC0 #EEEA8A #8AEEB8
split-complementary
#8A8EEE #EEB88A #C0EE8A
monochromatic
#2028DD #555AE6 #8A8EEE #BFC2F6 #E4E5FB

Accessibility & contrast

On white

2.92
#8A8EEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#8A8EEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A8EEE
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8EEE#FFFFFF#000000##000000
##8A8EEE1.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9BF2
Deuteranopia (green-blind)
#6593EC
Tritanopia (blue-blind)
#6AA1B3
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8a8eee;
/* rgb */ color: rgb(138, 142, 238);
/* oklch */ color: oklch(68.5% 0.140 280.2);
Tailwind
colors: {
  custom: {
    50: '#b0aff4',
    500: '#8a8eee',
    950: '#000000',
  },
}
SCSS
$custom: #8a8eee;
$custom-light: #b0aff4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8eee",
  "rgb": {
    "r": 138,
    "g": 142,
    "b": 238
  },
  "hsl": {
    "h": 237.6,
    "s": 74.627,
    "l": 73.725
  },
  "oklch": {
    "l": 0.68472,
    "c": 0.14008,
    "h": 280.2
  },
  "luminance": 0.30922
}

Semantic roles & 50–950 ramp

primary
#8A8EEE
secondary
#F3F2D8
accent
#CF0FD7
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#111017
muted
#807F85

Preview Lab

Preview with #8A8EEE

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

Preview Lab → · Contrast checker → · Palette generator →

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