#8A8AE1#8A8AE1

#8A8AE1 is a light, vivid blue. Relative luminance 0.290; OKLCH L 67.0% C 0.127 H 282.4°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#8A8AE1
RGBrgb(138, 138, 225)
HSLhsl(240, 59%, 71%)
HSVhsv(240, 39%, 88%)
CMYKcmyk(38.7%, 38.7%, 0%, 11.8%)
CIE-LABlab(60.80, 20.96, -44.28)
CIE-LCHlch(60.80, 48.99, 295.33°)
OKLaboklab(67.01% 0.0274 -0.1244)
OKLCHoklch(67.01% 0.127 282.4)
XYZxyz(33.1564, 29.0152, 75.0731)
Luminance0.2902 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8AE1 #E1E18A
analogous
#8AB5E1 #8A8AE1 #B58AE1
triadic
#8A8AE1 #E18A8A #8AE18A
tetradic
#8A8AE1 #E18AB5 #E1E18A #8AE1B5
square
#8A8AE1 #E18AB5 #E1E18A #8AE1B5
split-complementary
#8A8AE1 #E1B58A #B5E18A
monochromatic
#3131BF #5959D5 #8A8AE1 #BBBBED #E7E7F9

Accessibility & contrast

On white

3.09
#8A8AE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#8A8AE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8AE1
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8AE1#FFFFFF#000000##000000
##8A8AE11.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D96E4
Deuteranopia (green-blind)
#6990DF
Tritanopia (blue-blind)
#719BAB
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8a8ae1;
/* rgb */ color: rgb(138, 138, 225);
/* oklch */ color: oklch(67.0% 0.127 282.4);
Tailwind
colors: {
  custom: {
    50: '#afaceb',
    500: '#8a8ae1',
    950: '#000000',
  },
}
SCSS
$custom: #8a8ae1;
$custom-light: #afaceb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8ae1",
  "rgb": {
    "r": 138,
    "g": 138,
    "b": 225
  },
  "hsl": {
    "h": 240,
    "s": 59.184,
    "l": 71.176
  },
  "oklch": {
    "l": 0.67007,
    "c": 0.12743,
    "h": 282.4
  },
  "luminance": 0.29016
}

Semantic roles & 50–950 ramp

primary
#8A8AE1
secondary
#EFEFD8
accent
#C71FC7
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#111016
muted
#807F84

Preview Lab

Preview with #8A8AE1

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

Preview Lab → · Contrast checker → · Palette generator →

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