#8170AA#8170AA

#8170AA is a mid, moderate violet. Relative luminance 0.192; OKLCH L 58.4% C 0.089 H 297.0°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#8170AA
RGBrgb(129, 112, 170)
HSLhsl(258, 25%, 55%)
HSVhsv(258, 34%, 67%)
CMYKcmyk(24.1%, 34.1%, 0%, 33.3%)
CIE-LABlab(50.87, 19.23, -28.61)
CIE-LCHlch(50.87, 34.47, 303.91°)
OKLaboklab(58.4% 0.0405 -0.0793)
OKLCHoklch(58.4% 0.089 297)
XYZxyz(22.1015, 19.1576, 40.5558)
Luminance0.1916 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8170AA #99AA70
analogous
#707CAA #8170AA #9E70AA
triadic
#8170AA #AA8170 #70AA81
tetradic
#8170AA #AA707C #99AA70 #70AA9E
square
#8170AA #AA707C #99AA70 #70AA9E
split-complementary
#8170AA #AA9E70 #7CAA70
monochromatic
#473B64 #63528A #8170AA #A396C1 #C5BDD8

Accessibility & contrast

On white

4.35
#8170AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#8170AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8170AA
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8170AA#FFFFFF#000000##000000
##8170AA1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6279AC
Deuteranopia (green-blind)
#6479A8
Tritanopia (blue-blind)
#797A85
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8170aa;
/* rgb */ color: rgb(129, 112, 170);
/* oklch */ color: oklch(58.4% 0.089 297.0);
Tailwind
colors: {
  custom: {
    50: '#a699c3',
    500: '#8170aa',
    950: '#000000',
  },
}
SCSS
$custom: #8170aa;
$custom-light: #a699c3;
$custom-dark: #000000;
JSON
{
  "hex": "#8170aa",
  "rgb": {
    "r": 129,
    "g": 112,
    "b": 170
  },
  "hsl": {
    "h": 257.586,
    "s": 25.439,
    "l": 55.294
  },
  "oklch": {
    "l": 0.584,
    "c": 0.08899,
    "h": 297
  },
  "luminance": 0.19158
}

Semantic roles & 50–950 ramp

primary
#8170AA
secondary
#C0C7AF
accent
#C266A7
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#0F0E12
muted
#7F7E81

Preview Lab

Preview with #8170AA

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

Preview Lab → · Contrast checker → · Palette generator →

#8170AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva