#8E77BF#8E77BF

#8E77BF is a mid, moderate violet. Relative luminance 0.227; OKLCH L 62.0% C 0.109 H 297.9°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#8E77BF
RGBrgb(142, 119, 191)
HSLhsl(259, 36%, 61%)
HSVhsv(259, 38%, 75%)
CMYKcmyk(25.7%, 37.7%, 0%, 25.1%)
CIE-LABlab(54.77, 24.27, -34.55)
CIE-LCHlch(54.77, 42.22, 305.09°)
OKLaboklab(61.97% 0.0508 -0.0961)
OKLCHoklch(61.97% 0.109 297.9)
XYZxyz(27.1540, 22.7058, 52.2322)
Luminance0.2271 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E77BF #A8BF77
analogous
#7784BF #8E77BF #B277BF
triadic
#8E77BF #BF8E77 #77BF8E
tetradic
#8E77BF #BF7784 #A8BF77 #77BFB2
square
#8E77BF #BF7784 #A8BF77 #77BFB2
split-complementary
#8E77BF #BFB277 #84BF77
monochromatic
#523C80 #6C50A9 #8E77BF #B1A1D3 #D3CAE6

Accessibility & contrast

On white

3.79
#8E77BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#8E77BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E77BF
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E77BF#FFFFFF#000000##000000
##8E77BF1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6483C2
Deuteranopia (green-blind)
#6882BD
Tritanopia (blue-blind)
#848392
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8e77bf;
/* rgb */ color: rgb(142, 119, 191);
/* oklch */ color: oklch(62.0% 0.109 297.9);
Tailwind
colors: {
  custom: {
    50: '#b09ed2',
    500: '#8e77bf',
    950: '#000000',
  },
}
SCSS
$custom: #8e77bf;
$custom-light: #b09ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#8e77bf",
  "rgb": {
    "r": 142,
    "g": 119,
    "b": 191
  },
  "hsl": {
    "h": 259.167,
    "s": 36,
    "l": 60.784
  },
  "oklch": {
    "l": 0.61967,
    "c": 0.10875,
    "h": 297.9
  },
  "luminance": 0.22706
}

Semantic roles & 50–950 ramp

primary
#8E77BF
secondary
#CED7BB
accent
#AF3788
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110E14
muted
#807E82

Preview Lab

Preview with #8E77BF

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

Preview Lab → · Contrast checker → · Palette generator →

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