#8E81BE#8E81BE

#8E81BE is a light, moderate violet. Relative luminance 0.252; OKLCH L 63.8% C 0.091 H 293.4°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#8E81BE
RGBrgb(142, 129, 190)
HSLhsl(253, 32%, 63%)
HSVhsv(253, 32%, 75%)
CMYKcmyk(25.3%, 32.1%, 0%, 25.5%)
CIE-LABlab(57.24, 18.18, -30.13)
CIE-LCHlch(57.24, 35.19, 301.11°)
OKLaboklab(63.84% 0.0362 -0.0835)
OKLCHoklch(63.84% 0.091 293.4)
XYZxyz(28.2976, 25.1686, 52.0724)
Luminance0.2517 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E81BE #B1BE81
analogous
#8192BE #8E81BE #AD81BE
triadic
#8E81BE #BE8E81 #81BE8E
tetradic
#8E81BE #BE8192 #B1BE81 #81BEAD
square
#8E81BE #BE8192 #B1BE81 #81BEAD
split-complementary
#8E81BE #BEAD81 #92BE81
monochromatic
#504382 #6A59A9 #8E81BE #B2A9D3 #D6D2E8

Accessibility & contrast

On white

3.48
#8E81BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#8E81BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E81BE
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E81BE#FFFFFF#000000##000000
##8E81BE1.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e81be;
/* rgb */ color: rgb(142, 129, 190);
/* oklch */ color: oklch(63.8% 0.091 293.4);
Tailwind
colors: {
  custom: {
    50: '#b0a5d2',
    500: '#8e81be',
    950: '#000000',
  },
}
SCSS
$custom: #8e81be;
$custom-light: #b0a5d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8e81be",
  "rgb": {
    "r": 142,
    "g": 129,
    "b": 190
  },
  "hsl": {
    "h": 252.787,
    "s": 31.937,
    "l": 62.549
  },
  "oklch": {
    "l": 0.63841,
    "c": 0.09096,
    "h": 293.4
  },
  "luminance": 0.25169
}

Semantic roles & 50–950 ramp

primary
#8E81BE
secondary
#D4D8C2
accent
#AB3B93
background
#FAFAFC
surface
#F5F4F9
border
#CFCED2
text
#100F14
muted
#7F7F82

Preview Lab

Preview with #8E81BE

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

Preview Lab → · Contrast checker → · Palette generator →

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