#834EBA#834EBA

#834EBA is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.5% C 0.166 H 304.0°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#834EBA
RGBrgb(131, 78, 186)
HSLhsl(269, 44%, 52%)
HSVhsv(269, 58%, 73%)
CMYKcmyk(29.6%, 58.1%, 0%, 27.1%)
CIE-LABlab(43.97, 43.51, -48.82)
CIE-LCHlch(43.97, 65.39, 311.70°)
OKLaboklab(53.55% 0.0929 -0.1379)
OKLCHoklch(53.55% 0.166 304)
XYZxyz(20.9454, 13.8193, 48.0088)
Luminance0.1382 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#834EBA #85BA4E
analogous
#4E4FBA #834EBA #B94EBA
triadic
#834EBA #BA834E #4EBA83
tetradic
#834EBA #BA4E4F #85BA4E #4EBAB9
square
#834EBA #BA4E4F #85BA4E #4EBAB9
split-complementary
#834EBA #BAB94E #4FBA4E
monochromatic
#462866 #653992 #834EBA #A27ACB #C1A6DC

Accessibility & contrast

On white

5.58
#834EBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#834EBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #834EBA
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##834EBA#FFFFFF#000000##FFFFFF
##834EBA1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2067BE
Deuteranopia (green-blind)
#3668B7
Tritanopia (blue-blind)
#79637C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #834eba;
/* rgb */ color: rgb(131, 78, 186);
/* oklch */ color: oklch(53.5% 0.166 304.0);
Tailwind
colors: {
  custom: {
    50: '#aa82cf',
    500: '#834eba',
    950: '#000000',
  },
}
SCSS
$custom: #834eba;
$custom-light: #aa82cf;
$custom-dark: #000000;
JSON
{
  "hex": "#834eba",
  "rgb": {
    "r": 131,
    "g": 78,
    "b": 186
  },
  "hsl": {
    "h": 269.444,
    "s": 43.902,
    "l": 51.765
  },
  "oklch": {
    "l": 0.53548,
    "c": 0.16627,
    "h": 304
  },
  "luminance": 0.13819
}

Semantic roles & 50–950 ramp

primary
#834EBA
secondary
#B2CA9A
accent
#D45495
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #834EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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