#834CBB#834CBB

#834CBB is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.3% C 0.170 H 304.0°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#834CBB
RGBrgb(131, 76, 187)
HSLhsl(270, 45%, 52%)
HSVhsv(270, 59%, 73%)
CMYKcmyk(29.9%, 59.4%, 0%, 26.7%)
CIE-LABlab(43.63, 44.83, -49.96)
CIE-LCHlch(43.63, 67.13, 311.90°)
OKLaboklab(53.32% 0.0954 -0.1412)
OKLCHoklch(53.32% 0.17 304)
XYZxyz(20.9122, 13.5821, 48.5240)
Luminance0.1358 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#834CBB #84BB4C
analogous
#4C4DBB #834CBB #BB4CBB
triadic
#834CBB #BB834C #4CBB83
tetradic
#834CBB #BB4C4D #84BB4C #4CBBBB
square
#834CBB #BB4C4D #84BB4C #4CBBBB
split-complementary
#834CBB #BBBB4C #4DBB4C
monochromatic
#462766 #643892 #834CBB #A278CC #C0A5DD

Accessibility & contrast

On white

5.65
#834CBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#834CBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #834CBB
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##834CBB#FFFFFF#000000##FFFFFF
##834CBB1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1766BF
Deuteranopia (green-blind)
#3267B8
Tritanopia (blue-blind)
#79627C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #834cbb;
/* rgb */ color: rgb(131, 76, 187);
/* oklch */ color: oklch(53.3% 0.170 304.0);
Tailwind
colors: {
  custom: {
    50: '#ab80d0',
    500: '#834cbb',
    950: '#000000',
  },
}
SCSS
$custom: #834cbb;
$custom-light: #ab80d0;
$custom-dark: #000000;
JSON
{
  "hex": "#834cbb",
  "rgb": {
    "r": 131,
    "g": 76,
    "b": 187
  },
  "hsl": {
    "h": 269.73,
    "s": 44.939,
    "l": 51.569
  },
  "oklch": {
    "l": 0.53316,
    "c": 0.17044,
    "h": 304
  },
  "luminance": 0.13582
}

Semantic roles & 50–950 ramp

primary
#834CBB
secondary
#B2CA99
accent
#D55394
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #834CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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