#834C8A#834C8A

#834C8A is a mid, moderate purple. Relative luminance 0.118; OKLCH L 50.5% C 0.114 H 322.9°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#834C8A
RGBrgb(131, 76, 138)
HSLhsl(293, 29%, 42%)
HSVhsv(293, 45%, 54%)
CMYKcmyk(5.1%, 44.9%, 0%, 45.9%)
CIE-LABlab(40.94, 33.65, -25.02)
CIE-LCHlch(40.94, 41.94, 323.37°)
OKLaboklab(50.47% 0.0909 -0.0687)
OKLCHoklch(50.47% 0.114 322.9)
XYZxyz(16.5315, 11.8298, 25.4524)
Luminance0.1183 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#834C8A #538A4C
analogous
#644C8A #834C8A #8A4C72
triadic
#834C8A #8A834C #4C8A83
tetradic
#834C8A #8A644C #538A4C #4C728A
square
#834C8A #8A644C #538A4C #4C728A
split-complementary
#834C8A #728A4C #4C8A64
monochromatic
#38213B #5E3663 #834C8A #A468AC #BC8FC1

Accessibility & contrast

On white

6.24
#834C8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#834C8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #834C8A
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##834C8A#FFFFFF#000000##FFFFFF
##834C8A1.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445C8C
Deuteranopia (green-blind)
#546388
Tritanopia (blue-blind)
#855364
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #834c8a;
/* rgb */ color: rgb(131, 76, 138);
/* oklch */ color: oklch(50.5% 0.114 322.9);
Tailwind
colors: {
  custom: {
    50: '#a880ac',
    500: '#834c8a',
    950: '#000000',
  },
}
SCSS
$custom: #834c8a;
$custom-light: #a880ac;
$custom-dark: #000000;
JSON
{
  "hex": "#834c8a",
  "rgb": {
    "r": 131,
    "g": 76,
    "b": 138
  },
  "hsl": {
    "h": 293.226,
    "s": 28.972,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50465,
    "c": 0.11396,
    "h": 322.9
  },
  "luminance": 0.11829
}

Semantic roles & 50–950 ramp

primary
#834C8A
secondary
#89AE84
accent
#C5636E
background
#FAF7FA
surface
#F4EEF4
border
#CEC9CE
text
#100A10
muted
#7F7C7F

Preview Lab

Preview with #834C8A

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

Preview Lab → · Contrast checker → · Palette generator →

#834C8A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva