#8D8AEE#8D8AEE

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

Color values

HEX#8D8AEE
RGBrgb(141, 138, 238)
HSLhsl(242, 75%, 74%)
HSVhsv(242, 42%, 93%)
CMYKcmyk(40.8%, 42%, 0%, 6.7%)
CIE-LABlab(61.66, 25.33, -50.10)
CIE-LCHlch(61.66, 56.14, 296.82°)
OKLaboklab(67.94% 0.0331 -0.1414)
OKLCHoklch(67.94% 0.145 283.2)
XYZxyz(35.5012, 30.0113, 84.7946)
Luminance0.3001 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8AEE #EBEE8A
analogous
#8AB9EE #8D8AEE #BF8AEE
triadic
#8D8AEE #EE8D8A #8AEE8D
tetradic
#8D8AEE #EE8AB9 #EBEE8A #8AEEBF
square
#8D8AEE #EE8AB9 #EBEE8A #8AEEBF
split-complementary
#8D8AEE #EEBF8A #B9EE8A
monochromatic
#2620DD #5955E6 #8D8AEE #C1BFF6 #E5E4FB

Accessibility & contrast

On white

3.00
#8D8AEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#8D8AEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8D8AEE
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8AEE#FFFFFF#000000##000000
##8D8AEE1.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6698F2
Deuteranopia (green-blind)
#6292EC
Tritanopia (blue-blind)
#709EB0
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8d8aee;
/* rgb */ color: rgb(141, 138, 238);
/* oklch */ color: oklch(67.9% 0.145 283.2);
Tailwind
colors: {
  custom: {
    50: '#b2acf4',
    500: '#8d8aee',
    950: '#000000',
  },
}
SCSS
$custom: #8d8aee;
$custom-light: #b2acf4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8aee",
  "rgb": {
    "r": 141,
    "g": 138,
    "b": 238
  },
  "hsl": {
    "h": 241.8,
    "s": 74.627,
    "l": 73.725
  },
  "oklch": {
    "l": 0.67936,
    "c": 0.14519,
    "h": 283.2
  },
  "luminance": 0.30013
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8D8AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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