#8C8AEE#8C8AEE

#8C8AEE is a light, vivid blue. Relative luminance 0.299; OKLCH L 67.9% C 0.145 H 282.7°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#8C8AEE
RGBrgb(140, 138, 238)
HSLhsl(241, 75%, 74%)
HSVhsv(241, 42%, 93%)
CMYKcmyk(41.2%, 42%, 0%, 6.7%)
CIE-LABlab(61.59, 25.08, -50.23)
CIE-LCHlch(61.59, 56.14, 296.53°)
OKLaboklab(67.86% 0.032 -0.1417)
OKLCHoklch(67.86% 0.145 282.7)
XYZxyz(35.3318, 29.9240, 84.7866)
Luminance0.2993 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8AEE #ECEE8A
analogous
#8ABAEE #8C8AEE #BE8AEE
triadic
#8C8AEE #EE8C8A #8AEE8C
tetradic
#8C8AEE #EE8ABA #ECEE8A #8AEEBE
square
#8C8AEE #EE8ABA #ECEE8A #8AEEBE
split-complementary
#8C8AEE #EEBE8A #BAEE8A
monochromatic
#2420DD #5755E6 #8C8AEE #C1BFF6 #E5E4FB

Accessibility & contrast

On white

3.01
#8C8AEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#8C8AEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C8AEE
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C8AEE#FFFFFF#000000##000000
##8C8AEE1.003.016.996.99
#FFFFFF3.011.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6698F2
Deuteranopia (green-blind)
#6191EC
Tritanopia (blue-blind)
#6E9EB0
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8c8aee;
/* rgb */ color: rgb(140, 138, 238);
/* oklch */ color: oklch(67.9% 0.145 282.7);
Tailwind
colors: {
  custom: {
    50: '#b2acf4',
    500: '#8c8aee',
    950: '#000000',
  },
}
SCSS
$custom: #8c8aee;
$custom-light: #b2acf4;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8aee",
  "rgb": {
    "r": 140,
    "g": 138,
    "b": 238
  },
  "hsl": {
    "h": 241.2,
    "s": 74.627,
    "l": 73.725
  },
  "oklch": {
    "l": 0.6786,
    "c": 0.14531,
    "h": 282.7
  },
  "luminance": 0.29925
}

Semantic roles & 50–950 ramp

primary
#8C8AEE
secondary
#F2F3D8
accent
#D70FD3
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#111017
muted
#807F85

Preview Lab

Preview with #8C8AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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