#8B8EE2#8B8EE2

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

Color values

HEX#8B8EE2
RGBrgb(139, 142, 226)
HSLhsl(238, 60%, 72%)
HSVhsv(238, 38%, 89%)
CMYKcmyk(38.5%, 37.2%, 0%, 11.4%)
CIE-LABlab(61.93, 19.17, -43.04)
CIE-LCHlch(61.93, 47.12, 294.01°)
OKLaboklab(67.91% 0.0236 -0.1208)
OKLCHoklch(67.91% 0.123 281)
XYZxyz(34.0440, 30.3246, 75.9962)
Luminance0.3033 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8EE2 #E2DF8B
analogous
#8BBAE2 #8B8EE2 #B48BE2
triadic
#8B8EE2 #E28B8E #8EE28B
tetradic
#8B8EE2 #E28BBA #E2DF8B #8BE2B4
square
#8B8EE2 #E28BBA #E2DF8B #8BE2B4
split-complementary
#8B8EE2 #E2B48B #BAE28B
monochromatic
#3136C2 #5A5ED6 #8B8EE2 #BCBEEE #E7E7F9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B8EE2#FFFFFF#000000##000000
##8B8EE21.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)
#7299E5
Deuteranopia (green-blind)
#6D93E0
Tritanopia (blue-blind)
#729EAD
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #8b8ee2;
/* rgb */ color: rgb(139, 142, 226);
/* oklch */ color: oklch(67.9% 0.123 281.0);
Tailwind
colors: {
  custom: {
    50: '#b0afeb',
    500: '#8b8ee2',
    950: '#000000',
  },
}
SCSS
$custom: #8b8ee2;
$custom-light: #b0afeb;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8ee2",
  "rgb": {
    "r": 139,
    "g": 142,
    "b": 226
  },
  "hsl": {
    "h": 237.931,
    "s": 60,
    "l": 71.569
  },
  "oklch": {
    "l": 0.67913,
    "c": 0.12308,
    "h": 281
  },
  "luminance": 0.30326
}

Semantic roles & 50–950 ramp

primary
#8B8EE2
secondary
#F0EFD9
accent
#C21EC8
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#111016
muted
#807F84

Preview Lab

Preview with #8B8EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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