#834CD1#834CD1

#834CD1 is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.8% C 0.196 H 298.8°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#834CD1
RGBrgb(131, 76, 209)
HSLhsl(265, 59%, 56%)
HSVhsv(265, 64%, 82%)
CMYKcmyk(37.3%, 63.6%, 0%, 18%)
CIE-LABlab(45.08, 50.33, -60.37)
CIE-LCHlch(45.08, 78.60, 309.82°)
OKLaboklab(54.83% 0.0943 -0.1718)
OKLCHoklch(54.83% 0.196 298.8)
XYZxyz(23.4503, 14.5973, 61.8913)
Luminance0.1460 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#834CD1 #9AD14C
analogous
#4C57D1 #834CD1 #C54CD1
triadic
#834CD1 #D1834C #4CD183
tetradic
#834CD1 #D14C57 #9AD14C #4CD1C5
square
#834CD1 #D14C57 #9AD14C #4CD1C5
split-complementary
#834CD1 #D1C54C #57D14C
monochromatic
#492181 #642EB2 #834CD1 #A57DDE #C6ADEA

Accessibility & contrast

On white

5.36
#834CD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#834CD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #834CD1
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##834CD1#FFFFFF#000000##FFFFFF
##834CD11.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD5
Deuteranopia (green-blind)
#0169CE
Tritanopia (blue-blind)
#716A88
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #834cd1;
/* rgb */ color: rgb(131, 76, 209);
/* oklch */ color: oklch(54.8% 0.196 298.8);
Tailwind
colors: {
  custom: {
    50: '#ac81e0',
    500: '#834cd1',
    950: '#000000',
  },
}
SCSS
$custom: #834cd1;
$custom-light: #ac81e0;
$custom-dark: #000000;
JSON
{
  "hex": "#834cd1",
  "rgb": {
    "r": 131,
    "g": 76,
    "b": 209
  },
  "hsl": {
    "h": 264.812,
    "s": 59.111,
    "l": 55.882
  },
  "oklch": {
    "l": 0.54831,
    "c": 0.19602,
    "h": 298.8
  },
  "luminance": 0.14598
}

Semantic roles & 50–950 ramp

primary
#834CD1
secondary
#C1D8A1
accent
#E246A1
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #834CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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