#834AAA#834AAA

#834AAA is a mid, vivid violet. Relative luminance 0.126; OKLCH L 51.9% C 0.154 H 309.5°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#834AAA
RGBrgb(131, 74, 170)
HSLhsl(276, 39%, 48%)
HSVhsv(276, 56%, 67%)
CMYKcmyk(22.9%, 56.5%, 0%, 33.3%)
CIE-LABlab(42.19, 41.84, -42.25)
CIE-LCHlch(42.19, 59.47, 314.72°)
OKLaboklab(51.93% 0.0977 -0.1187)
OKLCHoklch(51.93% 0.154 309.5)
XYZxyz(19.0632, 12.6255, 39.4551)
Luminance0.1263 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#834AAA #71AA4A
analogous
#534AAA #834AAA #AA4AA1
triadic
#834AAA #AA834A #4AAA83
tetradic
#834AAA #AA534A #71AA4A #4AA1AA
square
#834AAA #AA534A #71AA4A #4AA1AA
split-complementary
#834AAA #A1AA4A #4AAA53
monochromatic
#412555 #62377F #834AAA #A070C1 #BC9BD3

Accessibility & contrast

On white

5.96
#834AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#834AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #834AAA
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##834AAA#FFFFFF#000000##FFFFFF
##834AAA1.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B61AD
Deuteranopia (green-blind)
#4064A8
Tritanopia (blue-blind)
#7E5B73
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #834aaa;
/* rgb */ color: rgb(131, 74, 170);
/* oklch */ color: oklch(51.9% 0.154 309.5);
Tailwind
colors: {
  custom: {
    50: '#aa7fc4',
    500: '#834aaa',
    950: '#000000',
  },
}
SCSS
$custom: #834aaa;
$custom-light: #aa7fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#834aaa",
  "rgb": {
    "r": 131,
    "g": 74,
    "b": 170
  },
  "hsl": {
    "h": 275.625,
    "s": 39.344,
    "l": 47.843
  },
  "oklch": {
    "l": 0.51935,
    "c": 0.15371,
    "h": 309.5
  },
  "luminance": 0.12625
}

Semantic roles & 50–950 ramp

primary
#834AAA
secondary
#A3C090
accent
#CF5989
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100A13
muted
#7F7C82

Preview Lab

Preview with #834AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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