#8A8CE0#8A8CE0

#8A8CE0 is a light, vivid blue. Relative luminance 0.295; OKLCH L 67.3% C 0.123 H 281.5°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#8A8CE0
RGBrgb(138, 140, 224)
HSLhsl(239, 58%, 71%)
HSVhsv(239, 38%, 88%)
CMYKcmyk(38.4%, 37.5%, 0%, 12.2%)
CIE-LABlab(61.26, 19.52, -43.00)
CIE-LCHlch(61.26, 47.22, 294.42°)
OKLaboklab(67.34% 0.0246 -0.1207)
OKLCHoklch(67.34% 0.123 281.5)
XYZxyz(33.3100, 29.5400, 74.4533)
Luminance0.2954 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8CE0 #E0DE8A
analogous
#8AB7E0 #8A8CE0 #B38AE0
triadic
#8A8CE0 #E08A8C #8CE08A
tetradic
#8A8CE0 #E08AB7 #E0DE8A #8AE0B3
square
#8A8CE0 #E08AB7 #E0DE8A #8AE0B3
split-complementary
#8A8CE0 #E0B38A #B7E08A
monochromatic
#3235BD #5A5CD3 #8A8CE0 #BABCED #E7E7F9

Accessibility & contrast

On white

3.04
#8A8CE0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#8A8CE0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8CE0
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8CE0#FFFFFF#000000##000000
##8A8CE01.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7097E3
Deuteranopia (green-blind)
#6C91DE
Tritanopia (blue-blind)
#719CAB
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #8a8ce0;
/* rgb */ color: rgb(138, 140, 224);
/* oklch */ color: oklch(67.3% 0.123 281.5);
Tailwind
colors: {
  custom: {
    50: '#afadea',
    500: '#8a8ce0',
    950: '#000000',
  },
}
SCSS
$custom: #8a8ce0;
$custom-light: #afadea;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8ce0",
  "rgb": {
    "r": 138,
    "g": 140,
    "b": 224
  },
  "hsl": {
    "h": 238.605,
    "s": 58.108,
    "l": 70.98
  },
  "oklch": {
    "l": 0.67344,
    "c": 0.1232,
    "h": 281.5
  },
  "luminance": 0.29541
}

Semantic roles & 50–950 ramp

primary
#8A8CE0
secondary
#EEEED7
accent
#C220C6
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#111016
muted
#807F84

Preview Lab

Preview with #8A8CE0

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

Preview Lab → · Contrast checker → · Palette generator →

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