#834AAF#834AAF

#834AAF is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.2% C 0.160 H 307.9°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#834AAF
RGBrgb(131, 74, 175)
HSLhsl(274, 41%, 49%)
HSVhsv(274, 58%, 69%)
CMYKcmyk(25.1%, 57.7%, 0%, 31.4%)
CIE-LABlab(42.49, 43.02, -44.74)
CIE-LCHlch(42.49, 62.07, 313.88°)
OKLaboklab(52.25% 0.0979 -0.1259)
OKLCHoklch(52.25% 0.16 307.9)
XYZxyz(19.5452, 12.8183, 41.9937)
Luminance0.1282 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#834AAF #76AF4A
analogous
#514AAF #834AAF #AF4AA9
triadic
#834AAF #AF834A #4AAF83
tetradic
#834AAF #AF514A #76AF4A #4AA9AF
square
#834AAF #AF514A #76AF4A #4AA9AF
split-complementary
#834AAF #A9AF4A #4AAF51
monochromatic
#432659 #633884 #834AAF #A073C4 #BD9ED6

Accessibility & contrast

On white

5.89
#834AAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#834AAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #834AAF
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##834AAF#FFFFFF#000000##FFFFFF
##834AAF1.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2562B2
Deuteranopia (green-blind)
#3C65AD
Tritanopia (blue-blind)
#7C5D75
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #834aaf;
/* rgb */ color: rgb(131, 74, 175);
/* oklch */ color: oklch(52.2% 0.160 307.9);
Tailwind
colors: {
  custom: {
    50: '#aa7fc7',
    500: '#834aaf',
    950: '#000000',
  },
}
SCSS
$custom: #834aaf;
$custom-light: #aa7fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#834aaf",
  "rgb": {
    "r": 131,
    "g": 74,
    "b": 175
  },
  "hsl": {
    "h": 273.861,
    "s": 40.562,
    "l": 48.824
  },
  "oklch": {
    "l": 0.52246,
    "c": 0.1595,
    "h": 307.9
  },
  "luminance": 0.12818
}

Semantic roles & 50–950 ramp

primary
#834AAF
secondary
#A7C292
accent
#D0578C
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100A13
muted
#7F7C82

Preview Lab

Preview with #834AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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