#834AD2#834AD2

#834AD2 is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.6% C 0.200 H 298.9°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#834AD2
RGBrgb(131, 74, 210)
HSLhsl(265, 60%, 56%)
HSVhsv(265, 65%, 82%)
CMYKcmyk(37.6%, 64.8%, 0%, 17.6%)
CIE-LABlab(44.77, 51.62, -61.44)
CIE-LCHlch(44.77, 80.25, 310.03°)
OKLaboklab(54.63% 0.0964 -0.175)
OKLCHoklch(54.63% 0.2 298.9)
XYZxyz(23.4388, 14.3757, 62.5002)
Luminance0.1438 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#834AD2 #99D24A
analogous
#4A55D2 #834AD2 #C74AD2
triadic
#834AD2 #D2834A #4AD283
tetradic
#834AD2 #D24A55 #99D24A #4AD2C7
square
#834AD2 #D24A55 #99D24A #4AD2C7
split-complementary
#834AD2 #D2C74A #55D24A
monochromatic
#492081 #652CB2 #834AD2 #A57BDE #C6ACEA

Accessibility & contrast

On white

5.42
#834AD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#834AD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #834AD2
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##834AD2#FFFFFF#000000##FFFFFF
##834AD21.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD6
Deuteranopia (green-blind)
#0069CF
Tritanopia (blue-blind)
#716988
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #834ad2;
/* rgb */ color: rgb(131, 74, 210);
/* oklch */ color: oklch(54.6% 0.200 298.9);
Tailwind
colors: {
  custom: {
    50: '#ac80e1',
    500: '#834ad2',
    950: '#000000',
  },
}
SCSS
$custom: #834ad2;
$custom-light: #ac80e1;
$custom-dark: #000000;
JSON
{
  "hex": "#834ad2",
  "rgb": {
    "r": 131,
    "g": 74,
    "b": 210
  },
  "hsl": {
    "h": 265.147,
    "s": 60.177,
    "l": 55.686
  },
  "oklch": {
    "l": 0.54629,
    "c": 0.19981,
    "h": 298.9
  },
  "luminance": 0.14376
}

Semantic roles & 50–950 ramp

primary
#834AD2
secondary
#C0D8A0
accent
#E344A1
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #834AD2

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

Preview Lab → · Contrast checker → · Palette generator →

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