#834CD3#834CD3

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

Color values

HEX#834CD3
RGBrgb(131, 76, 211)
HSLhsl(264, 61%, 56%)
HSVhsv(264, 64%, 83%)
CMYKcmyk(37.9%, 64%, 0%, 17.3%)
CIE-LABlab(45.22, 50.84, -61.29)
CIE-LCHlch(45.22, 79.63, 309.68°)
OKLaboklab(54.98% 0.0942 -0.1745)
OKLCHoklch(54.98% 0.198 298.3)
XYZxyz(23.6994, 14.6970, 63.2036)
Luminance0.1470 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#834CD3 #9CD34C
analogous
#4C59D3 #834CD3 #C64CD3
triadic
#834CD3 #D3834C #4CD383
tetradic
#834CD3 #D34C59 #9CD34C #4CD3C6
square
#834CD3 #D34C59 #9CD34C #4CD3C6
split-complementary
#834CD3 #D3C64C #59D34C
monochromatic
#492084 #642DB5 #834CD3 #A57DDF #C7AEEB

Accessibility & contrast

On white

5.33
#834CD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#834CD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #834CD3
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##834CD3#FFFFFF#000000##FFFFFF
##834CD31.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #834cd3;
/* rgb */ color: rgb(131, 76, 211);
/* oklch */ color: oklch(55.0% 0.198 298.3);
Tailwind
colors: {
  custom: {
    50: '#ac81e1',
    500: '#834cd3',
    950: '#000000',
  },
}
SCSS
$custom: #834cd3;
$custom-light: #ac81e1;
$custom-dark: #000000;
JSON
{
  "hex": "#834cd3",
  "rgb": {
    "r": 131,
    "g": 76,
    "b": 211
  },
  "hsl": {
    "h": 264.444,
    "s": 60.538,
    "l": 56.275
  },
  "oklch": {
    "l": 0.54976,
    "c": 0.19831,
    "h": 298.3
  },
  "luminance": 0.14697
}

Semantic roles & 50–950 ramp

primary
#834CD3
secondary
#C3D9A2
accent
#E444A3
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #834CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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