#834CBE#834CBE

#834CBE is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.5% C 0.174 H 303.2°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#834CBE
RGBrgb(131, 76, 190)
HSLhsl(269, 47%, 52%)
HSVhsv(269, 60%, 75%)
CMYKcmyk(31.1%, 60%, 0%, 25.5%)
CIE-LABlab(43.82, 45.57, -51.41)
CIE-LCHlch(43.82, 68.70, 311.56°)
OKLaboklab(53.52% 0.0954 -0.1455)
OKLCHoklch(53.52% 0.174 303.2)
XYZxyz(21.2367, 13.7119, 50.2331)
Luminance0.1371 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#834CBE #87BE4C
analogous
#4C4EBE #834CBE #BC4CBE
triadic
#834CBE #BE834C #4CBE83
tetradic
#834CBE #BE4C4E #87BE4C #4CBEBC
square
#834CBE #BE4C4E #87BE4C #4CBEBC
split-complementary
#834CBE #BEBC4C #4EBE4C
monochromatic
#472669 #653796 #834CBE #A279CE #C1A6DF

Accessibility & contrast

On white

5.61
#834CBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#834CBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #834CBE
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##834CBE#FFFFFF#000000##FFFFFF
##834CBE1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1066C2
Deuteranopia (green-blind)
#2F67BB
Tritanopia (blue-blind)
#78637E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #834cbe;
/* rgb */ color: rgb(131, 76, 190);
/* oklch */ color: oklch(53.5% 0.174 303.2);
Tailwind
colors: {
  custom: {
    50: '#ab81d2',
    500: '#834cbe',
    950: '#000000',
  },
}
SCSS
$custom: #834cbe;
$custom-light: #ab81d2;
$custom-dark: #000000;
JSON
{
  "hex": "#834cbe",
  "rgb": {
    "r": 131,
    "g": 76,
    "b": 190
  },
  "hsl": {
    "h": 268.947,
    "s": 46.721,
    "l": 52.157
  },
  "oklch": {
    "l": 0.53515,
    "c": 0.17396,
    "h": 303.2
  },
  "luminance": 0.13712
}

Semantic roles & 50–950 ramp

primary
#834CBE
secondary
#B4CC9A
accent
#D65196
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #834CBE

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

Preview Lab → · Contrast checker → · Palette generator →

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