#8A77BF#8A77BF

#8A77BF is a mid, moderate violet. Relative luminance 0.224; OKLCH L 61.6% C 0.108 H 295.2°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#8A77BF
RGBrgb(138, 119, 191)
HSLhsl(256, 36%, 61%)
HSVhsv(256, 38%, 75%)
CMYKcmyk(27.7%, 37.7%, 0%, 25.1%)
CIE-LABlab(54.41, 23.09, -35.14)
CIE-LCHlch(54.41, 42.05, 303.31°)
OKLaboklab(61.6% 0.046 -0.0979)
OKLCHoklch(61.6% 0.108 295.2)
XYZxyz(26.4798, 22.3582, 52.2006)
Luminance0.2236 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A77BF #ACBF77
analogous
#7788BF #8A77BF #AE77BF
triadic
#8A77BF #BF8A77 #77BF8A
tetradic
#8A77BF #BF7788 #ACBF77 #77BFAE
square
#8A77BF #BF7788 #ACBF77 #77BFAE
split-complementary
#8A77BF #BFAE77 #88BF77
monochromatic
#4E3C80 #6750A9 #8A77BF #AEA1D3 #D2CAE6

Accessibility & contrast

On white

3.84
#8A77BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#8A77BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A77BF
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A77BF#FFFFFF#000000##000000
##8A77BF1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6483C2
Deuteranopia (green-blind)
#6681BD
Tritanopia (blue-blind)
#7F8392
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8a77bf;
/* rgb */ color: rgb(138, 119, 191);
/* oklch */ color: oklch(61.6% 0.108 295.2);
Tailwind
colors: {
  custom: {
    50: '#ae9ed2',
    500: '#8a77bf',
    950: '#000000',
  },
}
SCSS
$custom: #8a77bf;
$custom-light: #ae9ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a77bf",
  "rgb": {
    "r": 138,
    "g": 119,
    "b": 191
  },
  "hsl": {
    "h": 255.833,
    "s": 36,
    "l": 60.784
  },
  "oklch": {
    "l": 0.61604,
    "c": 0.10823,
    "h": 295.2
  },
  "luminance": 0.22359
}

Semantic roles & 50–950 ramp

primary
#8A77BF
secondary
#CFD7BB
accent
#AF378F
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #8A77BF

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

Preview Lab → · Contrast checker → · Palette generator →

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