#834BB4#834BB4

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

Color values

HEX#834BB4
RGBrgb(131, 75, 180)
HSLhsl(272, 41%, 50%)
HSVhsv(272, 58%, 71%)
CMYKcmyk(27.2%, 58.3%, 0%, 29.4%)
CIE-LABlab(42.99, 43.67, -46.88)
CIE-LCHlch(42.99, 64.07, 312.97°)
OKLaboklab(52.71% 0.0967 -0.1322)
OKLCHoklch(52.71% 0.164 306.2)
XYZxyz(20.1126, 13.1529, 44.6504)
Luminance0.1315 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#834BB4 #7CB44B
analogous
#4F4BB4 #834BB4 #B44BB0
triadic
#834BB4 #B4834B #4BB483
tetradic
#834BB4 #B44F4B #7CB44B #4BB0B4
square
#834BB4 #B44F4B #7CB44B #4BB0B4
split-complementary
#834BB4 #B0B44B #4BB44F
monochromatic
#44275E #643989 #834BB4 #A176C6 #BFA1D8

Accessibility & contrast

On white

5.78
#834BB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#834BB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #834BB4
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##834BB4#FFFFFF#000000##FFFFFF
##834BB41.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2164B7
Deuteranopia (green-blind)
#3866B2
Tritanopia (blue-blind)
#7B5F78
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #834bb4;
/* rgb */ color: rgb(131, 75, 180);
/* oklch */ color: oklch(52.7% 0.164 306.2);
Tailwind
colors: {
  custom: {
    50: '#aa80cb',
    500: '#834bb4',
    950: '#000000',
  },
}
SCSS
$custom: #834bb4;
$custom-light: #aa80cb;
$custom-dark: #000000;
JSON
{
  "hex": "#834bb4",
  "rgb": {
    "r": 131,
    "g": 75,
    "b": 180
  },
  "hsl": {
    "h": 272,
    "s": 41.176,
    "l": 50
  },
  "oklch": {
    "l": 0.52713,
    "c": 0.16377,
    "h": 306.2
  },
  "luminance": 0.13153
}

Semantic roles & 50–950 ramp

primary
#834BB4
secondary
#ACC596
accent
#D15790
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100A13
muted
#7F7C82

Preview Lab

Preview with #834BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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