#834FC5#834FC5

#834FC5 is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.4% C 0.178 H 301.0°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#834FC5
RGBrgb(131, 79, 197)
HSLhsl(266, 50%, 54%)
HSVhsv(266, 60%, 77%)
CMYKcmyk(33.5%, 59.9%, 0%, 22.7%)
CIE-LABlab(44.87, 45.70, -53.78)
CIE-LCHlch(44.87, 70.58, 310.36°)
OKLaboklab(54.43% 0.0915 -0.1525)
OKLCHoklch(54.43% 0.178 301)
XYZxyz(22.2317, 14.4484, 54.4301)
Luminance0.1445 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#834FC5 #91C54F
analogous
#4F56C5 #834FC5 #BE4FC5
triadic
#834FC5 #C5834F #4FC583
tetradic
#834FC5 #C54F56 #91C54F #4FC5BE
square
#834FC5 #C54F56 #91C54F #4FC5BE
split-complementary
#834FC5 #C5BE4F #56C54F
monochromatic
#482674 #6535A2 #834FC5 #A37DD4 #C4ABE3

Accessibility & contrast

On white

5.40
#834FC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#834FC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #834FC5
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##834FC5#FFFFFF#000000##FFFFFF
##834FC51.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#086AC9
Deuteranopia (green-blind)
#2A69C2
Tritanopia (blue-blind)
#756882
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #834fc5;
/* rgb */ color: rgb(131, 79, 197);
/* oklch */ color: oklch(54.4% 0.178 301.0);
Tailwind
colors: {
  custom: {
    50: '#ab83d7',
    500: '#834fc5',
    950: '#000000',
  },
}
SCSS
$custom: #834fc5;
$custom-light: #ab83d7;
$custom-dark: #000000;
JSON
{
  "hex": "#834fc5",
  "rgb": {
    "r": 131,
    "g": 79,
    "b": 197
  },
  "hsl": {
    "h": 266.441,
    "s": 50.427,
    "l": 54.118
  },
  "oklch": {
    "l": 0.54425,
    "c": 0.17783,
    "h": 301
  },
  "luminance": 0.14448
}

Semantic roles & 50–950 ramp

primary
#834FC5
secondary
#BBD19F
accent
#DA4E9C
background
#FAF8FD
surface
#F5EFFA
border
#CFCAD3
text
#100B14
muted
#7F7C83

Preview Lab

Preview with #834FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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