#8E81BD#8E81BD

#8E81BD is a light, moderate violet. Relative luminance 0.251; OKLCH L 63.8% C 0.090 H 293.6°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#8E81BD
RGBrgb(142, 129, 189)
HSLhsl(253, 31%, 62%)
HSVhsv(253, 32%, 74%)
CMYKcmyk(24.9%, 31.7%, 0%, 25.9%)
CIE-LABlab(57.20, 17.93, -29.63)
CIE-LCHlch(57.20, 34.63, 301.19°)
OKLaboklab(63.8% 0.0359 -0.082)
OKLCHoklch(63.8% 0.09 293.6)
XYZxyz(28.1887, 25.1251, 51.4988)
Luminance0.2512 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E81BD #B0BD81
analogous
#8192BD #8E81BD #AC81BD
triadic
#8E81BD #BD8E81 #81BD8E
tetradic
#8E81BD #BD8192 #B0BD81 #81BDAC
square
#8E81BD #BD8192 #B0BD81 #81BDAC
split-complementary
#8E81BD #BDAC81 #92BD81
monochromatic
#504380 #6A59A8 #8E81BD #B2A9D2 #D6D1E7

Accessibility & contrast

On white

3.49
#8E81BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#8E81BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E81BD
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E81BD#FFFFFF#000000##000000
##8E81BD1.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#728ABF
Deuteranopia (green-blind)
#7388BB
Tritanopia (blue-blind)
#848B97
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8e81bd;
/* rgb */ color: rgb(142, 129, 189);
/* oklch */ color: oklch(63.8% 0.090 293.6);
Tailwind
colors: {
  custom: {
    50: '#b0a5d1',
    500: '#8e81bd',
    950: '#000000',
  },
}
SCSS
$custom: #8e81bd;
$custom-light: #b0a5d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8e81bd",
  "rgb": {
    "r": 142,
    "g": 129,
    "b": 189
  },
  "hsl": {
    "h": 253,
    "s": 31.25,
    "l": 62.353
  },
  "oklch": {
    "l": 0.63795,
    "c": 0.08954,
    "h": 293.6
  },
  "luminance": 0.25125
}

Semantic roles & 50–950 ramp

primary
#8E81BD
secondary
#D3D8C2
accent
#AA3C92
background
#FAFAFC
surface
#F5F4F9
border
#CFCED2
text
#100F14
muted
#7F7F82

Preview Lab

Preview with #8E81BD

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

Preview Lab → · Contrast checker → · Palette generator →

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