#834CB2#834CB2

#834CB2 is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.7% C 0.160 H 306.6°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#834CB2
RGBrgb(131, 76, 178)
HSLhsl(272, 40%, 50%)
HSVhsv(272, 57%, 70%)
CMYKcmyk(26.4%, 57.3%, 0%, 30.2%)
CIE-LABlab(43.08, 42.65, -45.57)
CIE-LCHlch(43.08, 62.41, 313.11°)
OKLaboklab(52.74% 0.0953 -0.1284)
OKLCHoklch(52.74% 0.16 306.6)
XYZxyz(19.9787, 13.2087, 43.6079)
Luminance0.1321 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#834CB2 #7BB24C
analogous
#504CB2 #834CB2 #B24CAE
triadic
#834CB2 #B2834C #4CB283
tetradic
#834CB2 #B2504C #7BB24C #4CAEB2
square
#834CB2 #B2504C #7BB24C #4CAEB2
split-complementary
#834CB2 #AEB24C #4CB250
monochromatic
#44275C #633A87 #834CB2 #A176C5 #BEA1D7

Accessibility & contrast

On white

5.77
#834CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#834CB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #834CB2
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##834CB2#FFFFFF#000000##FFFFFF
##834CB21.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2664B5
Deuteranopia (green-blind)
#3B66B0
Tritanopia (blue-blind)
#7C5F78
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #834cb2;
/* rgb */ color: rgb(131, 76, 178);
/* oklch */ color: oklch(52.7% 0.160 306.6);
Tailwind
colors: {
  custom: {
    50: '#aa80c9',
    500: '#834cb2',
    950: '#000000',
  },
}
SCSS
$custom: #834cb2;
$custom-light: #aa80c9;
$custom-dark: #000000;
JSON
{
  "hex": "#834cb2",
  "rgb": {
    "r": 131,
    "g": 76,
    "b": 178
  },
  "hsl": {
    "h": 272.353,
    "s": 40.157,
    "l": 49.804
  },
  "oklch": {
    "l": 0.52735,
    "c": 0.1599,
    "h": 306.6
  },
  "luminance": 0.13209
}

Semantic roles & 50–950 ramp

primary
#834CB2
secondary
#ABC496
accent
#D0588F
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100A13
muted
#7F7C82

Preview Lab

Preview with #834CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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