#8A8EED#8A8EED

#8A8EED is a light, vivid blue. Relative luminance 0.309; OKLCH L 68.4% C 0.139 H 280.2°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#8A8EED
RGBrgb(138, 142, 237)
HSLhsl(238, 73%, 74%)
HSVhsv(238, 42%, 93%)
CMYKcmyk(41.8%, 40.1%, 0%, 7.1%)
CIE-LABlab(62.39, 21.97, -48.41)
CIE-LCHlch(62.39, 53.17, 294.41°)
OKLaboklab(68.42% 0.0246 -0.1365)
OKLCHoklch(68.42% 0.139 280.2)
XYZxyz(35.4358, 30.8621, 84.1942)
Luminance0.3086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8EED #EDE98A
analogous
#8ABFED #8A8EED #B78AED
triadic
#8A8EED #ED8A8E #8EED8A
tetradic
#8A8EED #ED8ABF #EDE98A #8AEDB7
square
#8A8EED #ED8ABF #EDE98A #8AEDB7
split-complementary
#8A8EED #EDB78A #BFED8A
monochromatic
#2229DB #555BE5 #8A8EED #BFC1F5 #E4E5FB

Accessibility & contrast

On white

2.93
#8A8EED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#8A8EED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A8EED
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8EED#FFFFFF#000000##000000
##8A8EED1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9BF1
Deuteranopia (green-blind)
#6693EB
Tritanopia (blue-blind)
#6BA1B2
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8a8eed;
/* rgb */ color: rgb(138, 142, 237);
/* oklch */ color: oklch(68.4% 0.139 280.2);
Tailwind
colors: {
  custom: {
    50: '#b0aff3',
    500: '#8a8eed',
    950: '#000000',
  },
}
SCSS
$custom: #8a8eed;
$custom-light: #b0aff3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8eed",
  "rgb": {
    "r": 138,
    "g": 142,
    "b": 237
  },
  "hsl": {
    "h": 237.576,
    "s": 73.333,
    "l": 73.529
  },
  "oklch": {
    "l": 0.68418,
    "c": 0.13869,
    "h": 280.2
  },
  "luminance": 0.30864
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A8EED

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

Preview Lab → · Contrast checker → · Palette generator →

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