#8178AA#8178AA

#8178AA is a mid, moderate violet. Relative luminance 0.210; OKLCH L 60.0% C 0.076 H 292.2°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#8178AA
RGBrgb(129, 120, 170)
HSLhsl(251, 23%, 57%)
HSVhsv(251, 29%, 67%)
CMYKcmyk(24.1%, 29.4%, 0%, 33.3%)
CIE-LABlab(52.95, 14.48, -25.38)
CIE-LCHlch(52.95, 29.22, 299.70°)
OKLaboklab(60% 0.0286 -0.0701)
OKLCHoklch(60% 0.076 292.2)
XYZxyz(23.0237, 21.0020, 40.8632)
Luminance0.2100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8178AA #A1AA78
analogous
#7888AA #8178AA #9A78AA
triadic
#8178AA #AA8178 #78AA81
tetradic
#8178AA #AA7888 #A1AA78 #78AA9A
square
#8178AA #AA7888 #A1AA78 #78AA9A
split-complementary
#8178AA #AA9A78 #88AA78
monochromatic
#484167 #62588C #8178AA #A49EC2 #C7C3D9

Accessibility & contrast

On white

4.04
#8178AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#8178AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8178AA
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8178AA#FFFFFF#000000##000000
##8178AA1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C7FAC
Deuteranopia (green-blind)
#6C7EA9
Tritanopia (blue-blind)
#78808A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8178aa;
/* rgb */ color: rgb(129, 120, 170);
/* oklch */ color: oklch(60.0% 0.076 292.2);
Tailwind
colors: {
  custom: {
    50: '#a69fc3',
    500: '#8178aa',
    950: '#000000',
  },
}
SCSS
$custom: #8178aa;
$custom-light: #a69fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#8178aa",
  "rgb": {
    "r": 129,
    "g": 120,
    "b": 170
  },
  "hsl": {
    "h": 250.8,
    "s": 22.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.59997,
    "c": 0.0757,
    "h": 292.2
  },
  "luminance": 0.21002
}

Semantic roles & 50–950 ramp

primary
#8178AA
secondary
#C5C9B5
accent
#BF69B0
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#0F0E12
muted
#7F7E81

Preview Lab

Preview with #8178AA

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

Preview Lab → · Contrast checker → · Palette generator →

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