#834AD5#834AD5

#834AD5 is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 54.8% C 0.203 H 298.2°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#834AD5
RGBrgb(131, 74, 213)
HSLhsl(265, 62%, 56%)
HSVhsv(265, 65%, 84%)
CMYKcmyk(38.5%, 65.3%, 0%, 16.5%)
CIE-LABlab(44.98, 52.38, -62.82)
CIE-LCHlch(44.98, 81.79, 309.82°)
OKLaboklab(54.85% 0.0961 -0.179)
OKLCHoklch(54.85% 0.203 298.2)
XYZxyz(23.8161, 14.5266, 64.4870)
Luminance0.1453 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#834AD5 #9CD54A
analogous
#4A57D5 #834AD5 #C94AD5
triadic
#834AD5 #D5834A #4AD583
tetradic
#834AD5 #D54A57 #9CD54A #4AD5C9
square
#834AD5 #D54A57 #9CD54A #4AD5C9
split-complementary
#834AD5 #D5C94A #57D54A
monochromatic
#491F86 #642BB7 #834AD5 #A57CE1 #C7ADEC

Accessibility & contrast

On white

5.38
#834AD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#834AD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #834AD5
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##834AD5#FFFFFF#000000##FFFFFF
##834AD51.005.383.915.38
#FFFFFF5.381.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD9
Deuteranopia (green-blind)
#0069D2
Tritanopia (blue-blind)
#706A89
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #834ad5;
/* rgb */ color: rgb(131, 74, 213);
/* oklch */ color: oklch(54.8% 0.203 298.2);
Tailwind
colors: {
  custom: {
    50: '#ad80e3',
    500: '#834ad5',
    950: '#000000',
  },
}
SCSS
$custom: #834ad5;
$custom-light: #ad80e3;
$custom-dark: #000000;
JSON
{
  "hex": "#834ad5",
  "rgb": {
    "r": 131,
    "g": 74,
    "b": 213
  },
  "hsl": {
    "h": 264.604,
    "s": 62.332,
    "l": 56.275
  },
  "oklch": {
    "l": 0.54849,
    "c": 0.20321,
    "h": 298.2
  },
  "luminance": 0.14527
}

Semantic roles & 50–950 ramp

primary
#834AD5
secondary
#C3DAA1
accent
#E542A3
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110A15
muted
#807C84

Preview Lab

Preview with #834AD5

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

Preview Lab → · Contrast checker → · Palette generator →

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