#834EBE#834EBE

#834EBE is a mid, vivid violet. Relative luminance 0.140; OKLCH L 53.8% C 0.171 H 302.9°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#834EBE
RGBrgb(131, 78, 190)
HSLhsl(268, 46%, 53%)
HSVhsv(268, 59%, 75%)
CMYKcmyk(31.1%, 58.9%, 0%, 25.5%)
CIE-LABlab(44.22, 44.49, -50.76)
CIE-LCHlch(44.22, 67.50, 311.24°)
OKLaboklab(53.81% 0.0929 -0.1436)
OKLCHoklch(53.81% 0.171 302.9)
XYZxyz(21.3766, 13.9918, 50.2797)
Luminance0.1399 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#834EBE #89BE4E
analogous
#4E51BE #834EBE #BB4EBE
triadic
#834EBE #BE834E #4EBE83
tetradic
#834EBE #BE4E51 #89BE4E #4EBEBB
square
#834EBE #BE4E51 #89BE4E #4EBEBB
split-complementary
#834EBE #BEBB4E #51BE4E
monochromatic
#47276A #653897 #834EBE #A27BCE #C2A8DF

Accessibility & contrast

On white

5.53
#834EBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#834EBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #834EBE
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##834EBE#FFFFFF#000000##FFFFFF
##834EBE1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1867C2
Deuteranopia (green-blind)
#3268BB
Tritanopia (blue-blind)
#78657E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #834ebe;
/* rgb */ color: rgb(131, 78, 190);
/* oklch */ color: oklch(53.8% 0.171 302.9);
Tailwind
colors: {
  custom: {
    50: '#ab82d2',
    500: '#834ebe',
    950: '#000000',
  },
}
SCSS
$custom: #834ebe;
$custom-light: #ab82d2;
$custom-dark: #000000;
JSON
{
  "hex": "#834ebe",
  "rgb": {
    "r": 131,
    "g": 78,
    "b": 190
  },
  "hsl": {
    "h": 268.393,
    "s": 46.281,
    "l": 52.549
  },
  "oklch": {
    "l": 0.5381,
    "c": 0.17101,
    "h": 302.9
  },
  "luminance": 0.13992
}

Semantic roles & 50–950 ramp

primary
#834EBE
secondary
#B5CC9C
accent
#D65297
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100B14
muted
#7F7C83

Preview Lab

Preview with #834EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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