#8A8CEA#8A8CEA

#8A8CEA is a light, vivid blue. Relative luminance 0.301; OKLCH L 67.9% C 0.137 H 281.2°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#8A8CEA
RGBrgb(138, 140, 234)
HSLhsl(239, 70%, 73%)
HSVhsv(239, 41%, 92%)
CMYKcmyk(41%, 40.2%, 0%, 8.2%)
CIE-LABlab(61.74, 22.29, -47.79)
CIE-LCHlch(61.74, 52.73, 295.01°)
OKLaboklab(67.87% 0.0266 -0.1346)
OKLCHoklch(67.87% 0.137 281.2)
XYZxyz(34.7063, 30.0985, 81.8069)
Luminance0.3010 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8CEA #EAE88A
analogous
#8ABCEA #8A8CEA #B88AEA
triadic
#8A8CEA #EA8A8C #8CEA8A
tetradic
#8A8CEA #EA8ABC #EAE88A #8AEAB8
square
#8A8CEA #EA8ABC #EAE88A #8AEAB8
split-complementary
#8A8CEA #EAB88A #BCEA8A
monochromatic
#262AD4 #5659E1 #8A8CEA #BEBFF3 #E5E6FA

Accessibility & contrast

On white

2.99
#8A8CEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#8A8CEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A8CEA
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8CEA#FFFFFF#000000##000000
##8A8CEA1.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B99EE
Deuteranopia (green-blind)
#6592E8
Tritanopia (blue-blind)
#6D9FB0
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8a8cea;
/* rgb */ color: rgb(138, 140, 234);
/* oklch */ color: oklch(67.9% 0.137 281.2);
Tailwind
colors: {
  custom: {
    50: '#b0adf1',
    500: '#8a8cea',
    950: '#000000',
  },
}
SCSS
$custom: #8a8cea;
$custom-light: #b0adf1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8cea",
  "rgb": {
    "r": 138,
    "g": 140,
    "b": 234
  },
  "hsl": {
    "h": 238.75,
    "s": 69.565,
    "l": 72.941
  },
  "oklch": {
    "l": 0.67872,
    "c": 0.13725,
    "h": 281.2
  },
  "luminance": 0.301
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A8CEA

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

Preview Lab → · Contrast checker → · Palette generator →

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