#834DD2#834DD2

#834DD2 is a mid, vivid violet. Relative luminance 0.148; OKLCH L 55.0% C 0.196 H 298.4°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#834DD2
RGBrgb(131, 77, 210)
HSLhsl(264, 60%, 56%)
HSVhsv(264, 63%, 82%)
CMYKcmyk(37.6%, 63.3%, 0%, 17.6%)
CIE-LABlab(45.34, 50.06, -60.52)
CIE-LCHlch(45.34, 78.54, 309.60°)
OKLaboklab(55.04% 0.0931 -0.1723)
OKLCHoklch(55.04% 0.196 298.4)
XYZxyz(23.6439, 14.7859, 62.5685)
Luminance0.1479 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#834DD2 #9CD24D
analogous
#4D5AD2 #834DD2 #C64DD2
triadic
#834DD2 #D2834D #4DD283
tetradic
#834DD2 #D24D5A #9CD24D #4DD2C6
square
#834DD2 #D24D5A #9CD24D #4DD2C6
split-complementary
#834DD2 #D2C64D #5AD24D
monochromatic
#492183 #642EB4 #834DD2 #A57EDE #C7AFEB

Accessibility & contrast

On white

5.31
#834DD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#834DD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #834DD2
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##834DD2#FFFFFF#000000##FFFFFF
##834DD21.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD6
Deuteranopia (green-blind)
#016ACF
Tritanopia (blue-blind)
#716B89
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #834dd2;
/* rgb */ color: rgb(131, 77, 210);
/* oklch */ color: oklch(55.0% 0.196 298.4);
Tailwind
colors: {
  custom: {
    50: '#ac82e1',
    500: '#834dd2',
    950: '#000000',
  },
}
SCSS
$custom: #834dd2;
$custom-light: #ac82e1;
$custom-dark: #000000;
JSON
{
  "hex": "#834dd2",
  "rgb": {
    "r": 131,
    "g": 77,
    "b": 210
  },
  "hsl": {
    "h": 264.361,
    "s": 59.641,
    "l": 56.275
  },
  "oklch": {
    "l": 0.55043,
    "c": 0.19583,
    "h": 298.4
  },
  "luminance": 0.14786
}

Semantic roles & 50–950 ramp

primary
#834DD2
secondary
#C3D9A2
accent
#E345A3
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #834DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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