#834FB3#834FB3

#834FB3 is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.3% C 0.156 H 305.8°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#834FB3
RGBrgb(131, 79, 179)
HSLhsl(271, 40%, 51%)
HSVhsv(271, 56%, 70%)
CMYKcmyk(26.8%, 55.9%, 0%, 29.8%)
CIE-LABlab(43.76, 41.25, -45.06)
CIE-LCHlch(43.76, 61.09, 312.47°)
OKLaboklab(53.26% 0.0914 -0.1269)
OKLCHoklch(53.26% 0.156 305.8)
XYZxyz(20.2910, 13.6721, 44.2091)
Luminance0.1367 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#834FB3 #7FB34F
analogous
#514FB3 #834FB3 #B34FB1
triadic
#834FB3 #B3834F #4FB383
tetradic
#834FB3 #B3514F #7FB34F #4FB1B3
square
#834FB3 #B3514F #7FB34F #4FB1B3
split-complementary
#834FB3 #B1B34F #4FB351
monochromatic
#45295F #643B89 #834FB3 #A17AC5 #BFA4D8

Accessibility & contrast

On white

5.62
#834FB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#834FB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #834FB3
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##834FB3#FFFFFF#000000##FFFFFF
##834FB31.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B66B6
Deuteranopia (green-blind)
#3E68B1
Tritanopia (blue-blind)
#7B6279
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #834fb3;
/* rgb */ color: rgb(131, 79, 179);
/* oklch */ color: oklch(53.3% 0.156 305.8);
Tailwind
colors: {
  custom: {
    50: '#aa82ca',
    500: '#834fb3',
    950: '#000000',
  },
}
SCSS
$custom: #834fb3;
$custom-light: #aa82ca;
$custom-dark: #000000;
JSON
{
  "hex": "#834fb3",
  "rgb": {
    "r": 131,
    "g": 79,
    "b": 179
  },
  "hsl": {
    "h": 271.2,
    "s": 39.683,
    "l": 50.588
  },
  "oklch": {
    "l": 0.53256,
    "c": 0.1564,
    "h": 305.8
  },
  "luminance": 0.13672
}

Semantic roles & 50–950 ramp

primary
#834FB3
secondary
#AEC599
accent
#D05892
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#100B13
muted
#7F7C82

Preview Lab

Preview with #834FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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