#8E77BA#8E77BA

#8E77BA is a mid, moderate violet. Relative luminance 0.225; OKLCH L 61.7% C 0.102 H 299.2°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#8E77BA
RGBrgb(142, 119, 186)
HSLhsl(261, 33%, 60%)
HSVhsv(261, 36%, 73%)
CMYKcmyk(23.7%, 36%, 0%, 27.1%)
CIE-LABlab(54.54, 23.04, -32.04)
CIE-LCHlch(54.54, 39.46, 305.73°)
OKLaboklab(61.72% 0.0497 -0.0889)
OKLCHoklch(61.72% 0.102 299.2)
XYZxyz(26.6131, 22.4895, 49.3837)
Luminance0.2249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E77BA #A3BA77
analogous
#7782BA #8E77BA #B077BA
triadic
#8E77BA #BA8E77 #77BA8E
tetradic
#8E77BA #BA7782 #A3BA77 #77BAB0
square
#8E77BA #BA7782 #A3BA77 #77BAB0
split-complementary
#8E77BA #BAB077 #82BA77
monochromatic
#523D79 #6D52A2 #8E77BA #B0A0CF #D1C8E3

Accessibility & contrast

On white

3.82
#8E77BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#8E77BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E77BA
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E77BA#FFFFFF#000000##000000
##8E77BA1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6782BD
Deuteranopia (green-blind)
#6B82B8
Tritanopia (blue-blind)
#868290
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8e77ba;
/* rgb */ color: rgb(142, 119, 186);
/* oklch */ color: oklch(61.7% 0.102 299.2);
Tailwind
colors: {
  custom: {
    50: '#b09ecf',
    500: '#8e77ba',
    950: '#000000',
  },
}
SCSS
$custom: #8e77ba;
$custom-light: #b09ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#8e77ba",
  "rgb": {
    "r": 142,
    "g": 119,
    "b": 186
  },
  "hsl": {
    "h": 260.597,
    "s": 32.683,
    "l": 59.804
  },
  "oklch": {
    "l": 0.61721,
    "c": 0.10185,
    "h": 299.2
  },
  "luminance": 0.2249
}

Semantic roles & 50–950 ramp

primary
#8E77BA
secondary
#CAD3B9
accent
#C95FA4
background
#FAF9FC
surface
#F5F2F9
border
#CFCCD2
text
#110E13
muted
#807E82

Preview Lab

Preview with #8E77BA

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

Preview Lab → · Contrast checker → · Palette generator →

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