#834DD4#834DD4

#834DD4 is a mid, vivid violet. Relative luminance 0.149; OKLCH L 55.2% C 0.198 H 298.0°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#834DD4
RGBrgb(131, 77, 212)
HSLhsl(264, 61%, 57%)
HSVhsv(264, 64%, 83%)
CMYKcmyk(38.2%, 63.7%, 0%, 16.9%)
CIE-LABlab(45.48, 50.58, -61.44)
CIE-LCHlch(45.48, 79.58, 309.46°)
OKLaboklab(55.19% 0.093 -0.175)
OKLCHoklch(55.19% 0.198 298)
XYZxyz(23.8946, 14.8862, 63.8890)
Luminance0.1489 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#834DD4 #9ED44D
analogous
#4D5BD4 #834DD4 #C74DD4
triadic
#834DD4 #D4834D #4DD483
tetradic
#834DD4 #D44D5B #9ED44D #4DD4C7
square
#834DD4 #D44D5B #9ED44D #4DD4C7
split-complementary
#834DD4 #D4C74D #5BD44D
monochromatic
#492086 #642CB7 #834DD4 #A57EE0 #C8B0EC

Accessibility & contrast

On white

5.28
#834DD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#834DD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #834DD4
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##834DD4#FFFFFF#000000##FFFFFF
##834DD41.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD8
Deuteranopia (green-blind)
#006AD1
Tritanopia (blue-blind)
#706B8A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #834dd4;
/* rgb */ color: rgb(131, 77, 212);
/* oklch */ color: oklch(55.2% 0.198 298.0);
Tailwind
colors: {
  custom: {
    50: '#ad82e2',
    500: '#834dd4',
    950: '#000000',
  },
}
SCSS
$custom: #834dd4;
$custom-light: #ad82e2;
$custom-dark: #000000;
JSON
{
  "hex": "#834dd4",
  "rgb": {
    "r": 131,
    "g": 77,
    "b": 212
  },
  "hsl": {
    "h": 264,
    "s": 61.086,
    "l": 56.667
  },
  "oklch": {
    "l": 0.55186,
    "c": 0.19815,
    "h": 298
  },
  "luminance": 0.14887
}

Semantic roles & 50–950 ramp

primary
#834DD4
secondary
#C4DAA3
accent
#E444A4
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #834DD4

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

Preview Lab → · Contrast checker → · Palette generator →

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