#8A8DE9#8A8DE9

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

Color values

HEX#8A8DE9
RGBrgb(138, 141, 233)
HSLhsl(238, 68%, 73%)
HSVhsv(238, 41%, 91%)
CMYKcmyk(40.8%, 39.5%, 0%, 8.6%)
CIE-LABlab(61.94, 21.43, -46.91)
CIE-LCHlch(61.94, 51.58, 294.55°)
OKLaboklab(68.01% 0.0251 -0.1321)
OKLCHoklch(68.01% 0.134 280.8)
XYZxyz(34.7098, 30.3348, 81.1013)
Luminance0.3034 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8DE9 #E9E68A
analogous
#8ABDE9 #8A8DE9 #B68AE9
triadic
#8A8DE9 #E98A8D #8DE98A
tetradic
#8A8DE9 #E98ABD #E9E68A #8AE9B6
square
#8A8DE9 #E98ABD #E9E68A #8AE9B6
split-complementary
#8A8DE9 #E9B68A #BDE98A
monochromatic
#272DD1 #565BDF #8A8DE9 #BEBFF3 #E5E6FA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A8DE9#FFFFFF#000000##000000
##8A8DE91.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)
#6D99ED
Deuteranopia (green-blind)
#6792E7
Tritanopia (blue-blind)
#6D9FB0
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #8a8de9;
/* rgb */ color: rgb(138, 141, 233);
/* oklch */ color: oklch(68.0% 0.134 280.8);
Tailwind
colors: {
  custom: {
    50: '#b0aef0',
    500: '#8a8de9',
    950: '#000000',
  },
}
SCSS
$custom: #8a8de9;
$custom-light: #b0aef0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8de9",
  "rgb": {
    "r": 138,
    "g": 141,
    "b": 233
  },
  "hsl": {
    "h": 238.105,
    "s": 68.345,
    "l": 72.745
  },
  "oklch": {
    "l": 0.68011,
    "c": 0.13447,
    "h": 280.8
  },
  "luminance": 0.30336
}

Semantic roles & 50–950 ramp

primary
#8A8DE9
secondary
#F2F1D9
accent
#CA15D0
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#111016
muted
#807F84

Preview Lab

Preview with #8A8DE9

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

Preview Lab → · Contrast checker → · Palette generator →

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