#8A8EEB#8A8EEB

#8A8EEB is a light, vivid blue. Relative luminance 0.307; OKLCH L 68.3% C 0.136 H 280.3°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#8A8EEB
RGBrgb(138, 142, 235)
HSLhsl(238, 71%, 73%)
HSVhsv(238, 41%, 92%)
CMYKcmyk(41.3%, 39.6%, 0%, 7.8%)
CIE-LABlab(62.29, 21.41, -47.46)
CIE-LCHlch(62.29, 52.07, 294.28°)
OKLaboklab(68.31% 0.0243 -0.1337)
OKLCHoklch(68.31% 0.136 280.3)
XYZxyz(35.1452, 30.7459, 82.6639)
Luminance0.3075 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8EEB #EBE78A
analogous
#8ABEEB #8A8EEB #B68AEB
triadic
#8A8EEB #EB8A8E #8EEB8A
tetradic
#8A8EEB #EB8ABE #EBE78A #8AEBB6
square
#8A8EEB #EB8ABE #EBE78A #8AEBB6
split-complementary
#8A8EEB #EBB68A #BEEB8A
monochromatic
#252CD6 #565CE2 #8A8EEB #BEC0F4 #E5E6FB

Accessibility & contrast

On white

2.94
#8A8EEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#8A8EEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A8EEB
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8EEB#FFFFFF#000000##000000
##8A8EEB1.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9AEF
Deuteranopia (green-blind)
#6793E9
Tritanopia (blue-blind)
#6CA1B1
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8a8eeb;
/* rgb */ color: rgb(138, 142, 235);
/* oklch */ color: oklch(68.3% 0.136 280.3);
Tailwind
colors: {
  custom: {
    50: '#b0aff2',
    500: '#8a8eeb',
    950: '#000000',
  },
}
SCSS
$custom: #8a8eeb;
$custom-light: #b0aff2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8eeb",
  "rgb": {
    "r": 138,
    "g": 142,
    "b": 235
  },
  "hsl": {
    "h": 237.526,
    "s": 70.803,
    "l": 73.137
  },
  "oklch": {
    "l": 0.68311,
    "c": 0.13589,
    "h": 280.3
  },
  "luminance": 0.30747
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A8EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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