#834BB5#834BB5

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

Color values

HEX#834BB5
RGBrgb(131, 75, 181)
HSLhsl(272, 42%, 50%)
HSVhsv(272, 59%, 71%)
CMYKcmyk(27.6%, 58.6%, 0%, 29%)
CIE-LABlab(43.05, 43.91, -47.37)
CIE-LCHlch(43.05, 64.59, 312.83°)
OKLaboklab(52.78% 0.0967 -0.1336)
OKLCHoklch(52.78% 0.165 305.9)
XYZxyz(20.2149, 13.1938, 45.1888)
Luminance0.1319 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#834BB5 #7DB54B
analogous
#4E4BB5 #834BB5 #B54BB2
triadic
#834BB5 #B5834B #4BB583
tetradic
#834BB5 #B54E4B #7DB54B #4BB2B5
square
#834BB5 #B54E4B #7DB54B #4BB2B5
split-complementary
#834BB5 #B2B54B #4BB54E
monochromatic
#44275F #64398A #834BB5 #A176C7 #BFA2D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##834BB5#FFFFFF#000000##FFFFFF
##834BB51.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)
#1F64B8
Deuteranopia (green-blind)
#3766B3
Tritanopia (blue-blind)
#7B6079
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #834bb5;
/* rgb */ color: rgb(131, 75, 181);
/* oklch */ color: oklch(52.8% 0.165 305.9);
Tailwind
colors: {
  custom: {
    50: '#aa80cc',
    500: '#834bb5',
    950: '#000000',
  },
}
SCSS
$custom: #834bb5;
$custom-light: #aa80cc;
$custom-dark: #000000;
JSON
{
  "hex": "#834bb5",
  "rgb": {
    "r": 131,
    "g": 75,
    "b": 181
  },
  "hsl": {
    "h": 271.698,
    "s": 41.732,
    "l": 50.196
  },
  "oklch": {
    "l": 0.52777,
    "c": 0.16494,
    "h": 305.9
  },
  "luminance": 0.13194
}

Semantic roles & 50–950 ramp

primary
#834BB5
secondary
#ADC696
accent
#D25690
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A13
muted
#7F7C82

Preview Lab

Preview with #834BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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