#834FB2#834FB2

#834FB2 is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.2% C 0.155 H 306.1°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#834FB2
RGBrgb(131, 79, 178)
HSLhsl(272, 39%, 50%)
HSVhsv(272, 56%, 70%)
CMYKcmyk(26.4%, 55.6%, 0%, 30.2%)
CIE-LABlab(43.70, 41.01, -44.57)
CIE-LCHlch(43.70, 60.56, 312.61°)
OKLaboklab(53.19% 0.0914 -0.1255)
OKLCHoklch(53.19% 0.155 306.1)
XYZxyz(20.1902, 13.6318, 43.6784)
Luminance0.1363 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#834FB2 #7EB24F
analogous
#514FB2 #834FB2 #B24FAF
triadic
#834FB2 #B2834F #4FB283
tetradic
#834FB2 #B2514F #7EB24F #4FAFB2
square
#834FB2 #B2514F #7EB24F #4FAFB2
split-complementary
#834FB2 #AFB24F #4FB251
monochromatic
#45295E #643C88 #834FB2 #A17AC5 #BFA4D7

Accessibility & contrast

On white

5.64
#834FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #834FB2
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##834FB2#FFFFFF#000000##FFFFFF
##834FB21.005.643.735.64
#FFFFFF5.641.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C66B5
Deuteranopia (green-blind)
#3F68B0
Tritanopia (blue-blind)
#7B6179
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #834fb2;
/* rgb */ color: rgb(131, 79, 178);
/* oklch */ color: oklch(53.2% 0.155 306.1);
Tailwind
colors: {
  custom: {
    50: '#aa82c9',
    500: '#834fb2',
    950: '#000000',
  },
}
SCSS
$custom: #834fb2;
$custom-light: #aa82c9;
$custom-dark: #000000;
JSON
{
  "hex": "#834fb2",
  "rgb": {
    "r": 131,
    "g": 79,
    "b": 178
  },
  "hsl": {
    "h": 271.515,
    "s": 39.13,
    "l": 50.392
  },
  "oklch": {
    "l": 0.53193,
    "c": 0.1552,
    "h": 306.1
  },
  "luminance": 0.13632
}

Semantic roles & 50–950 ramp

primary
#834FB2
secondary
#ADC498
accent
#CF5991
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#100B13
muted
#7F7C82

Preview Lab

Preview with #834FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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