#8A8CE5#8A8CE5

#8A8CE5 is a light, vivid blue. Relative luminance 0.298; OKLCH L 67.6% C 0.130 H 281.3°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#8A8CE5
RGBrgb(138, 140, 229)
HSLhsl(239, 64%, 72%)
HSVhsv(239, 40%, 90%)
CMYKcmyk(39.7%, 38.9%, 0%, 10.2%)
CIE-LABlab(61.49, 20.90, -45.40)
CIE-LCHlch(61.49, 49.98, 294.72°)
OKLaboklab(67.61% 0.0256 -0.1277)
OKLCHoklch(67.61% 0.13 281.3)
XYZxyz(33.9981, 29.8152, 78.0771)
Luminance0.2982 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8CE5 #E5E38A
analogous
#8ABAE5 #8A8CE5 #B68AE5
triadic
#8A8CE5 #E58A8C #8CE58A
tetradic
#8A8CE5 #E58ABA #E5E38A #8AE5B6
square
#8A8CE5 #E58ABA #E5E38A #8AE5B6
split-complementary
#8A8CE5 #E5B68A #BAE58A
monochromatic
#2C30C8 #585BDA #8A8CE5 #BCBDF0 #E6E6F9

Accessibility & contrast

On white

3.02
#8A8CE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#8A8CE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8CE5
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8CE5#FFFFFF#000000##000000
##8A8CE51.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D98E8
Deuteranopia (green-blind)
#6991E3
Tritanopia (blue-blind)
#6F9EAE
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #8a8ce5;
/* rgb */ color: rgb(138, 140, 229);
/* oklch */ color: oklch(67.6% 0.130 281.3);
Tailwind
colors: {
  custom: {
    50: '#b0aded',
    500: '#8a8ce5',
    950: '#000000',
  },
}
SCSS
$custom: #8a8ce5;
$custom-light: #b0aded;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8ce5",
  "rgb": {
    "r": 138,
    "g": 140,
    "b": 229
  },
  "hsl": {
    "h": 238.681,
    "s": 63.636,
    "l": 71.961
  },
  "oklch": {
    "l": 0.67605,
    "c": 0.13025,
    "h": 281.3
  },
  "luminance": 0.29817
}

Semantic roles & 50–950 ramp

primary
#8A8CE5
secondary
#F1F0DA
accent
#C81ACB
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#111016
muted
#807F84

Preview Lab

Preview with #8A8CE5

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

Preview Lab → · Contrast checker → · Palette generator →

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