#834FBF#834FBF

#834FBF is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.0% C 0.171 H 302.5°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#834FBF
RGBrgb(131, 79, 191)
HSLhsl(268, 47%, 53%)
HSVhsv(268, 59%, 75%)
CMYKcmyk(31.4%, 58.6%, 0%, 25.1%)
CIE-LABlab(44.49, 44.20, -50.91)
CIE-LCHlch(44.49, 67.42, 310.96°)
OKLaboklab(54.03% 0.0916 -0.144)
OKLCHoklch(54.03% 0.171 302.5)
XYZxyz(21.5579, 14.1788, 50.8812)
Luminance0.1418 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#834FBF #8BBF4F
analogous
#4F53BF #834FBF #BB4FBF
triadic
#834FBF #BF834F #4FBF83
tetradic
#834FBF #BF4F53 #8BBF4F #4FBFBB
square
#834FBF #BF4F53 #8BBF4F #4FBFBB
split-complementary
#834FBF #BFBB4F #53BF4F
monochromatic
#47276C #653899 #834FBF #A37CCF #C2A9E0

Accessibility & contrast

On white

5.47
#834FBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#834FBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #834FBF
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##834FBF#FFFFFF#000000##FFFFFF
##834FBF1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A68C3
Deuteranopia (green-blind)
#3269BC
Tritanopia (blue-blind)
#77667F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #834fbf;
/* rgb */ color: rgb(131, 79, 191);
/* oklch */ color: oklch(54.0% 0.171 302.5);
Tailwind
colors: {
  custom: {
    50: '#ab82d3',
    500: '#834fbf',
    950: '#000000',
  },
}
SCSS
$custom: #834fbf;
$custom-light: #ab82d3;
$custom-dark: #000000;
JSON
{
  "hex": "#834fbf",
  "rgb": {
    "r": 131,
    "g": 79,
    "b": 191
  },
  "hsl": {
    "h": 267.857,
    "s": 46.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.54025,
    "c": 0.17071,
    "h": 302.5
  },
  "luminance": 0.14179
}

Semantic roles & 50–950 ramp

primary
#834FBF
secondary
#B7CD9D
accent
#D65199
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100B14
muted
#7F7C83

Preview Lab

Preview with #834FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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