#8A8BE9#8A8BE9

#8A8BE9 is a light, vivid blue. Relative luminance 0.298; OKLCH L 67.6% C 0.137 H 281.6°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#8A8BE9
RGBrgb(138, 139, 233)
HSLhsl(239, 68%, 73%)
HSVhsv(239, 41%, 91%)
CMYKcmyk(40.8%, 40.3%, 0%, 8.6%)
CIE-LABlab(61.44, 22.60, -47.71)
CIE-LCHlch(61.44, 52.79, 295.35°)
OKLaboklab(67.63% 0.0276 -0.1344)
OKLCHoklch(67.63% 0.137 281.6)
XYZxyz(34.4176, 29.7503, 81.0039)
Luminance0.2975 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8BE9 #E9E88A
analogous
#8ABBE9 #8A8BE9 #B88AE9
triadic
#8A8BE9 #E98A8B #8BE98A
tetradic
#8A8BE9 #E98ABB #E9E88A #8AE9B8
square
#8A8BE9 #E98ABB #E9E88A #8AE9B8
split-complementary
#8A8BE9 #E9B88A #BBE98A
monochromatic
#2729D1 #5658DF #8A8BE9 #BEBEF3 #E5E5FA

Accessibility & contrast

On white

3.02
#8A8BE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#8A8BE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8BE9
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8BE9#FFFFFF#000000##000000
##8A8BE91.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A98ED
Deuteranopia (green-blind)
#6591E7
Tritanopia (blue-blind)
#6D9EAF
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #8a8be9;
/* rgb */ color: rgb(138, 139, 233);
/* oklch */ color: oklch(67.6% 0.137 281.6);
Tailwind
colors: {
  custom: {
    50: '#b0acf0',
    500: '#8a8be9',
    950: '#000000',
  },
}
SCSS
$custom: #8a8be9;
$custom-light: #b0acf0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8be9",
  "rgb": {
    "r": 138,
    "g": 139,
    "b": 233
  },
  "hsl": {
    "h": 239.368,
    "s": 68.345,
    "l": 72.745
  },
  "oklch": {
    "l": 0.67626,
    "c": 0.13724,
    "h": 281.6
  },
  "luminance": 0.29752
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A8BE9

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

Preview Lab → · Contrast checker → · Palette generator →

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