#834DCD#834DCD

#834DCD is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.7% C 0.190 H 299.5°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#834DCD
RGBrgb(131, 77, 205)
HSLhsl(265, 56%, 55%)
HSVhsv(265, 62%, 80%)
CMYKcmyk(36.1%, 62.4%, 0%, 19.6%)
CIE-LABlab(45.00, 48.79, -58.19)
CIE-LCHlch(45.00, 75.94, 309.98°)
OKLaboklab(54.69% 0.0935 -0.1654)
OKLCHoklch(54.69% 0.19 299.5)
XYZxyz(23.0307, 14.5406, 59.3390)
Luminance0.1454 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#834DCD #97CD4D
analogous
#4D57CD #834DCD #C34DCD
triadic
#834DCD #CD834D #4DCD83
tetradic
#834DCD #CD4D57 #97CD4D #4DCDC3
square
#834DCD #CD4D57 #97CD4D #4DCDC3
split-complementary
#834DCD #CDC34D #57CD4D
monochromatic
#49237D #6530AC #834DCD #A47DDA #C6ADE8

Accessibility & contrast

On white

5.37
#834DCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#834DCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #834DCD
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##834DCD#FFFFFF#000000##FFFFFF
##834DCD1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD1
Deuteranopia (green-blind)
#1669CA
Tritanopia (blue-blind)
#736986
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #834dcd;
/* rgb */ color: rgb(131, 77, 205);
/* oklch */ color: oklch(54.7% 0.190 299.5);
Tailwind
colors: {
  custom: {
    50: '#ac82dd',
    500: '#834dcd',
    950: '#000000',
  },
}
SCSS
$custom: #834dcd;
$custom-light: #ac82dd;
$custom-dark: #000000;
JSON
{
  "hex": "#834dcd",
  "rgb": {
    "r": 131,
    "g": 77,
    "b": 205
  },
  "hsl": {
    "h": 265.313,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.54687,
    "c": 0.19003,
    "h": 299.5
  },
  "luminance": 0.14541
}

Semantic roles & 50–950 ramp

primary
#834DCD
secondary
#BFD6A0
accent
#DF48A0
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #834DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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