#834EB2#834EB2

#834EB2 is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.0% C 0.157 H 306.2°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#834EB2
RGBrgb(131, 78, 178)
HSLhsl(272, 39%, 50%)
HSVhsv(272, 56%, 70%)
CMYKcmyk(26.4%, 56.2%, 0%, 30.2%)
CIE-LABlab(43.49, 41.56, -44.91)
CIE-LCHlch(43.49, 61.19, 312.78°)
OKLaboklab(53.04% 0.0927 -0.1264)
OKLCHoklch(53.04% 0.157 306.2)
XYZxyz(20.1187, 13.4886, 43.6545)
Luminance0.1349 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#834EB2 #7DB24E
analogous
#514EB2 #834EB2 #B24EAF
triadic
#834EB2 #B2834E #4EB283
tetradic
#834EB2 #B2514E #7DB24E #4EAFB2
square
#834EB2 #B2514E #7DB24E #4EAFB2
split-complementary
#834EB2 #AFB24E #4EB251
monochromatic
#44295D #643B88 #834EB2 #A179C5 #BFA3D7

Accessibility & contrast

On white

5.68
#834EB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#834EB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #834EB2
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##834EB2#FFFFFF#000000##FFFFFF
##834EB21.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A65B5
Deuteranopia (green-blind)
#3E67B0
Tritanopia (blue-blind)
#7B6178
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #834eb2;
/* rgb */ color: rgb(131, 78, 178);
/* oklch */ color: oklch(53.0% 0.157 306.2);
Tailwind
colors: {
  custom: {
    50: '#aa82c9',
    500: '#834eb2',
    950: '#000000',
  },
}
SCSS
$custom: #834eb2;
$custom-light: #aa82c9;
$custom-dark: #000000;
JSON
{
  "hex": "#834eb2",
  "rgb": {
    "r": 131,
    "g": 78,
    "b": 178
  },
  "hsl": {
    "h": 271.8,
    "s": 39.37,
    "l": 50.196
  },
  "oklch": {
    "l": 0.53039,
    "c": 0.15678,
    "h": 306.2
  },
  "luminance": 0.13488
}

Semantic roles & 50–950 ramp

primary
#834EB2
secondary
#ADC498
accent
#CF5990
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#100A13
muted
#7F7C82

Preview Lab

Preview with #834EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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