#834AA2#834AA2

#834AA2 is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.5% C 0.144 H 312.3°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#834AA2
RGBrgb(131, 74, 162)
HSLhsl(279, 37%, 46%)
HSVhsv(279, 54%, 64%)
CMYKcmyk(19.1%, 54.3%, 0%, 36.5%)
CIE-LABlab(41.74, 40.00, -38.22)
CIE-LCHlch(41.74, 55.32, 316.30°)
OKLaboklab(51.45% 0.0972 -0.1069)
OKLCHoklch(51.45% 0.144 312.3)
XYZxyz(18.3293, 12.3319, 35.5901)
Luminance0.1233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#834AA2 #69A24A
analogous
#574AA2 #834AA2 #A24A95
triadic
#834AA2 #A2834A #4AA283
tetradic
#834AA2 #A2574A #69A24A #4A95A2
square
#834AA2 #A2574A #69A24A #4A95A2
split-complementary
#834AA2 #95A24A #4AA257
monochromatic
#3F244E #613778 #834AA2 #A06DBC #BC97CF

Accessibility & contrast

On white

6.06
#834AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#834AA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #834AA2
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##834AA2#FFFFFF#000000##FFFFFF
##834AA21.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335FA5
Deuteranopia (green-blind)
#4564A0
Tritanopia (blue-blind)
#80596F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #834aa2;
/* rgb */ color: rgb(131, 74, 162);
/* oklch */ color: oklch(51.5% 0.144 312.3);
Tailwind
colors: {
  custom: {
    50: '#a97fbe',
    500: '#834aa2',
    950: '#000000',
  },
}
SCSS
$custom: #834aa2;
$custom-light: #a97fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#834aa2",
  "rgb": {
    "r": 131,
    "g": 74,
    "b": 162
  },
  "hsl": {
    "h": 278.864,
    "s": 37.288,
    "l": 46.275
  },
  "oklch": {
    "l": 0.51454,
    "c": 0.14448,
    "h": 312.3
  },
  "luminance": 0.12331
}

Semantic roles & 50–950 ramp

primary
#834AA2
secondary
#9DBC8C
accent
#CD5B83
background
#FAF7FB
surface
#F4EEF7
border
#CEC9D0
text
#100A12
muted
#7F7C81

Preview Lab

Preview with #834AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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