#834DBE#834DBE

#834DBE is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.7% C 0.172 H 303.1°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#834DBE
RGBrgb(131, 77, 190)
HSLhsl(269, 47%, 52%)
HSVhsv(269, 59%, 75%)
CMYKcmyk(31.1%, 59.5%, 0%, 25.5%)
CIE-LABlab(44.02, 45.03, -51.08)
CIE-LCHlch(44.02, 68.10, 311.40°)
OKLaboklab(53.66% 0.0941 -0.1446)
OKLCHoklch(53.66% 0.172 303.1)
XYZxyz(21.3061, 13.8508, 50.2562)
Luminance0.1385 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#834DBE #88BE4D
analogous
#4D4FBE #834DBE #BC4DBE
triadic
#834DBE #BE834D #4DBE83
tetradic
#834DBE #BE4D4F #88BE4D #4DBEBC
square
#834DBE #BE4D4F #88BE4D #4DBEBC
split-complementary
#834DBE #BEBC4D #4FBE4D
monochromatic
#47276A #653797 #834DBE #A27ACE #C1A7DF

Accessibility & contrast

On white

5.57
#834DBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#834DBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #834DBE
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##834DBE#FFFFFF#000000##FFFFFF
##834DBE1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1467C2
Deuteranopia (green-blind)
#3068BB
Tritanopia (blue-blind)
#78647E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #834dbe;
/* rgb */ color: rgb(131, 77, 190);
/* oklch */ color: oklch(53.7% 0.172 303.1);
Tailwind
colors: {
  custom: {
    50: '#ab81d2',
    500: '#834dbe',
    950: '#000000',
  },
}
SCSS
$custom: #834dbe;
$custom-light: #ab81d2;
$custom-dark: #000000;
JSON
{
  "hex": "#834dbe",
  "rgb": {
    "r": 131,
    "g": 77,
    "b": 190
  },
  "hsl": {
    "h": 268.673,
    "s": 46.502,
    "l": 52.353
  },
  "oklch": {
    "l": 0.53661,
    "c": 0.17249,
    "h": 303.1
  },
  "luminance": 0.13851
}

Semantic roles & 50–950 ramp

primary
#834DBE
secondary
#B4CC9B
accent
#D65297
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #834DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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