#8A77BE#8A77BE

#8A77BE is a mid, moderate violet. Relative luminance 0.223; OKLCH L 61.6% C 0.107 H 295.4°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#8A77BE
RGBrgb(138, 119, 190)
HSLhsl(256, 35%, 61%)
HSVhsv(256, 37%, 75%)
CMYKcmyk(27.4%, 37.4%, 0%, 25.5%)
CIE-LABlab(54.36, 22.84, -34.64)
CIE-LCHlch(54.36, 41.49, 303.39°)
OKLaboklab(61.55% 0.0458 -0.0965)
OKLCHoklch(61.55% 0.107 295.4)
XYZxyz(26.3701, 22.3143, 51.6230)
Luminance0.2231 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A77BE #ABBE77
analogous
#7787BE #8A77BE #AD77BE
triadic
#8A77BE #BE8A77 #77BE8A
tetradic
#8A77BE #BE7787 #ABBE77 #77BEAD
square
#8A77BE #BE7787 #ABBE77 #77BEAD
split-complementary
#8A77BE #BEAD77 #87BE77
monochromatic
#4E3C7E #6850A8 #8A77BE #AEA0D2 #D1CAE6

Accessibility & contrast

On white

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

On black

5.46
#8A77BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A77BE
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A77BE#FFFFFF#000000##000000
##8A77BE1.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6483C1
Deuteranopia (green-blind)
#6781BC
Tritanopia (blue-blind)
#7F8391
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8a77be;
/* rgb */ color: rgb(138, 119, 190);
/* oklch */ color: oklch(61.6% 0.107 295.4);
Tailwind
colors: {
  custom: {
    50: '#ad9ed2',
    500: '#8a77be',
    950: '#000000',
  },
}
SCSS
$custom: #8a77be;
$custom-light: #ad9ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a77be",
  "rgb": {
    "r": 138,
    "g": 119,
    "b": 190
  },
  "hsl": {
    "h": 256.056,
    "s": 35.323,
    "l": 60.588
  },
  "oklch": {
    "l": 0.61554,
    "c": 0.10682,
    "h": 295.4
  },
  "luminance": 0.22315
}

Semantic roles & 50–950 ramp

primary
#8A77BE
secondary
#CFD6BB
accent
#AE378E
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #8A77BE

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

Preview Lab → · Contrast checker → · Palette generator →

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