#834ABA#834ABA

#834ABA is a mid, vivid violet. Relative luminance 0.133; OKLCH L 53.0% C 0.172 H 304.6°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#834ABA
RGBrgb(131, 74, 186)
HSLhsl(271, 45%, 51%)
HSVhsv(271, 60%, 73%)
CMYKcmyk(29.6%, 60.2%, 0%, 27.1%)
CIE-LABlab(43.16, 45.66, -50.12)
CIE-LCHlch(43.16, 67.80, 312.33°)
OKLaboklab(52.96% 0.0979 -0.1417)
OKLCHoklch(52.96% 0.172 304.6)
XYZxyz(20.6698, 13.2681, 47.9169)
Luminance0.1327 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#834ABA #81BA4A
analogous
#4B4ABA #834ABA #BA4AB9
triadic
#834ABA #BA834A #4ABA83
tetradic
#834ABA #BA4B4A #81BA4A #4AB9BA
square
#834ABA #BA4B4A #81BA4A #4AB9BA
split-complementary
#834ABA #B9BA4A #4ABA4B
monochromatic
#452664 #643790 #834ABA #A176CB #C0A3DC

Accessibility & contrast

On white

5.75
#834ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#834ABA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #834ABA
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##834ABA#FFFFFF#000000##FFFFFF
##834ABA1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1264BE
Deuteranopia (green-blind)
#3166B7
Tritanopia (blue-blind)
#79617B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #834aba;
/* rgb */ color: rgb(131, 74, 186);
/* oklch */ color: oklch(53.0% 0.172 304.6);
Tailwind
colors: {
  custom: {
    50: '#ab7fcf',
    500: '#834aba',
    950: '#000000',
  },
}
SCSS
$custom: #834aba;
$custom-light: #ab7fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#834aba",
  "rgb": {
    "r": 131,
    "g": 74,
    "b": 186
  },
  "hsl": {
    "h": 270.536,
    "s": 44.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.52958,
    "c": 0.17224,
    "h": 304.6
  },
  "luminance": 0.13268
}

Semantic roles & 50–950 ramp

primary
#834ABA
secondary
#AFC997
accent
#D55393
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #834ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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