#8A8CEE#8A8CEE

#8A8CEE is a light, vivid blue. Relative luminance 0.303; OKLCH L 68.1% C 0.143 H 281.0°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#8A8CEE
RGBrgb(138, 140, 238)
HSLhsl(239, 75%, 74%)
HSVhsv(239, 42%, 93%)
CMYKcmyk(42%, 41.2%, 0%, 6.7%)
CIE-LABlab(61.94, 23.42, -49.68)
CIE-LCHlch(61.94, 54.92, 295.24°)
OKLaboklab(68.09% 0.0273 -0.1402)
OKLCHoklch(68.09% 0.143 281)
XYZxyz(35.2874, 30.3309, 84.8675)
Luminance0.3033 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8CEE #EEEC8A
analogous
#8ABEEE #8A8CEE #BA8AEE
triadic
#8A8CEE #EE8A8C #8CEE8A
tetradic
#8A8CEE #EE8ABE #EEEC8A #8AEEBA
square
#8A8CEE #EE8ABE #EEEC8A #8AEEBA
split-complementary
#8A8CEE #EEBA8A #BEEE8A
monochromatic
#2024DD #5557E6 #8A8CEE #BFC1F6 #E4E5FB

Accessibility & contrast

On white

2.97
#8A8CEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#8A8CEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A8CEE
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8CEE#FFFFFF#000000##000000
##8A8CEE1.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6899F2
Deuteranopia (green-blind)
#6392EC
Tritanopia (blue-blind)
#6BA0B1
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #8a8cee;
/* rgb */ color: rgb(138, 140, 238);
/* oklch */ color: oklch(68.1% 0.143 281.0);
Tailwind
colors: {
  custom: {
    50: '#b0adf4',
    500: '#8a8cee',
    950: '#000000',
  },
}
SCSS
$custom: #8a8cee;
$custom-light: #b0adf4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8cee",
  "rgb": {
    "r": 138,
    "g": 140,
    "b": 238
  },
  "hsl": {
    "h": 238.8,
    "s": 74.627,
    "l": 73.725
  },
  "oklch": {
    "l": 0.68089,
    "c": 0.14282,
    "h": 281
  },
  "luminance": 0.30332
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A8CEE

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

Preview Lab → · Contrast checker → · Palette generator →

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