#834EA2#834EA2

#834EA2 is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.1% C 0.138 H 311.6°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#834EA2
RGBrgb(131, 78, 162)
HSLhsl(278, 35%, 47%)
HSVhsv(278, 52%, 64%)
CMYKcmyk(19.1%, 51.9%, 0%, 36.5%)
CIE-LABlab(42.59, 37.78, -36.88)
CIE-LCHlch(42.59, 52.80, 315.70°)
OKLaboklab(52.08% 0.0916 -0.103)
OKLCHoklch(52.08% 0.138 311.6)
XYZxyz(18.6049, 12.8831, 35.6820)
Luminance0.1288 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#834EA2 #6DA24E
analogous
#594EA2 #834EA2 #A24E97
triadic
#834EA2 #A2834E #4EA283
tetradic
#834EA2 #A2594E #6DA24E #4E97A2
square
#834EA2 #A2594E #6DA24E #4E97A2
split-complementary
#834EA2 #97A24E #4EA259
monochromatic
#40264F #623A79 #834EA2 #A072BB #BC9BCF

Accessibility & contrast

On white

5.87
#834EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#834EA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #834EA2
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##834EA2#FFFFFF#000000##FFFFFF
##834EA21.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3962A5
Deuteranopia (green-blind)
#4966A0
Tritanopia (blue-blind)
#805C70
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #834ea2;
/* rgb */ color: rgb(131, 78, 162);
/* oklch */ color: oklch(52.1% 0.138 311.6);
Tailwind
colors: {
  custom: {
    50: '#a981be',
    500: '#834ea2',
    950: '#000000',
  },
}
SCSS
$custom: #834ea2;
$custom-light: #a981be;
$custom-dark: #000000;
JSON
{
  "hex": "#834ea2",
  "rgb": {
    "r": 131,
    "g": 78,
    "b": 162
  },
  "hsl": {
    "h": 277.857,
    "s": 35,
    "l": 47.059
  },
  "oklch": {
    "l": 0.5208,
    "c": 0.13781,
    "h": 311.6
  },
  "luminance": 0.12883
}

Semantic roles & 50–950 ramp

primary
#834EA2
secondary
#A0BC90
accent
#CB5D85
background
#FAF8FB
surface
#F4EFF7
border
#CECAD0
text
#100A12
muted
#7F7C81

Preview Lab

Preview with #834EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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