#8A8CED#8A8CED

#8A8CED is a light, vivid blue. Relative luminance 0.303; OKLCH L 68.0% C 0.141 H 281.1°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#8A8CED
RGBrgb(138, 140, 237)
HSLhsl(239, 73%, 74%)
HSVhsv(239, 42%, 93%)
CMYKcmyk(41.8%, 40.9%, 0%, 7.1%)
CIE-LABlab(61.89, 23.14, -49.21)
CIE-LCHlch(61.89, 54.38, 295.18°)
OKLaboklab(68.04% 0.0271 -0.1388)
OKLCHoklch(68.04% 0.141 281.1)
XYZxyz(35.1409, 30.2723, 84.0959)
Luminance0.3027 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8CED #EDEB8A
analogous
#8ABDED #8A8CED #B98AED
triadic
#8A8CED #ED8A8C #8CED8A
tetradic
#8A8CED #ED8ABD #EDEB8A #8AEDB9
square
#8A8CED #ED8ABD #EDEB8A #8AEDB9
split-complementary
#8A8CED #EDB98A #BDED8A
monochromatic
#2225DB #5558E5 #8A8CED #BFC0F5 #E4E5FB

Accessibility & contrast

On white

2.98
#8A8CED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#8A8CED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A8CED
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8CED#FFFFFF#000000##000000
##8A8CED1.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6999F1
Deuteranopia (green-blind)
#6392EB
Tritanopia (blue-blind)
#6BA0B1
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8a8ced;
/* rgb */ color: rgb(138, 140, 237);
/* oklch */ color: oklch(68.0% 0.141 281.1);
Tailwind
colors: {
  custom: {
    50: '#b0adf3',
    500: '#8a8ced',
    950: '#000000',
  },
}
SCSS
$custom: #8a8ced;
$custom-light: #b0adf3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8ced",
  "rgb": {
    "r": 138,
    "g": 140,
    "b": 237
  },
  "hsl": {
    "h": 238.788,
    "s": 73.333,
    "l": 73.529
  },
  "oklch": {
    "l": 0.68035,
    "c": 0.14143,
    "h": 281.1
  },
  "luminance": 0.30274
}

Semantic roles & 50–950 ramp

primary
#8A8CED
secondary
#F3F2D8
accent
#D110D5
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#111017
muted
#807F85

Preview Lab

Preview with #8A8CED

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

Preview Lab → · Contrast checker → · Palette generator →

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