#834EB3#834EB3

#834EB3 is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.1% C 0.158 H 305.9°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#834EB3
RGBrgb(131, 78, 179)
HSLhsl(271, 40%, 50%)
HSVhsv(271, 56%, 70%)
CMYKcmyk(26.8%, 56.4%, 0%, 29.8%)
CIE-LABlab(43.55, 41.80, -45.40)
CIE-LCHlch(43.55, 61.71, 312.64°)
OKLaboklab(53.1% 0.0927 -0.1279)
OKLCHoklch(53.1% 0.158 305.9)
XYZxyz(20.2194, 13.5289, 44.1852)
Luminance0.1353 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#834EB3 #7EB34E
analogous
#504EB3 #834EB3 #B34EB1
triadic
#834EB3 #B3834E #4EB383
tetradic
#834EB3 #B3504E #7EB34E #4EB1B3
square
#834EB3 #B3504E #7EB34E #4EB1B3
split-complementary
#834EB3 #B1B34E #4EB350
monochromatic
#45285E #643B89 #834EB3 #A179C5 #BFA4D8

Accessibility & contrast

On white

5.67
#834EB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#834EB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #834EB3
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##834EB3#FFFFFF#000000##FFFFFF
##834EB31.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2965B6
Deuteranopia (green-blind)
#3D67B1
Tritanopia (blue-blind)
#7B6179
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #834eb3;
/* rgb */ color: rgb(131, 78, 179);
/* oklch */ color: oklch(53.1% 0.158 305.9);
Tailwind
colors: {
  custom: {
    50: '#aa82ca',
    500: '#834eb3',
    950: '#000000',
  },
}
SCSS
$custom: #834eb3;
$custom-light: #aa82ca;
$custom-dark: #000000;
JSON
{
  "hex": "#834eb3",
  "rgb": {
    "r": 131,
    "g": 78,
    "b": 179
  },
  "hsl": {
    "h": 271.485,
    "s": 39.921,
    "l": 50.392
  },
  "oklch": {
    "l": 0.53102,
    "c": 0.15796,
    "h": 305.9
  },
  "luminance": 0.13529
}

Semantic roles & 50–950 ramp

primary
#834EB3
secondary
#ADC598
accent
#D05891
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#100A13
muted
#7F7C82

Preview Lab

Preview with #834EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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