#834FBD#834FBD

#834FBD is a mid, vivid violet. Relative luminance 0.141; OKLCH L 53.9% C 0.168 H 303.0°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#834FBD
RGBrgb(131, 79, 189)
HSLhsl(268, 45%, 53%)
HSVhsv(268, 58%, 74%)
CMYKcmyk(30.7%, 58.2%, 0%, 25.9%)
CIE-LABlab(44.36, 43.70, -49.95)
CIE-LCHlch(44.36, 66.37, 311.19°)
OKLaboklab(53.89% 0.0916 -0.1412)
OKLCHoklch(53.89% 0.168 303)
XYZxyz(21.3393, 14.0914, 49.7299)
Luminance0.1409 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#834FBD #89BD4F
analogous
#4F52BD #834FBD #BA4FBD
triadic
#834FBD #BD834F #4FBD83
tetradic
#834FBD #BD4F52 #89BD4F #4FBDBA
square
#834FBD #BD4F52 #89BD4F #4FBDBA
split-complementary
#834FBD #BDBA4F #52BD4F
monochromatic
#47286A #653896 #834FBD #A27CCE #C2A8DE

Accessibility & contrast

On white

5.50
#834FBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#834FBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #834FBD
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##834FBD#FFFFFF#000000##FFFFFF
##834FBD1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D68C1
Deuteranopia (green-blind)
#3469BA
Tritanopia (blue-blind)
#78657E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #834fbd;
/* rgb */ color: rgb(131, 79, 189);
/* oklch */ color: oklch(53.9% 0.168 303.0);
Tailwind
colors: {
  custom: {
    50: '#ab82d1',
    500: '#834fbd',
    950: '#000000',
  },
}
SCSS
$custom: #834fbd;
$custom-light: #ab82d1;
$custom-dark: #000000;
JSON
{
  "hex": "#834fbd",
  "rgb": {
    "r": 131,
    "g": 79,
    "b": 189
  },
  "hsl": {
    "h": 268.364,
    "s": 45.455,
    "l": 52.549
  },
  "oklch": {
    "l": 0.53894,
    "c": 0.16833,
    "h": 303
  },
  "luminance": 0.14091
}

Semantic roles & 50–950 ramp

primary
#834FBD
secondary
#B5CC9C
accent
#D55397
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100B14
muted
#7F7C82

Preview Lab

Preview with #834FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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