#834BD2#834BD2

#834BD2 is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.8% C 0.198 H 298.7°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#834BD2
RGBrgb(131, 75, 210)
HSLhsl(265, 60%, 56%)
HSVhsv(265, 64%, 82%)
CMYKcmyk(37.6%, 64.3%, 0%, 17.6%)
CIE-LABlab(44.96, 51.10, -61.14)
CIE-LCHlch(44.96, 79.68, 309.89°)
OKLaboklab(54.77% 0.0953 -0.1741)
OKLCHoklch(54.77% 0.198 298.7)
XYZxyz(23.5061, 14.5103, 62.5226)
Luminance0.1451 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#834BD2 #9AD24B
analogous
#4B56D2 #834BD2 #C64BD2
triadic
#834BD2 #D2834B #4BD283
tetradic
#834BD2 #D24B56 #9AD24B #4BD2C6
square
#834BD2 #D24B56 #9AD24B #4BD2C6
split-complementary
#834BD2 #D2C64B #56D24B
monochromatic
#492182 #642DB3 #834BD2 #A57CDE #C6ADEA

Accessibility & contrast

On white

5.38
#834BD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#834BD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #834BD2
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##834BD2#FFFFFF#000000##FFFFFF
##834BD21.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #834bd2;
/* rgb */ color: rgb(131, 75, 210);
/* oklch */ color: oklch(54.8% 0.198 298.7);
Tailwind
colors: {
  custom: {
    50: '#ac80e1',
    500: '#834bd2',
    950: '#000000',
  },
}
SCSS
$custom: #834bd2;
$custom-light: #ac80e1;
$custom-dark: #000000;
JSON
{
  "hex": "#834bd2",
  "rgb": {
    "r": 131,
    "g": 75,
    "b": 210
  },
  "hsl": {
    "h": 264.889,
    "s": 60,
    "l": 55.882
  },
  "oklch": {
    "l": 0.54765,
    "c": 0.19849,
    "h": 298.7
  },
  "luminance": 0.14511
}

Semantic roles & 50–950 ramp

primary
#834BD2
secondary
#C1D8A0
accent
#E345A1
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #834BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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