#8A76BE#8A76BE

#8A76BE is a mid, moderate violet. Relative luminance 0.221; OKLCH L 61.4% C 0.108 H 295.8°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#8A76BE
RGBrgb(138, 118, 190)
HSLhsl(257, 36%, 60%)
HSVhsv(257, 38%, 75%)
CMYKcmyk(27.4%, 37.9%, 0%, 25.5%)
CIE-LABlab(54.11, 23.42, -35.03)
CIE-LCHlch(54.11, 42.14, 303.77°)
OKLaboklab(61.36% 0.0472 -0.0976)
OKLCHoklch(61.36% 0.108 295.8)
XYZxyz(26.2517, 22.0775, 51.5835)
Luminance0.2208 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A76BE #AABE76
analogous
#7686BE #8A76BE #AE76BE
triadic
#8A76BE #BE8A76 #76BE8A
tetradic
#8A76BE #BE7686 #AABE76 #76BEAE
square
#8A76BE #BE7686 #AABE76 #76BEAE
split-complementary
#8A76BE #BEAE76 #86BE76
monochromatic
#4E3C7E #684FA7 #8A76BE #ADA0D2 #D1C9E5

Accessibility & contrast

On white

3.88
#8A76BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#8A76BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A76BE
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A76BE#FFFFFF#000000##000000
##8A76BE1.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6382C1
Deuteranopia (green-blind)
#6680BC
Tritanopia (blue-blind)
#7F8291
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8a76be;
/* rgb */ color: rgb(138, 118, 190);
/* oklch */ color: oklch(61.4% 0.108 295.8);
Tailwind
colors: {
  custom: {
    50: '#ae9dd2',
    500: '#8a76be',
    950: '#000000',
  },
}
SCSS
$custom: #8a76be;
$custom-light: #ae9dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a76be",
  "rgb": {
    "r": 138,
    "g": 118,
    "b": 190
  },
  "hsl": {
    "h": 256.667,
    "s": 35.644,
    "l": 60.392
  },
  "oklch": {
    "l": 0.61363,
    "c": 0.10846,
    "h": 295.8
  },
  "luminance": 0.22078
}

Semantic roles & 50–950 ramp

primary
#8A76BE
secondary
#CED6BA
accent
#AF378D
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #8A76BE

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

Preview Lab → · Contrast checker → · Palette generator →

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