#8B8EDE#8B8EDE

#8B8EDE is a light, moderate blue. Relative luminance 0.301; OKLCH L 67.7% C 0.117 H 281.1°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#8B8EDE
RGBrgb(139, 142, 222)
HSLhsl(238, 56%, 71%)
HSVhsv(238, 37%, 87%)
CMYKcmyk(37.4%, 36%, 0%, 12.9%)
CIE-LABlab(61.75, 18.08, -41.11)
CIE-LCHlch(61.75, 44.91, 293.74°)
OKLaboklab(67.71% 0.0227 -0.1152)
OKLCHoklch(67.71% 0.117 281.1)
XYZxyz(33.5015, 30.1077, 73.1393)
Luminance0.3011 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8EDE #DEDB8B
analogous
#8BB7DE #8B8EDE #B18BDE
triadic
#8B8EDE #DE8B8E #8EDE8B
tetradic
#8B8EDE #DE8BB7 #DEDB8B #8BDEB1
square
#8B8EDE #DE8BB7 #DEDB8B #8BDEB1
split-complementary
#8B8EDE #DEB18B #B7DE8B
monochromatic
#353ABA #5B60D0 #8B8EDE #BBBCEC #E7E8F8

Accessibility & contrast

On white

2.99
#8B8EDE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#8B8EDE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8B8EDE
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B8EDE#FFFFFF#000000##000000
##8B8EDE1.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7498E1
Deuteranopia (green-blind)
#7092DC
Tritanopia (blue-blind)
#739DAC
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8b8ede;
/* rgb */ color: rgb(139, 142, 222);
/* oklch */ color: oklch(67.7% 0.117 281.1);
Tailwind
colors: {
  custom: {
    50: '#b0afe8',
    500: '#8b8ede',
    950: '#000000',
  },
}
SCSS
$custom: #8b8ede;
$custom-light: #b0afe8;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8ede",
  "rgb": {
    "r": 139,
    "g": 142,
    "b": 222
  },
  "hsl": {
    "h": 237.831,
    "s": 55.705,
    "l": 70.784
  },
  "oklch": {
    "l": 0.67709,
    "c": 0.11742,
    "h": 281.1
  },
  "luminance": 0.30109
}

Semantic roles & 50–950 ramp

primary
#8B8EDE
secondary
#EEEDD7
accent
#BD22C3
background
#FBFAFE
surface
#F6F4FC
border
#D0CED5
text
#111016
muted
#807F84

Preview Lab

Preview with #8B8EDE

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

Preview Lab → · Contrast checker → · Palette generator →

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