#834CA5#834CA5

#834CA5 is a mid, vivid violet. Relative luminance 0.127; OKLCH L 51.9% C 0.145 H 310.9°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#834CA5
RGBrgb(131, 76, 165)
HSLhsl(277, 37%, 47%)
HSVhsv(277, 54%, 65%)
CMYKcmyk(20.6%, 53.9%, 0%, 35.3%)
CIE-LABlab(42.32, 39.59, -39.08)
CIE-LCHlch(42.32, 55.62, 315.37°)
OKLaboklab(51.94% 0.0947 -0.1094)
OKLCHoklch(51.94% 0.145 310.9)
XYZxyz(18.7348, 12.7112, 37.0566)
Luminance0.1271 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#834CA5 #6EA54C
analogous
#574CA5 #834CA5 #A54C9A
triadic
#834CA5 #A5834C #4CA583
tetradic
#834CA5 #A5574C #6EA54C #4C9AA5
square
#834CA5 #A5574C #6EA54C #4C9AA5
split-complementary
#834CA5 #9AA54C #4CA557
monochromatic
#402551 #62397B #834CA5 #A071BD #BC9BD1

Accessibility & contrast

On white

5.93
#834CA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#834CA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #834CA5
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##834CA5#FFFFFF#000000##FFFFFF
##834CA51.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3361A8
Deuteranopia (green-blind)
#4565A3
Tritanopia (blue-blind)
#7F5B71
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #834ca5;
/* rgb */ color: rgb(131, 76, 165);
/* oklch */ color: oklch(51.9% 0.145 310.9);
Tailwind
colors: {
  custom: {
    50: '#a980c0',
    500: '#834ca5',
    950: '#000000',
  },
}
SCSS
$custom: #834ca5;
$custom-light: #a980c0;
$custom-dark: #000000;
JSON
{
  "hex": "#834ca5",
  "rgb": {
    "r": 131,
    "g": 76,
    "b": 165
  },
  "hsl": {
    "h": 277.079,
    "s": 36.929,
    "l": 47.255
  },
  "oklch": {
    "l": 0.5194,
    "c": 0.14467,
    "h": 310.9
  },
  "luminance": 0.12711
}

Semantic roles & 50–950 ramp

primary
#834CA5
secondary
#A1BD8F
accent
#CD5B86
background
#FAF7FB
surface
#F4EEF7
border
#CEC9D0
text
#100A12
muted
#7F7C81

Preview Lab

Preview with #834CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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