#834EA5#834EA5

#834EA5 is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.3% C 0.141 H 310.5°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#834EA5
RGBrgb(131, 78, 165)
HSLhsl(277, 36%, 48%)
HSVhsv(277, 53%, 65%)
CMYKcmyk(20.6%, 52.7%, 0%, 35.3%)
CIE-LABlab(42.75, 38.48, -38.40)
CIE-LCHlch(42.75, 54.36, 315.06°)
OKLaboklab(52.25% 0.0919 -0.1074)
OKLCHoklch(52.25% 0.141 310.5)
XYZxyz(18.8747, 12.9910, 37.1032)
Luminance0.1299 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#834EA5 #70A54E
analogous
#584EA5 #834EA5 #A54E9B
triadic
#834EA5 #A5834E #4EA583
tetradic
#834EA5 #A5584E #70A54E #4E9BA5
square
#834EA5 #A5584E #70A54E #4E9BA5
split-complementary
#834EA5 #9BA54E #4EA558
monochromatic
#412752 #623A7B #834EA5 #A073BD #BC9DD1

Accessibility & contrast

On white

5.84
#834EA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#834EA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #834EA5
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##834EA5#FFFFFF#000000##FFFFFF
##834EA51.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3762A8
Deuteranopia (green-blind)
#4766A3
Tritanopia (blue-blind)
#7F5D72
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #834ea5;
/* rgb */ color: rgb(131, 78, 165);
/* oklch */ color: oklch(52.3% 0.141 310.5);
Tailwind
colors: {
  custom: {
    50: '#a981c0',
    500: '#834ea5',
    950: '#000000',
  },
}
SCSS
$custom: #834ea5;
$custom-light: #a981c0;
$custom-dark: #000000;
JSON
{
  "hex": "#834ea5",
  "rgb": {
    "r": 131,
    "g": 78,
    "b": 165
  },
  "hsl": {
    "h": 276.552,
    "s": 35.802,
    "l": 47.647
  },
  "oklch": {
    "l": 0.52253,
    "c": 0.14135,
    "h": 310.5
  },
  "luminance": 0.12991
}

Semantic roles & 50–950 ramp

primary
#834EA5
secondary
#A3BD91
accent
#CC5C88
background
#FAF8FB
surface
#F4EFF7
border
#CECAD0
text
#100A12
muted
#7F7C81

Preview Lab

Preview with #834EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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