#834AD7#834AD7

#834AD7 is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.0% C 0.205 H 297.8°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#834AD7
RGBrgb(131, 74, 215)
HSLhsl(264, 64%, 57%)
HSVhsv(264, 66%, 84%)
CMYKcmyk(39.1%, 65.6%, 0%, 15.7%)
CIE-LABlab(45.12, 52.89, -63.74)
CIE-LCHlch(45.12, 82.82, 309.69°)
OKLaboklab(55% 0.0959 -0.1817)
OKLCHoklch(55% 0.205 297.8)
XYZxyz(24.0715, 14.6288, 65.8322)
Luminance0.1463 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#834AD7 #9ED74A
analogous
#4A58D7 #834AD7 #C94AD7
triadic
#834AD7 #D7834A #4AD783
tetradic
#834AD7 #D74A58 #9ED74A #4AD7C9
square
#834AD7 #D74A58 #9ED74A #4AD7C9
split-complementary
#834AD7 #D7C94A #58D74A
monochromatic
#491E88 #6429BB #834AD7 #A57CE2 #C8AEED

Accessibility & contrast

On white

5.35
#834AD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#834AD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #834AD7
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##834AD7#FFFFFF#000000##FFFFFF
##834AD71.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDB
Deuteranopia (green-blind)
#0069D4
Tritanopia (blue-blind)
#6F6B8A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #834ad7;
/* rgb */ color: rgb(131, 74, 215);
/* oklch */ color: oklch(55.0% 0.205 297.8);
Tailwind
colors: {
  custom: {
    50: '#ad80e4',
    500: '#834ad7',
    950: '#000000',
  },
}
SCSS
$custom: #834ad7;
$custom-light: #ad80e4;
$custom-dark: #000000;
JSON
{
  "hex": "#834ad7",
  "rgb": {
    "r": 131,
    "g": 74,
    "b": 215
  },
  "hsl": {
    "h": 264.255,
    "s": 63.801,
    "l": 56.667
  },
  "oklch": {
    "l": 0.54996,
    "c": 0.20548,
    "h": 297.8
  },
  "luminance": 0.14629
}

Semantic roles & 50–950 ramp

primary
#834AD7
secondary
#C4DBA2
accent
#E741A4
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110A16
muted
#807C84

Preview Lab

Preview with #834AD7

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

Preview Lab → · Contrast checker → · Palette generator →

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