#834BA5#834BA5

#834BA5 is a mid, vivid violet. Relative luminance 0.126; OKLCH L 51.8% C 0.146 H 311.0°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#834BA5
RGBrgb(131, 75, 165)
HSLhsl(277, 38%, 47%)
HSVhsv(277, 55%, 65%)
CMYKcmyk(20.6%, 54.5%, 0%, 35.3%)
CIE-LABlab(42.11, 40.14, -39.41)
CIE-LCHlch(42.11, 56.25, 315.52°)
OKLaboklab(51.79% 0.0961 -0.1104)
OKLCHoklch(51.79% 0.146 311)
XYZxyz(18.6664, 12.5744, 37.0338)
Luminance0.1257 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#834BA5 #6DA54B
analogous
#564BA5 #834BA5 #A54B9A
triadic
#834BA5 #A5834B #4BA583
tetradic
#834BA5 #A5564B #6DA54B #4B9AA5
square
#834BA5 #A5564B #6DA54B #4B9AA5
split-complementary
#834BA5 #9AA54B #4BA556
monochromatic
#402551 #62387B #834BA5 #A06FBE #BC9AD1

Accessibility & contrast

On white

5.97
#834BA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#834BA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #834BA5
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##834BA5#FFFFFF#000000##FFFFFF
##834BA51.005.973.515.97
#FFFFFF5.971.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3261A8
Deuteranopia (green-blind)
#4464A3
Tritanopia (blue-blind)
#7F5A71
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #834ba5;
/* rgb */ color: rgb(131, 75, 165);
/* oklch */ color: oklch(51.8% 0.146 311.0);
Tailwind
colors: {
  custom: {
    50: '#a97fc0',
    500: '#834ba5',
    950: '#000000',
  },
}
SCSS
$custom: #834ba5;
$custom-light: #a97fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#834ba5",
  "rgb": {
    "r": 131,
    "g": 75,
    "b": 165
  },
  "hsl": {
    "h": 277.333,
    "s": 37.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.51785,
    "c": 0.14631,
    "h": 311
  },
  "luminance": 0.12574
}

Semantic roles & 50–950 ramp

primary
#834BA5
secondary
#A0BD8F
accent
#CD5A86
background
#FAF7FB
surface
#F4EEF7
border
#CEC9D0
text
#100A12
muted
#7F7C81

Preview Lab

Preview with #834BA5

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

Preview Lab → · Contrast checker → · Palette generator →

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