#834CAB#834CAB

#834CAB is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.3% C 0.152 H 308.8°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#834CAB
RGBrgb(131, 76, 171)
HSLhsl(275, 38%, 48%)
HSVhsv(275, 56%, 67%)
CMYKcmyk(23.4%, 55.6%, 0%, 32.9%)
CIE-LABlab(42.66, 40.99, -42.09)
CIE-LCHlch(42.66, 58.75, 314.24°)
OKLaboklab(52.3% 0.0951 -0.1182)
OKLCHoklch(52.3% 0.152 308.8)
XYZxyz(19.2938, 12.9347, 40.0004)
Luminance0.1293 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#834CAB #74AB4C
analogous
#534CAB #834CAB #AB4CA3
triadic
#834CAB #AB834C #4CAB83
tetradic
#834CAB #AB534C #74AB4C #4CA3AB
square
#834CAB #AB534C #74AB4C #4CA3AB
split-complementary
#834CAB #A3AB4C #4CAB53
monochromatic
#422656 #633981 #834CAB #A073C1 #BD9ED4

Accessibility & contrast

On white

5.85
#834CAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#834CAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #834CAB
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##834CAB#FFFFFF#000000##FFFFFF
##834CAB1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E62AE
Deuteranopia (green-blind)
#4165A9
Tritanopia (blue-blind)
#7D5D74
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #834cab;
/* rgb */ color: rgb(131, 76, 171);
/* oklch */ color: oklch(52.3% 0.152 308.8);
Tailwind
colors: {
  custom: {
    50: '#aa80c4',
    500: '#834cab',
    950: '#000000',
  },
}
SCSS
$custom: #834cab;
$custom-light: #aa80c4;
$custom-dark: #000000;
JSON
{
  "hex": "#834cab",
  "rgb": {
    "r": 131,
    "g": 76,
    "b": 171
  },
  "hsl": {
    "h": 274.737,
    "s": 38.462,
    "l": 48.431
  },
  "oklch": {
    "l": 0.523,
    "c": 0.15169,
    "h": 308.8
  },
  "luminance": 0.12934
}

Semantic roles & 50–950 ramp

primary
#834CAB
secondary
#A6C092
accent
#CE598B
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100A13
muted
#7F7C82

Preview Lab

Preview with #834CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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