#834CD4#834CD4

#834CD4 is a mid, vivid violet. Relative luminance 0.147; OKLCH L 55.0% C 0.199 H 298.1°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#834CD4
RGBrgb(131, 76, 212)
HSLhsl(264, 61%, 56%)
HSVhsv(264, 64%, 83%)
CMYKcmyk(38.2%, 64.2%, 0%, 16.9%)
CIE-LABlab(45.29, 51.10, -61.75)
CIE-LCHlch(45.29, 80.15, 309.61°)
OKLaboklab(55.05% 0.0941 -0.1759)
OKLCHoklch(55.05% 0.199 298.1)
XYZxyz(23.8252, 14.7473, 63.8659)
Luminance0.1475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#834CD4 #9DD44C
analogous
#4C59D4 #834CD4 #C74CD4
triadic
#834CD4 #D4834C #4CD483
tetradic
#834CD4 #D44C59 #9DD44C #4CD4C7
square
#834CD4 #D44C59 #9DD44C #4CD4C7
split-complementary
#834CD4 #D4C74C #59D44C
monochromatic
#492086 #642CB7 #834CD4 #A57DE0 #C7AFEC

Accessibility & contrast

On white

5.32
#834CD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#834CD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #834CD4
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##834CD4#FFFFFF#000000##FFFFFF
##834CD41.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD8
Deuteranopia (green-blind)
#006AD1
Tritanopia (blue-blind)
#706B89
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #834cd4;
/* rgb */ color: rgb(131, 76, 212);
/* oklch */ color: oklch(55.0% 0.199 298.1);
Tailwind
colors: {
  custom: {
    50: '#ad81e2',
    500: '#834cd4',
    950: '#000000',
  },
}
SCSS
$custom: #834cd4;
$custom-light: #ad81e2;
$custom-dark: #000000;
JSON
{
  "hex": "#834cd4",
  "rgb": {
    "r": 131,
    "g": 76,
    "b": 212
  },
  "hsl": {
    "h": 264.265,
    "s": 61.261,
    "l": 56.471
  },
  "oklch": {
    "l": 0.55048,
    "c": 0.19947,
    "h": 298.1
  },
  "luminance": 0.14748
}

Semantic roles & 50–950 ramp

primary
#834CD4
secondary
#C3DAA2
accent
#E443A3
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #834CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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