#8A8EE3#8A8EE3

#8A8EE3 is a light, vivid blue. Relative luminance 0.303; OKLCH L 67.9% C 0.125 H 280.5°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#8A8EE3
RGBrgb(138, 142, 227)
HSLhsl(237, 61%, 72%)
HSVhsv(237, 39%, 89%)
CMYKcmyk(39.2%, 37.4%, 0%, 11%)
CIE-LABlab(61.91, 19.18, -43.64)
CIE-LCHlch(61.91, 47.67, 293.73°)
OKLaboklab(67.89% 0.0227 -0.1226)
OKLCHoklch(67.89% 0.125 280.5)
XYZxyz(34.0153, 30.2940, 76.7132)
Luminance0.3029 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8EE3 #E3DF8A
analogous
#8ABBE3 #8A8EE3 #B38AE3
triadic
#8A8EE3 #E38A8E #8EE38A
tetradic
#8A8EE3 #E38ABB #E3DF8A #8AE3B3
square
#8A8EE3 #E38ABB #E3DF8A #8AE3B3
split-complementary
#8A8EE3 #E3B38A #BBE38A
monochromatic
#2F36C4 #595ED7 #8A8EE3 #BBBEEF #E6E7F9

Accessibility & contrast

On white

2.97
#8A8EE3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#8A8EE3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A8EE3
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8EE3#FFFFFF#000000##000000
##8A8EE31.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7199E6
Deuteranopia (green-blind)
#6C92E1
Tritanopia (blue-blind)
#709FAE
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #8a8ee3;
/* rgb */ color: rgb(138, 142, 227);
/* oklch */ color: oklch(67.9% 0.125 280.5);
Tailwind
colors: {
  custom: {
    50: '#afafec',
    500: '#8a8ee3',
    950: '#000000',
  },
}
SCSS
$custom: #8a8ee3;
$custom-light: #afafec;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8ee3",
  "rgb": {
    "r": 138,
    "g": 142,
    "b": 227
  },
  "hsl": {
    "h": 237.303,
    "s": 61.379,
    "l": 71.569
  },
  "oklch": {
    "l": 0.6789,
    "c": 0.12466,
    "h": 280.5
  },
  "luminance": 0.30295
}

Semantic roles & 50–950 ramp

primary
#8A8EE3
secondary
#F0EFD9
accent
#C11CC9
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#111016
muted
#807F84

Preview Lab

Preview with #8A8EE3

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

Preview Lab → · Contrast checker → · Palette generator →

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