#834FBB#834FBB

#834FBB is a mid, vivid violet. Relative luminance 0.140; OKLCH L 53.8% C 0.166 H 303.5°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#834FBB
RGBrgb(131, 79, 187)
HSLhsl(269, 44%, 52%)
HSVhsv(269, 58%, 73%)
CMYKcmyk(29.9%, 57.8%, 0%, 26.7%)
CIE-LABlab(44.24, 43.21, -48.98)
CIE-LCHlch(44.24, 65.31, 311.42°)
OKLaboklab(53.76% 0.0916 -0.1384)
OKLCHoklch(53.76% 0.166 303.5)
XYZxyz(21.1237, 14.0052, 48.5945)
Luminance0.1401 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#834FBB #87BB4F
analogous
#4F51BB #834FBB #B94FBB
triadic
#834FBB #BB834F #4FBB83
tetradic
#834FBB #BB4F51 #87BB4F #4FBBB9
square
#834FBB #BB4F51 #87BB4F #4FBBB9
split-complementary
#834FBB #BBB94F #51BB4F
monochromatic
#472868 #653994 #834FBB #A27BCC #C1A7DD

Accessibility & contrast

On white

5.52
#834FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#834FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #834FBB
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##834FBB#FFFFFF#000000##FFFFFF
##834FBB1.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2167BF
Deuteranopia (green-blind)
#3668B8
Tritanopia (blue-blind)
#79647D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #834fbb;
/* rgb */ color: rgb(131, 79, 187);
/* oklch */ color: oklch(53.8% 0.166 303.5);
Tailwind
colors: {
  custom: {
    50: '#aa82d0',
    500: '#834fbb',
    950: '#000000',
  },
}
SCSS
$custom: #834fbb;
$custom-light: #aa82d0;
$custom-dark: #000000;
JSON
{
  "hex": "#834fbb",
  "rgb": {
    "r": 131,
    "g": 79,
    "b": 187
  },
  "hsl": {
    "h": 268.889,
    "s": 44.262,
    "l": 52.157
  },
  "oklch": {
    "l": 0.53764,
    "c": 0.16595,
    "h": 303.5
  },
  "luminance": 0.14005
}

Semantic roles & 50–950 ramp

primary
#834FBB
secondary
#B4CA9B
accent
#D45496
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100B14
muted
#7F7C82

Preview Lab

Preview with #834FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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