#834CA2#834CA2

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

Color values

HEX#834CA2
RGBrgb(131, 76, 162)
HSLhsl(278, 36%, 47%)
HSVhsv(278, 53%, 64%)
CMYKcmyk(19.1%, 53.1%, 0%, 36.5%)
CIE-LABlab(42.16, 38.90, -37.55)
CIE-LCHlch(42.16, 54.07, 316.01°)
OKLaboklab(51.76% 0.0944 -0.105)
OKLCHoklch(51.76% 0.141 312)
XYZxyz(18.4650, 12.6032, 35.6354)
Luminance0.1260 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#834CA2 #6BA24C
analogous
#584CA2 #834CA2 #A24C96
triadic
#834CA2 #A2834C #4CA283
tetradic
#834CA2 #A2584C #6BA24C #4C96A2
square
#834CA2 #A2584C #6BA24C #4C96A2
split-complementary
#834CA2 #96A24C #4CA258
monochromatic
#40254F #613878 #834CA2 #A070BC #BC99CF

Accessibility & contrast

On white

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

On black

3.52
#834CA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##834CA2#FFFFFF#000000##FFFFFF
##834CA21.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3661A5
Deuteranopia (green-blind)
#4765A0
Tritanopia (blue-blind)
#805A70
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #834ca2;
/* rgb */ color: rgb(131, 76, 162);
/* oklch */ color: oklch(51.8% 0.141 312.0);
Tailwind
colors: {
  custom: {
    50: '#a980be',
    500: '#834ca2',
    950: '#000000',
  },
}
SCSS
$custom: #834ca2;
$custom-light: #a980be;
$custom-dark: #000000;
JSON
{
  "hex": "#834ca2",
  "rgb": {
    "r": 131,
    "g": 76,
    "b": 162
  },
  "hsl": {
    "h": 278.372,
    "s": 36.134,
    "l": 46.667
  },
  "oklch": {
    "l": 0.51764,
    "c": 0.14117,
    "h": 312
  },
  "luminance": 0.12603
}

Semantic roles & 50–950 ramp

primary
#834CA2
secondary
#9FBC8E
accent
#CC5C84
background
#FAF7FB
surface
#F4EEF7
border
#CEC9D0
text
#100A12
muted
#7F7C81

Preview Lab

Preview with #834CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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