#834CA7#834CA7

#834CA7 is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.1% C 0.147 H 310.2°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#834CA7
RGBrgb(131, 76, 167)
HSLhsl(276, 37%, 48%)
HSVhsv(276, 54%, 65%)
CMYKcmyk(21.6%, 54.5%, 0%, 34.5%)
CIE-LABlab(42.44, 40.05, -40.09)
CIE-LCHlch(42.44, 56.67, 314.97°)
OKLaboklab(52.06% 0.0948 -0.1123)
OKLCHoklch(52.06% 0.147 310.2)
XYZxyz(18.9183, 12.7845, 38.0228)
Luminance0.1278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#834CA7 #70A74C
analogous
#554CA7 #834CA7 #A74C9D
triadic
#834CA7 #A7834C #4CA783
tetradic
#834CA7 #A7554C #70A74C #4C9DA7
square
#834CA7 #A7554C #70A74C #4C9DA7
split-complementary
#834CA7 #9DA74C #4CA755
monochromatic
#412653 #62397D #834CA7 #A072BF #BC9CD2

Accessibility & contrast

On white

5.90
#834CA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #834CA7
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##834CA7#FFFFFF#000000##FFFFFF
##834CA71.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3262AA
Deuteranopia (green-blind)
#4465A5
Tritanopia (blue-blind)
#7E5C72
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #834ca7;
/* rgb */ color: rgb(131, 76, 167);
/* oklch */ color: oklch(52.1% 0.147 310.2);
Tailwind
colors: {
  custom: {
    50: '#a980c1',
    500: '#834ca7',
    950: '#000000',
  },
}
SCSS
$custom: #834ca7;
$custom-light: #a980c1;
$custom-dark: #000000;
JSON
{
  "hex": "#834ca7",
  "rgb": {
    "r": 131,
    "g": 76,
    "b": 167
  },
  "hsl": {
    "h": 276.264,
    "s": 37.449,
    "l": 47.647
  },
  "oklch": {
    "l": 0.52059,
    "c": 0.14701,
    "h": 310.2
  },
  "luminance": 0.12784
}

Semantic roles & 50–950 ramp

primary
#834CA7
secondary
#A3BE90
accent
#CD5A88
background
#FAF7FB
surface
#F4EEF7
border
#CEC9D0
text
#100A12
muted
#7F7C81

Preview Lab

Preview with #834CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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